mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-20 15:48:20 +00:00
29 lines
603 B
Markdown
29 lines
603 B
Markdown
# 快速开始
|
|
|
|
## 安装
|
|
|
|
从源码安装(推荐):
|
|
|
|
```
|
|
git clone https://github.com/modelscope/DiffSynth-Studio.git
|
|
cd DiffSynth-Studio
|
|
pip install -e .
|
|
```
|
|
|
|
<details>
|
|
<summary>其他安装方式</summary>
|
|
|
|
从 pypi 安装(存在版本更新延迟,如需使用最新功能,请从源码安装)
|
|
|
|
```
|
|
pip install diffsynth
|
|
```
|
|
|
|
如果在安装过程中遇到问题,可能是由上游依赖包导致的,请参考这些包的文档:
|
|
|
|
* [torch](https://pytorch.org/get-started/locally/)
|
|
* [sentencepiece](https://github.com/google/sentencepiece)
|
|
* [cmake](https://cmake.org)
|
|
|
|
</details>
|