From d80ef3a67789240bd1fd326784aebcc96cc10bbf Mon Sep 17 00:00:00 2001 From: Raffaele Mancuso Date: Sun, 2 Mar 2025 10:58:42 +0100 Subject: [PATCH 1/3] Sentencepiece requires cmake --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a5fe0e3..5cb4d85 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,8 @@ Until now, DiffSynth Studio has supported the following models: ## Installation +You need to have [cmake](https://cmake.org) installed and in your PATH to successfully install the [sentencepiece](https://github.com/google/sentencepiece) dependency. + Install from source code (recommended): ``` From 076fd85556745182e0d16e726ed3add997bcbc0d Mon Sep 17 00:00:00 2001 From: Artiprocher Date: Mon, 3 Mar 2025 11:10:51 +0800 Subject: [PATCH 2/3] update install guide in README --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5cb4d85..0e17f03 100644 --- a/README.md +++ b/README.md @@ -113,8 +113,6 @@ Until now, DiffSynth Studio has supported the following models: ## Installation -You need to have [cmake](https://cmake.org) installed and in your PATH to successfully install the [sentencepiece](https://github.com/google/sentencepiece) dependency. - Install from source code (recommended): ``` @@ -129,6 +127,13 @@ Or install from pypi (There is a delay in the update. If you want to experience pip install diffsynth ``` +如果您在安装时遇到问题,可能是由我们依赖的包导致的,请根据出问题的包,查阅对应的文档 + +* [torch](https://pytorch.org/get-started/locally/) +* [sentencepiece](https://github.com/google/sentencepiece) +* [cmake](https://cmake.org) +* [cupy](https://docs.cupy.dev/en/stable/install.html) + ## Usage (in Python code) The Python examples are in [`examples`](./examples/). We provide an overview here. From f64c766dcddd3bb9dd44c491e08b589f15965965 Mon Sep 17 00:00:00 2001 From: Artiprocher Date: Mon, 3 Mar 2025 11:24:48 +0800 Subject: [PATCH 3/3] update install guide in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0e17f03..79c435c 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ Or install from pypi (There is a delay in the update. If you want to experience pip install diffsynth ``` -如果您在安装时遇到问题,可能是由我们依赖的包导致的,请根据出问题的包,查阅对应的文档 +If you encounter issues during installation, it may be caused by the packages we depend on. Please refer to the documentation of the package that caused the problem. * [torch](https://pytorch.org/get-started/locally/) * [sentencepiece](https://github.com/google/sentencepiece)