mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-15 21:26:51 +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..."
|
||||
DownloadAndUnzip $UVR5_URL "tools\uvr5"
|
||||
|
||||
Write-Host "[INFO] Downloading funasr..."
|
||||
$funasrUrl = "https://huggingface.co/XXXXRT/GPT-SoVITS-Pretrained/resolve/main/funasr.zip"
|
||||
$funasrZip = "$tmpDir\funasr.zip"
|
||||
Invoke-WebRequest -Uri $funasrUrl -OutFile $funasrZip
|
||||
Expand-Archive -Path $funasrZip -DestinationPath "$srcDir\tools\asr\models" -Force
|
||||
Remove-Item $funasrZip
|
||||
# Write-Host "[INFO] Downloading funasr..."
|
||||
# $funasrUrl = "https://huggingface.co/XXXXRT/GPT-SoVITS-Pretrained/resolve/main/funasr.zip"
|
||||
# $funasrZip = "$tmpDir\funasr.zip"
|
||||
# Invoke-WebRequest -Uri $funasrUrl -OutFile $funasrZip
|
||||
# Expand-Archive -Path $funasrZip -DestinationPath "$srcDir\tools\asr\models" -Force
|
||||
# Remove-Item $funasrZip
|
||||
|
||||
Write-Host "[INFO] Download ffmpeg..."
|
||||
$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_conda_quiet cuda-nvcc=12.6
|
||||
fi
|
||||
echo -e "${INFO}Installing Flash Attn"
|
||||
run_pip_quiet psutil ninja packaging wheel "setuptools>=42"
|
||||
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
|
||||
echo -e "${INFO}Installing MLX & PyTorch For MPS..."
|
||||
run_pip_quiet torch torchaudio --index-url "https://download.pytorch.org/whl/cpu"
|
||||
|
Loading…
x
Reference in New Issue
Block a user