Update Windows acceleration requirements: add resampy and constrain setuptools

This commit is contained in:
RVC-Boss 2026-10-05 22:38:53 +08:00
parent 639f143a2c
commit 4c2a88fc0e
9 changed files with 130 additions and 52 deletions

View File

@ -368,6 +368,20 @@ Use v2Pro from v1/v2/v3/v4 environment:
3. Download v2Pro pretrained models (v2Pro/s2Dv2Pro.pth, v2Pro/s2Gv2Pro.pth, v2Pro/s2Dv2ProPlus.pth, v2Pro/s2Gv2ProPlus.pth, and sv/pretrained_eres2netv2w24s4ep4.ckpt) from [huggingface](https://huggingface.co/lj1995/GPT-SoVITS/tree/main) and put them into `GPT_SoVITS/pretrained_models`.
## V5 Release Notes
New Features:
1. Significantly improved voice similarity without SoVITS fine-tuning.
2. An updated vocoder significantly reduces high-frequency spectral mirroring and aliasing artifacts.
Upgrading from V2Pro to V5:
1. Clone the latest code from [GitHub](https://github.com/RVC-Boss/GPT-SoVITS/tree/cuda_graph_accel_v5).
2. Download the V5 pretrained models from [Hugging Face](https://huggingface.co/lj1995/GPT-SoVITS/tree/main/gsv-v5-pretrained) and place them in `GPT_SoVITS/pretrained_models`, preserving the `gsv-v5-pretrained` subdirectory so the model directory is `GPT_SoVITS/pretrained_models/gsv-v5-pretrained`.
## Todo List
- [x] **High Priority:**

View File

@ -354,6 +354,20 @@ python webui.py
3. 从 [huggingface](https://huggingface.co/lj1995/GPT-SoVITS/tree/main) 下载 V2Pro 预训练模型 (`v2Pro/s2Dv2Pro.pth`, `v2Pro/s2Gv2Pro.pth`, `v2Pro/s2Dv2ProPlus.pth`, `v2Pro/s2Gv2ProPlus.pth`, 和 `sv/pretrained_eres2netv2w24s4ep4.ckpt`), 并放入 `GPT_SoVITS/pretrained_models` 目录.
## V5 更新说明
新特性:
1. 大幅提升无需 SoVITS 微调训练时的音色相似度.
2. 更新新版 vocoder, 大幅降低高频镜像混叠伪影.
从 V2Pro 更新到 V5:
1. 从 [GitHub](https://github.com/RVC-Boss/GPT-SoVITS/tree/cuda_graph_accel_v5) 克隆最新代码.
2. 从 [Hugging Face](https://huggingface.co/lj1995/GPT-SoVITS/tree/main/gsv-v5-pretrained) 下载 V5 预训练模型, 并放入 `GPT_SoVITS/pretrained_models` 目录, 保留 `gsv-v5-pretrained` 子目录结构, 即模型目录为 `GPT_SoVITS/pretrained_models/gsv-v5-pretrained`.
## 待办事项清单
- [x] **高优先级:**

View File

@ -340,6 +340,20 @@ V1/V2/V3/V4 環境から V2Pro への移行方法:
3. [huggingface](https://huggingface.co/lj1995/GPT-SoVITS/tree/main) から V2Pro の事前学習済みモデル (`v2Pro/s2Dv2Pro.pth`, `v2Pro/s2Gv2Pro.pth`, `v2Pro/s2Dv2ProPlus.pth`, `v2Pro/s2Gv2ProPlus.pth`, および `sv/pretrained_eres2netv2w24s4ep4.ckpt`) をダウンロードし、`GPT_SoVITS/pretrained_models` ディレクトリへ配置してください.
## V5 リリースノート
新機能:
1. SoVITS のファインチューニングを行わなくても、声質の類似度が大幅に向上します.
2. 新しい vocoder により、高周波のスペクトルミラーリングおよびエイリアシングのアーティファクトを大幅に低減します.
V2Pro から V5 へのアップデート方法:
1. [GitHub](https://github.com/RVC-Boss/GPT-SoVITS/tree/cuda_graph_accel_v5) から最新のコードをクローンします.
2. [Hugging Face](https://huggingface.co/lj1995/GPT-SoVITS/tree/main/gsv-v5-pretrained) から V5 の事前学習済みモデルをダウンロードし、`gsv-v5-pretrained` サブディレクトリを保持したまま `GPT_SoVITS/pretrained_models` に配置してください. モデルの配置先は `GPT_SoVITS/pretrained_models/gsv-v5-pretrained` です.
## Todo リスト
- [x] **優先度 高:**

View File

@ -346,6 +346,20 @@ V1/V2/V3/V4 환경에서 V2Pro로 전환 방법:
3. [huggingface](https://huggingface.co/lj1995/GPT-SoVITS/tree/main)에서 V2Pro 사전 학습 모델(`v2Pro/s2Dv2Pro.pth`, `v2Pro/s2Gv2Pro.pth`, `v2Pro/s2Dv2ProPlus.pth`, `v2Pro/s2Gv2ProPlus.pth`, 및 `sv/pretrained_eres2netv2w24s4ep4.ckpt`)을 다운로드하고 `GPT_SoVITS/pretrained_models` 디렉토리에 넣으세요.
## V5 릴리스 노트
신규 기능:
1. SoVITS 미세 조정 없이도 음색 유사도가 크게 향상됩니다.
2. 새로운 vocoder로 고주파 스펙트럼 미러링 및 앨리어싱 아티팩트를 크게 줄입니다.
V2Pro에서 V5로 업데이트하는 방법:
1. [GitHub](https://github.com/RVC-Boss/GPT-SoVITS/tree/cuda_graph_accel_v5)에서 최신 코드를 클론하세요.
2. [Hugging Face](https://huggingface.co/lj1995/GPT-SoVITS/tree/main/gsv-v5-pretrained)에서 V5 사전 학습 모델을 다운로드하고 `gsv-v5-pretrained` 하위 디렉토리 구조를 유지한 채 `GPT_SoVITS/pretrained_models`에 넣으세요. 모델 디렉토리는 `GPT_SoVITS/pretrained_models/gsv-v5-pretrained`입니다.
## 할 일 목록
- [x] **최우선순위:**

View File

@ -347,6 +347,20 @@ V1/V2/V3/V4 ortamından V2Pro'ya geçiş:
3. [huggingface](https://huggingface.co/lj1995/GPT-SoVITS/tree/main) üzerinden V2Pro ön eğitilmiş modelleri indirin (`v2Pro/s2Dv2Pro.pth`, `v2Pro/s2Gv2Pro.pth`, `v2Pro/s2Dv2ProPlus.pth`, `v2Pro/s2Gv2ProPlus.pth`, ve `sv/pretrained_eres2netv2w24s4ep4.ckpt`) ve bunları `GPT_SoVITS/pretrained_models` dizinine koyun.
## V5 Sürüm Notları
Yeni Özellikler:
1. SoVITS ince ayar eğitimi olmadan ses benzerliği önemli ölçüde iyileştirildi.
2. Yeni vocoder, yüksek frekanslı spektral aynalama ve aliasing artefaktlarını önemli ölçüde azaltır.
V2Pro'dan V5'e geçiş:
1. [GitHub](https://github.com/RVC-Boss/GPT-SoVITS/tree/cuda_graph_accel_v5) üzerinden en son kodları klonlayın.
2. V5 ön eğitilmiş modellerini [Hugging Face](https://huggingface.co/lj1995/GPT-SoVITS/tree/main/gsv-v5-pretrained) üzerinden indirin ve `gsv-v5-pretrained` alt dizin yapısını koruyarak `GPT_SoVITS/pretrained_models` dizinine koyun. Model dizini `GPT_SoVITS/pretrained_models/gsv-v5-pretrained` olmalıdır.
## Yapılacaklar Listesi
- [x] **Yüksek Öncelikli:**

View File

@ -1,24 +1,26 @@
# GPT-SoVITS: Windows x64 / CPython 3.12 / PyTorch 2.7.1
# CUDA: cu118; wheel source: ModelScope
# This is a Windows-only installation list, not a Linux CUDA recipe.
# Both application package variants use this same file for the chosen CUDA version.
# Step 1: install the matching Torch pair with the project interpreter:
# runtime\python.exe -I -m pip --isolated install torch==2.7.1+cu118 torchaudio==2.7.1+cu118 --index-url https://mirrors.nju.edu.cn/pytorch/whl/cu118
# Step 2: install this dependency list (no extra-req.txt or local wheels needed):
# runtime\python.exe -I -m pip --isolated install -r requirements_py312_win_cu118_china.txt
# Existing packages are not automatically downgraded to the original tested runtime.
# Network wheel links are explicit, not --find-links candidates.
--index-url https://mirrors.pku.edu.cn/pypi/simple
# Prebuilt FlashAttention for Windows CPython 3.12 / Torch 2.7.
flash-attn @ https://modelscope.cn/models/FlowerCry/gpt-sovits-7z-pacakges/resolve/master/wheels/cu118/flash_attn-2.8.3%2Bcu12torch2.7cxx11abiFALSE-cp312-cp312-win_amd64.whl
# GPT-SoVITS: Windows x64 / CPython 3.12 / PyTorch 2.7.1
# CUDA: cu118; wheel source: ModelScope
# This is a Windows-only installation list, not a Linux CUDA recipe.
# Both application package variants use this same file for the chosen CUDA version.
# Step 1: install the matching Torch pair with the project interpreter:
# runtime\python.exe -I -m pip --isolated install torch==2.7.1+cu118 torchaudio==2.7.1+cu118 --index-url https://mirrors.nju.edu.cn/pytorch/whl/cu118
# Step 2: install this dependency list (no extra-req.txt or local wheels needed):
# runtime\python.exe -I -m pip --isolated install -r requirements_py312_win_cu118_china.txt
# Existing packages are not automatically downgraded to the original tested runtime.
# Network wheel links are explicit, not --find-links candidates.
--index-url https://mirrors.pku.edu.cn/pypi/simple
# Prebuilt FlashAttention for Windows CPython 3.12 / Torch 2.7.
flash-attn @ https://modelscope.cn/models/FlowerCry/gpt-sovits-7z-pacakges/resolve/master/wheels/cu118/flash_attn-2.8.3%2Bcu12torch2.7cxx11abiFALSE-cp312-cp312-win_amd64.whl
# Numerical, audio, training and WebUI stack.
numpy>=1.26.4,<2.0
scipy>=1.12,<2
tensorboard>=2.16,<3
librosa>=0.10.2,<0.11
resampy>=0.4.2,<0.5
numba>=0.59,<1
setuptools>=80,<81
pytorch-lightning>=2.4,<3
gradio>=4.44.1,<5
ffmpeg-python>=0.2,<1
@ -30,20 +32,20 @@ einops>=0.8,<1
opencv-python-headless>=4.10,<4.12
requests>=2.32,<3
# Metadata-only onnxruntime wheel delegates to the matching GPU package.
onnxruntime @ https://modelscope.cn/models/FlowerCry/gpt-sovits-7z-pacakges/resolve/master/wheels/cu118/onnxruntime-1.18.0-py3-none-any.whl
onnxruntime-gpu==1.18.0
# Metadata-only onnxruntime wheel delegates to the matching GPU package.
onnxruntime @ https://modelscope.cn/models/FlowerCry/gpt-sovits-7z-pacakges/resolve/master/wheels/cu118/onnxruntime-1.18.0-py3-none-any.whl
onnxruntime-gpu==1.18.0
nvidia-cudnn-cu11>=8.9.5,<9; sys_platform == "win32"
nvidia-cublas-cu11>=11.11,<12; sys_platform == "win32"
nvidia-cuda-runtime-cu11>=11.8,<12; sys_platform == "win32"
nvidia-cuda-nvrtc-cu11>=11.8,<12; sys_platform == "win32"
nvidia-cufft-cu11>=10.9,<11; sys_platform == "win32"
# Patched Faster-Whisper metadata accepts CT2 3.24 for CUDA 11.
# The custom CT2 wheel uses cuDNN 8 DLLs from nvidia-cudnn-cu11.
faster-whisper @ https://modelscope.cn/models/FlowerCry/gpt-sovits-7z-pacakges/resolve/master/wheels/cu118/faster_whisper-1.2.1-py3-none-any.whl
ctranslate2 @ https://modelscope.cn/models/FlowerCry/gpt-sovits-7z-pacakges/resolve/master/wheels/cu118/ctranslate2-3.24.0-cp312-cp312-win_amd64.whl
# Patched Faster-Whisper metadata accepts CT2 3.24 for CUDA 11.
# The custom CT2 wheel uses cuDNN 8 DLLs from nvidia-cudnn-cu11.
faster-whisper @ https://modelscope.cn/models/FlowerCry/gpt-sovits-7z-pacakges/resolve/master/wheels/cu118/faster_whisper-1.2.1-py3-none-any.whl
ctranslate2 @ https://modelscope.cn/models/FlowerCry/gpt-sovits-7z-pacakges/resolve/master/wheels/cu118/ctranslate2-3.24.0-cp312-cp312-win_amd64.whl
setuptools>=80,<81
av>=16.1,<17
huggingface-hub>=0.36.2,<1
@ -72,14 +74,14 @@ oss2>=2.19.1,<3
# Language, text and model helpers.
cn2an>=0.5.22,<1
pypinyin>=0.53,<1
pyopenjtalk @ https://modelscope.cn/models/FlowerCry/gpt-sovits-7z-pacakges/resolve/master/wheels/cu118/pyopenjtalk-0.4.1-cp312-cp312-win_amd64.whl
pyopenjtalk @ https://modelscope.cn/models/FlowerCry/gpt-sovits-7z-pacakges/resolve/master/wheels/cu118/pyopenjtalk-0.4.1-cp312-cp312-win_amd64.whl
g2p_en>=2.1,<3
sentencepiece>=0.2,<1
peft>=0.14,<0.18
chardet>=5,<6
PyYAML>=6,<7
psutil>=6,<8
jieba-fast @ https://modelscope.cn/models/FlowerCry/gpt-sovits-7z-pacakges/resolve/master/wheels/cu118/jieba_fast-0.53-cp312-cp312-win_amd64.whl
jieba-fast @ https://modelscope.cn/models/FlowerCry/gpt-sovits-7z-pacakges/resolve/master/wheels/cu118/jieba_fast-0.53-cp312-cp312-win_amd64.whl
jieba>=0.42.1,<1
split-lang>=2,<3
fast_langdetect>=0.3.1,<1

View File

@ -1,24 +1,26 @@
# GPT-SoVITS: Windows x64 / CPython 3.12 / PyTorch 2.7.1
# CUDA: cu118; wheel source: Hugging Face
# This is a Windows-only installation list, not a Linux CUDA recipe.
# Both application package variants use this same file for the chosen CUDA version.
# Step 1: install the matching Torch pair with the project interpreter:
# runtime\python.exe -I -m pip --isolated install torch==2.7.1+cu118 torchaudio==2.7.1+cu118 --index-url https://download.pytorch.org/whl/cu118
# Step 2: install this dependency list (no extra-req.txt or local wheels needed):
# runtime\python.exe -I -m pip --isolated install -r requirements_py312_win_cu118_overseas.txt
# Existing packages are not automatically downgraded to the original tested runtime.
# Network wheel links are explicit, not --find-links candidates.
--index-url https://pypi.org/simple
# Prebuilt FlashAttention for Windows CPython 3.12 / Torch 2.7.
flash-attn @ https://huggingface.co/lj1995/GPT-SoVITS-windows-package/resolve/main/wheels/cu118/flash_attn-2.8.3%2Bcu12torch2.7cxx11abiFALSE-cp312-cp312-win_amd64.whl
# GPT-SoVITS: Windows x64 / CPython 3.12 / PyTorch 2.7.1
# CUDA: cu118; wheel source: Hugging Face
# This is a Windows-only installation list, not a Linux CUDA recipe.
# Both application package variants use this same file for the chosen CUDA version.
# Step 1: install the matching Torch pair with the project interpreter:
# runtime\python.exe -I -m pip --isolated install torch==2.7.1+cu118 torchaudio==2.7.1+cu118 --index-url https://download.pytorch.org/whl/cu118
# Step 2: install this dependency list (no extra-req.txt or local wheels needed):
# runtime\python.exe -I -m pip --isolated install -r requirements_py312_win_cu118_overseas.txt
# Existing packages are not automatically downgraded to the original tested runtime.
# Network wheel links are explicit, not --find-links candidates.
--index-url https://pypi.org/simple
# Prebuilt FlashAttention for Windows CPython 3.12 / Torch 2.7.
flash-attn @ https://huggingface.co/lj1995/GPT-SoVITS-windows-package/resolve/main/wheels/cu118/flash_attn-2.8.3%2Bcu12torch2.7cxx11abiFALSE-cp312-cp312-win_amd64.whl
# Numerical, audio, training and WebUI stack.
numpy>=1.26.4,<2.0
scipy>=1.12,<2
tensorboard>=2.16,<3
librosa>=0.10.2,<0.11
resampy>=0.4.2,<0.5
numba>=0.59,<1
setuptools>=80,<81
pytorch-lightning>=2.4,<3
gradio>=4.44.1,<5
ffmpeg-python>=0.2,<1
@ -30,20 +32,20 @@ einops>=0.8,<1
opencv-python-headless>=4.10,<4.12
requests>=2.32,<3
# Metadata-only onnxruntime wheel delegates to the matching GPU package.
onnxruntime @ https://huggingface.co/lj1995/GPT-SoVITS-windows-package/resolve/main/wheels/cu118/onnxruntime-1.18.0-py3-none-any.whl
onnxruntime-gpu==1.18.0
# Metadata-only onnxruntime wheel delegates to the matching GPU package.
onnxruntime @ https://huggingface.co/lj1995/GPT-SoVITS-windows-package/resolve/main/wheels/cu118/onnxruntime-1.18.0-py3-none-any.whl
onnxruntime-gpu==1.18.0
nvidia-cudnn-cu11>=8.9.5,<9; sys_platform == "win32"
nvidia-cublas-cu11>=11.11,<12; sys_platform == "win32"
nvidia-cuda-runtime-cu11>=11.8,<12; sys_platform == "win32"
nvidia-cuda-nvrtc-cu11>=11.8,<12; sys_platform == "win32"
nvidia-cufft-cu11>=10.9,<11; sys_platform == "win32"
# Patched Faster-Whisper metadata accepts CT2 3.24 for CUDA 11.
# The custom CT2 wheel uses cuDNN 8 DLLs from nvidia-cudnn-cu11.
faster-whisper @ https://huggingface.co/lj1995/GPT-SoVITS-windows-package/resolve/main/wheels/cu118/faster_whisper-1.2.1-py3-none-any.whl
ctranslate2 @ https://huggingface.co/lj1995/GPT-SoVITS-windows-package/resolve/main/wheels/cu118/ctranslate2-3.24.0-cp312-cp312-win_amd64.whl
# Patched Faster-Whisper metadata accepts CT2 3.24 for CUDA 11.
# The custom CT2 wheel uses cuDNN 8 DLLs from nvidia-cudnn-cu11.
faster-whisper @ https://huggingface.co/lj1995/GPT-SoVITS-windows-package/resolve/main/wheels/cu118/faster_whisper-1.2.1-py3-none-any.whl
ctranslate2 @ https://huggingface.co/lj1995/GPT-SoVITS-windows-package/resolve/main/wheels/cu118/ctranslate2-3.24.0-cp312-cp312-win_amd64.whl
setuptools>=80,<81
av>=16.1,<17
huggingface-hub>=0.36.2,<1
@ -72,14 +74,14 @@ oss2>=2.19.1,<3
# Language, text and model helpers.
cn2an>=0.5.22,<1
pypinyin>=0.53,<1
pyopenjtalk @ https://huggingface.co/lj1995/GPT-SoVITS-windows-package/resolve/main/wheels/cu118/pyopenjtalk-0.4.1-cp312-cp312-win_amd64.whl
pyopenjtalk @ https://huggingface.co/lj1995/GPT-SoVITS-windows-package/resolve/main/wheels/cu118/pyopenjtalk-0.4.1-cp312-cp312-win_amd64.whl
g2p_en>=2.1,<3
sentencepiece>=0.2,<1
peft>=0.14,<0.18
chardet>=5,<6
PyYAML>=6,<7
psutil>=6,<8
jieba-fast @ https://huggingface.co/lj1995/GPT-SoVITS-windows-package/resolve/main/wheels/cu118/jieba_fast-0.53-cp312-cp312-win_amd64.whl
jieba-fast @ https://huggingface.co/lj1995/GPT-SoVITS-windows-package/resolve/main/wheels/cu118/jieba_fast-0.53-cp312-cp312-win_amd64.whl
jieba>=0.42.1,<1
split-lang>=2,<3
fast_langdetect>=0.3.1,<1

View File

@ -18,7 +18,9 @@ numpy>=1.26.4,<2.0
scipy>=1.12,<2
tensorboard>=2.16,<3
librosa>=0.10.2,<0.11
resampy>=0.4.2,<0.5
numba>=0.59,<1
setuptools>=80,<81
pytorch-lightning>=2.4,<3
gradio>=4.44.1,<5
ffmpeg-python>=0.2,<1
@ -37,7 +39,7 @@ onnxruntime-gpu==1.19.2
# Official Faster-Whisper with CT2 4.x; CUDA DLLs are supplied by torch cu128.
faster-whisper>=1.2.1,<1.3
ctranslate2>=4.8,<5
setuptools>=80,<83
setuptools>=80,<81
av>=16.1,<17
huggingface-hub>=0.36.2,<1
tokenizers>=0.21.4,<1

View File

@ -18,7 +18,9 @@ numpy>=1.26.4,<2.0
scipy>=1.12,<2
tensorboard>=2.16,<3
librosa>=0.10.2,<0.11
resampy>=0.4.2,<0.5
numba>=0.59,<1
setuptools>=80,<81
pytorch-lightning>=2.4,<3
gradio>=4.44.1,<5
ffmpeg-python>=0.2,<1
@ -37,7 +39,7 @@ onnxruntime-gpu==1.19.2
# Official Faster-Whisper with CT2 4.x; CUDA DLLs are supplied by torch cu128.
faster-whisper>=1.2.1,<1.3
ctranslate2>=4.8,<5
setuptools>=80,<83
setuptools>=80,<81
av>=16.1,<17
huggingface-hub>=0.36.2,<1
tokenizers>=0.21.4,<1