|
Download docs/zh/Pipeline_Usage/Setup.md from PencilHu/PencilFolder: direct link, hf CLI and curl.
- Browser
- Download file 531 Bytes
-
https://huggingface.co/PencilHu/PencilFolder/resolve/main/docs/zh/Pipeline_Usage/Setup.md
- Command line
-
hf download hf://PencilHu/PencilFolder/docs/zh/Pipeline_Usage/Setup.md
-
curl -L -o Setup.md https://huggingface.co/PencilHu/PencilFolder/resolve/main/docs/zh/Pipeline_Usage/Setup.md
531 Bytes
| # 安装依赖 | |
| 从源码安装(推荐): | |
| ``` | |
| 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) | |