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