diff --git a/.github/build_windows_packages.ps1 b/.github/build_windows_packages.ps1 index 8cb5a31a..375d9b26 100644 --- a/.github/build_windows_packages.ps1 +++ b/.github/build_windows_packages.ps1 @@ -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" diff --git a/install.sh b/install.sh index 96214d41..a5cce698 100644 --- a/install.sh +++ b/install.sh @@ -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"