File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -84,12 +84,14 @@ jobs:
8484 - name : Install CUDA 12.4.0 (powershell)
8585 shell : powershell
8686 run : |
87- curl -L -o cuda.exe `
88- https://developer.download.nvidia.com/compute/cuda/12.4.0/network_installers/cuda_12.4.0_windows_network.exe
89- Start-Process -Wait -FilePath .\cuda.exe -ArgumentList `
90- "-s nvcc_12.4 cudart_12.4 cuobjdump_12.4 nvprune_12.4"
91- echo "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\bin" >> $env:GITHUB_PATH
92- echo "CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4" >> $env:GITHUB_ENV
87+ # PowerShell 7 syntax; works on GHA windows-2022
88+ Invoke-WebRequest -Uri `
89+ "https://developer.download.nvidia.com/compute/cuda/12.4.0/network_installers/cuda_12.4.0_windows_network.exe" `
90+ -OutFile cuda.exe
91+ Start-Process -Wait -FilePath .\cuda.exe -ArgumentList `
92+ "-s nvcc_12.4 cudart_12.4"
93+ echo "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
94+ echo "CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
9395
9496 - name : Check CUDA install
9597 run : |
You can’t perform that action at this time.
0 commit comments