From 1785e815090c508d1e5291141b30d4b2dd8a502a Mon Sep 17 00:00:00 2001 From: tuna2134 Date: Thu, 23 Jul 2026 15:59:17 +0900 Subject: [PATCH] fix --- README.md | 2 +- pyproject.toml | 2 +- requirements-colab.txt | 2 +- requirements-infer.txt | 6 +++--- requirements.txt | 6 +++--- scripts/Install-Style-Bert-VITS2.bat | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index a58165f..ba4918c 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ git clone https://github.com/litagin02/Style-Bert-VITS2.git cd Style-Bert-VITS2 uv venv --python 3.12 venv venv\Scripts\activate -uv pip install "torch>=2.7,<2.8" "torchaudio>=2.7,<2.8" --index-url https://download.pytorch.org/whl/cu118 +uv pip install "torch>=2.8,<2.9" "torchaudio>=2.8,<2.9" --index-url https://download.pytorch.org/whl/cu126 uv pip install -r requirements.txt python initialize.py # 必要なモデルとデフォルトTTSモデルをダウンロード ``` diff --git a/pyproject.toml b/pyproject.toml index 860ba79..250bada 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,7 @@ dependencies = [ [project.optional-dependencies] torch = [ "accelerate", - "torch>=2.7,<2.8", + "torch>=2.8,<2.9", ] [project.urls] diff --git a/requirements-colab.txt b/requirements-colab.txt index 388c177..f6e1f16 100644 --- a/requirements-colab.txt +++ b/requirements-colab.txt @@ -14,7 +14,7 @@ onnxconverter-common onnxruntime onnxruntime-gpu onnxsim-prebuilt -pyannote.audio>=3.1.0 +pyannote.audio>=4,<5 pyloudnorm pyopenjtalk-plus pypinyin diff --git a/requirements-infer.txt b/requirements-infer.txt index ecfd754..eaae793 100644 --- a/requirements-infer.txt +++ b/requirements-infer.txt @@ -20,14 +20,14 @@ onnxsim-prebuilt # protobuf>=5,<7 psutil # punctuators -pyannote.audio>=3.1.0 +pyannote.audio>=4,<5 # pyloudnorm pyopenjtalk-plus pypinyin pyworld-prebuilt # stable_ts # tensorboard -torch>=2.7,<2.8 -torchaudio>=2.7,<2.8 +torch>=2.8,<2.9 +torchaudio>=2.8,<2.9 transformers umap-learn diff --git a/requirements.txt b/requirements.txt index c0690aa..385fd22 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,14 +20,14 @@ onnxsim-prebuilt protobuf>=5,<7 psutil punctuators -pyannote.audio>=3.1.0 +pyannote.audio>=4,<5 pyloudnorm pyopenjtalk-plus pypinyin pyworld-prebuilt stable_ts tensorboard -torch>=2.7,<2.8 -torchaudio>=2.7,<2.8 +torch>=2.8,<2.9 +torchaudio>=2.8,<2.9 transformers umap-learn diff --git a/scripts/Install-Style-Bert-VITS2.bat b/scripts/Install-Style-Bert-VITS2.bat index fedd2a8..0b443b5 100644 --- a/scripts/Install-Style-Bert-VITS2.bat +++ b/scripts/Install-Style-Bert-VITS2.bat @@ -110,8 +110,8 @@ if !errorlevel! neq 0 ( pause & popd & exit /b !errorlevel! ) echo -------------------------------------------------- echo Installing PyTorch... echo -------------------------------------------------- -echo Executing: uv pip install "torch>=2.7,<2.8" "torchaudio>=2.7,<2.8" --index-url https://download.pytorch.org/whl/cu118 -uv pip install "torch>=2.7,<2.8" "torchaudio>=2.7,<2.8" --index-url https://download.pytorch.org/whl/cu118 +echo Executing: uv pip install "torch>=2.8,<2.9" "torchaudio>=2.8,<2.9" --index-url https://download.pytorch.org/whl/cu126 +uv pip install "torch>=2.8,<2.9" "torchaudio>=2.8,<2.9" --index-url https://download.pytorch.org/whl/cu126 if !errorlevel! neq 0 ( pause & popd & exit /b !errorlevel! ) echo --------------------------------------------------