mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-08-17 06:59:46 +08:00
WIP
This commit is contained in:
parent
3b07993962
commit
d21a853e74
4
.github/build_windows_packages.ps1
vendored
4
.github/build_windows_packages.ps1
vendored
@ -61,10 +61,12 @@ Write-Host "[INFO] Downloading Python..."
|
|||||||
$pyUrl = "https://github.com/astral-sh/python-build-standalone/releases/download/20250409/cpython-3.11.12+20250409-x86_64-pc-windows-msvc-pgo-full.tar.zst"
|
$pyUrl = "https://github.com/astral-sh/python-build-standalone/releases/download/20250409/cpython-3.11.12+20250409-x86_64-pc-windows-msvc-pgo-full.tar.zst"
|
||||||
$zst = "$tmpDir\python.tar.zst"
|
$zst = "$tmpDir\python.tar.zst"
|
||||||
Invoke-WebRequest $pyUrl -OutFile $zst
|
Invoke-WebRequest $pyUrl -OutFile $zst
|
||||||
|
Get-ChildItem
|
||||||
|
Get-ChildItem $tmpDir
|
||||||
& "C:\Program Files\7-Zip\7z.exe" e $zst -o$tmpDir -aoa | Out-Null
|
& "C:\Program Files\7-Zip\7z.exe" e $zst -o$tmpDir -aoa | Out-Null
|
||||||
$tar = Get-ChildItem "$tmpDir" -Filter "*.tar" | Select-Object -First 1
|
$tar = Get-ChildItem "$tmpDir" -Filter "*.tar" | Select-Object -First 1
|
||||||
& "C:\Program Files\7-Zip\7z.exe" x $tar.FullName -o$tmpDir\extracted -aoa | Out-Null
|
& "C:\Program Files\7-Zip\7z.exe" x $tar.FullName -o$tmpDir\extracted -aoa | Out-Null
|
||||||
Move-Item "$tmpDir\extracted\install" "$srcDir\runtime"
|
Move-Item "$tmpDir\extracted\python\install" "$srcDir\runtime"
|
||||||
|
|
||||||
Write-Host "[INFO] Installing PyTorch..."
|
Write-Host "[INFO] Installing PyTorch..."
|
||||||
$torchCmd = switch ($cuda) {
|
$torchCmd = switch ($cuda) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user