mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-16 05:36:34 +08:00
.
This commit is contained in:
parent
71cce2c973
commit
60c205ab66
12
.github/build_windows_packages.ps1
vendored
12
.github/build_windows_packages.ps1
vendored
@ -117,12 +117,12 @@ DownloadAndUnzip $G2PW_URL "GPT_SoVITS\text"
|
|||||||
Write-Host "[INFO] Download UVR5 model..."
|
Write-Host "[INFO] Download UVR5 model..."
|
||||||
DownloadAndUnzip $UVR5_URL "tools\uvr5"
|
DownloadAndUnzip $UVR5_URL "tools\uvr5"
|
||||||
|
|
||||||
Write-Host "[INFO] Downloading funasr..."
|
# Write-Host "[INFO] Downloading funasr..."
|
||||||
$funasrUrl = "https://huggingface.co/XXXXRT/GPT-SoVITS-Pretrained/resolve/main/funasr.zip"
|
# $funasrUrl = "https://huggingface.co/XXXXRT/GPT-SoVITS-Pretrained/resolve/main/funasr.zip"
|
||||||
$funasrZip = "$tmpDir\funasr.zip"
|
# $funasrZip = "$tmpDir\funasr.zip"
|
||||||
Invoke-WebRequest -Uri $funasrUrl -OutFile $funasrZip
|
# Invoke-WebRequest -Uri $funasrUrl -OutFile $funasrZip
|
||||||
Expand-Archive -Path $funasrZip -DestinationPath "$srcDir\tools\asr\models" -Force
|
# Expand-Archive -Path $funasrZip -DestinationPath "$srcDir\tools\asr\models" -Force
|
||||||
Remove-Item $funasrZip
|
# Remove-Item $funasrZip
|
||||||
|
|
||||||
Write-Host "[INFO] Download ffmpeg..."
|
Write-Host "[INFO] Download ffmpeg..."
|
||||||
$ffUrl = "https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip"
|
$ffUrl = "https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip"
|
||||||
|
@ -344,8 +344,10 @@ if [ "$USE_CUDA" = true ] && [ "$WORKFLOW" = false ]; then
|
|||||||
run_pip_quiet torch torchaudio --index-url "https://download.pytorch.org/whl/cu126"
|
run_pip_quiet torch torchaudio --index-url "https://download.pytorch.org/whl/cu126"
|
||||||
run_conda_quiet cuda-nvcc=12.6
|
run_conda_quiet cuda-nvcc=12.6
|
||||||
fi
|
fi
|
||||||
|
echo -e "${INFO}Installing Flash Attn"
|
||||||
run_pip_quiet psutil ninja packaging wheel "setuptools>=42"
|
run_pip_quiet psutil ninja packaging wheel "setuptools>=42"
|
||||||
run_pip_quiet flash-attn -i https://xxxxrt666.github.io/PIP-Index/ --no-build-isolation
|
run_pip_quiet flash-attn -i https://xxxxrt666.github.io/PIP-Index/ --no-build-isolation
|
||||||
|
echo -e "${SUCCESS}Flash Attn Installed"
|
||||||
elif [ "$USE_MLX" = true ] && [ "$WORKFLOW" = false ]; then
|
elif [ "$USE_MLX" = true ] && [ "$WORKFLOW" = false ]; then
|
||||||
echo -e "${INFO}Installing MLX & PyTorch For MPS..."
|
echo -e "${INFO}Installing MLX & PyTorch For MPS..."
|
||||||
run_pip_quiet torch torchaudio --index-url "https://download.pytorch.org/whl/cpu"
|
run_pip_quiet torch torchaudio --index-url "https://download.pytorch.org/whl/cpu"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user