From d21a853e74ca9db2e871fb646a82e6ff4414d038 Mon Sep 17 00:00:00 2001 From: XXXXRT666 <157766680+XXXXRT666@users.noreply.github.com> Date: Mon, 12 May 2025 18:04:18 +0100 Subject: [PATCH] WIP --- .github/build_windows_packages.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/build_windows_packages.ps1 b/.github/build_windows_packages.ps1 index eaa6eca1..d8abf347 100644 --- a/.github/build_windows_packages.ps1 +++ b/.github/build_windows_packages.ps1 @@ -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" $zst = "$tmpDir\python.tar.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 $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 -Move-Item "$tmpDir\extracted\install" "$srcDir\runtime" +Move-Item "$tmpDir\extracted\python\install" "$srcDir\runtime" Write-Host "[INFO] Installing PyTorch..." $torchCmd = switch ($cuda) {