diff --git a/.github/workflows/cuda/Windows-env.sh b/.github/workflows/cuda/Windows-env.sh deleted file mode 100644 index d1a8bf4..0000000 --- a/.github/workflows/cuda/Windows-env.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash - -# Took from https://github.com/pyg-team/pyg-lib/ - -case ${1} in - cu121) - CUDA_HOME="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1" - PATH=${CUDA_HOME}/bin:$PATH - PATH="C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin" - TORCH_CUDA_ARCH_LIST="7.0;7.5" - ;; - cu118) - CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.8 - PATH=${CUDA_HOME}/bin:$PATH - PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH - TORCH_CUDA_ARCH_LIST="7.0;7.5" - ;; - cu117) - CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.7 - PATH=${CUDA_HOME}/bin:$PATH - PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH - TORCH_CUDA_ARCH_LIST="7.0;7.5" - ;; - cu116) - CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.6 - PATH=${CUDA_HOME}/bin:$PATH - PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH - TORCH_CUDA_ARCH_LIST="7.0;7.5" - ;; - cu115) - CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.5 - PATH=${CUDA_HOME}/bin:$PATH - PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH - TORCH_CUDA_ARCH_LIST="7.0;7.5" - ;; - cu113) - CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.3 - PATH=${CUDA_HOME}/bin:$PATH - PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH - TORCH_CUDA_ARCH_LIST="7.0;7.5" - ;; - *) - ;; -esac \ No newline at end of file diff --git a/.github/workflows/cuda/Windows.sh b/.github/workflows/cuda/Windows.sh deleted file mode 100644 index 0a2258c..0000000 --- a/.github/workflows/cuda/Windows.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash - -#curl -k -L "https://drive.google.com/u/0/uc?id=1injUyo3lnarMgWyRcXqKg4UGnN0ysmuq&export=download" --output "/tmp/gpu_driver_dlls.zip" -#7z x "/tmp/gpu_driver_dlls.zip" -o"/c/Windows/System32" - -case ${1} in - cu121) - CUDA_SHORT=12.1 - CUDA_URL=https://developer.download.nvidia.com/compute/cuda/${CUDA_SHORT}.1/local_installers - CUDA_FILE=cuda_${CUDA_SHORT}.1_531.14_windows.exe - ;; - cu118) - CUDA_SHORT=11.8 - CUDA_URL=https://developer.download.nvidia.com/compute/cuda/${CUDA_SHORT}.0/local_installers - CUDA_FILE=cuda_${CUDA_SHORT}.0_522.06_windows.exe - ;; - cu117) - CUDA_SHORT=11.7 - CUDA_URL=https://developer.download.nvidia.com/compute/cuda/${CUDA_SHORT}.1/local_installers - CUDA_FILE=cuda_${CUDA_SHORT}.1_516.94_windows.exe - ;; - cu116) - CUDA_SHORT=11.3 - CUDA_URL=https://developer.download.nvidia.com/compute/cuda/${CUDA_SHORT}.0/local_installers - CUDA_FILE=cuda_${CUDA_SHORT}.0_465.89_win10.exe - ;; - cu115) - CUDA_SHORT=11.3 - CUDA_URL=https://developer.download.nvidia.com/compute/cuda/${CUDA_SHORT}.0/local_installers - CUDA_FILE=cuda_${CUDA_SHORT}.0_465.89_win10.exe - ;; - cu113) - CUDA_SHORT=11.3 - CUDA_URL=https://developer.download.nvidia.com/compute/cuda/${CUDA_SHORT}.0/local_installers - CUDA_FILE=cuda_${CUDA_SHORT}.0_465.89_win10.exe - ;; - *) - echo "Unrecognized CUDA_VERSION=${1}" - exit 1 - ;; -esac - -PowerShell -Command "echo 'CUDA_PATH=\"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v${CUDA_SHORT}\"' | Out-File -FilePath \$env:GITHUB_ENV -Encoding utf8 -Append" -PowerShell -Command "echo 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v${CUDA_SHORT}\bin' | Out-File -FilePath \$env:GITHUB_PATH -Encoding utf8 -Append" - -curl -k -L "${CUDA_URL}/${CUDA_FILE}" --output "${CUDA_FILE}" -echo "" -echo "Installing from ${CUDA_FILE}..." -PowerShell -Command "Start-Process -FilePath \"${CUDA_FILE}\" -ArgumentList \"-s nvcc_${CUDA_SHORT} cuobjdump_${CUDA_SHORT} nvprune_${CUDA_SHORT} cupti_${CUDA_SHORT} cublas_dev_${CUDA_SHORT} cudart_${CUDA_SHORT} cufft_dev_${CUDA_SHORT} curand_dev_${CUDA_SHORT} cusolver_dev_${CUDA_SHORT} cusparse_dev_${CUDA_SHORT} thrust_${CUDA_SHORT} npp_dev_${CUDA_SHORT} nvrtc_dev_${CUDA_SHORT} nvml_dev_${CUDA_SHORT} visual_studio_integration_${CUDA_SHORT} \" -Wait -NoNewWindow" -echo "Done!" -rm -f "${CUDA_FILE}" diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9b402fa..85aef52 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -3,7 +3,7 @@ name: OpenSplat (Windows) on: push: branches: - - ci-windows + - main pull_request: types: [ assigned, opened, synchronize, reopened ] release: