@@ -65,28 +65,23 @@ jobs:
6565 echo "MATRIX=${MATRIX}" | tee --append "${GITHUB_OUTPUT}"
6666
6767 test :
68- # TODO: switch to this once the self-hosted runners are ready
69- # name: py${{ matrix.PY_VER }}, ${{ matrix.CUDA_VER }}, ${{ (matrix.LOCAL_CTK == '1' && 'local') || 'wheels' }}, GPU ${{ matrix.GPU }}
70- name : py${{ matrix.PY_VER }}, ${{ matrix.CUDA_VER }}, ${{ (matrix.LOCAL_CTK == '1' && 'local') || 'wheels' }}
68+ name : py${{ matrix.PY_VER }}, ${{ matrix.CUDA_VER }}, ${{ (matrix.LOCAL_CTK == '1' && 'local') || 'wheels' }}, GPU ${{ matrix.GPU }}
7169 # The build stage could fail but we want the CI to keep moving.
7270 needs : compute-matrix
7371 strategy :
7472 fail-fast : false
7573 matrix : ${{ fromJSON(needs.compute-matrix.outputs.MATRIX) }}
7674 if : ${{ github.repository_owner == 'nvidia' && !cancelled() }}
77- # TODO: switch to self-hosted runners once they are ready
78- # runs-on: "windows-${{ matrix.ARCH }}-gpu-${{ matrix.GPU }}-${{ matrix.DRIVER }}-1"
79- runs-on : ' cuda-python-windows-gpu-github'
75+ runs-on : " windows-${{ matrix.ARCH }}-gpu-${{ matrix.GPU }}-${{ matrix.DRIVER }}-1"
8076 steps :
8177 - name : Checkout ${{ github.event.repository.name }}
82- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
78+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8379 with :
8480 fetch-depth : 0
8581
86- # TODO: use setup-proxy-cache once we have self-hosted Windows runners
87- # - name: Setup proxy cache
88- # uses: nv-gha-runners/setup-proxy-cache@main
89- # continue-on-error: true
82+ - name : Setup proxy cache
83+ uses : nv-gha-runners/setup-proxy-cache@main
84+ continue-on-error : true
9085
9186 - name : Update driver
9287 run : |
9590 - name : Ensure GPU is working
9691 run : nvidia-smi
9792
98- # TODO: remove this block once self-hosted runners are ready
99- - name : Install Git for Windows
100- # the GPU runner image does not have Git Bash pre-installed...
101- env :
102- # doesn't seem there's an easy way to avoid hard-coding it?
103- GFW_EXE_URL : https://github.com/git-for-windows/git/releases/download/v2.49.0.windows.1/PortableGit-2.49.0-64-bit.7z.exe
104- run : |
105- Invoke-WebRequest -Uri "$env:GFW_EXE_URL" -OutFile "PortableGit.7z.exe"
106- # Self-extracting, see https://gitforwindows.org/zip-archives-extracting-the-released-archives.html
107- Start-Process .\PortableGit.7z.exe -Wait -Verbose -ArgumentList '-y -gm2'
108- ls -l PortableGit
109- echo "$((Get-Location).Path)\\PortableGit\\bin" >> $env:GITHUB_PATH
110- $env:Path += ";$((Get-Location).Path)\\PortableGit\\bin"
111- bash --version
112-
11393 - name : Set environment variables
11494 env :
11595 BUILD_CUDA_VER : ${{ inputs.build-ctk-ver }}
@@ -135,22 +115,6 @@ jobs:
135115 name : ${{ env.CUDA_BINDINGS_ARTIFACT_NAME }}
136116 path : ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}
137117
138- # TODO: remove this block once self-hosted runners are ready
139- - name : Install gh cli
140- # the GPU runner image does not have gh pre-installed...
141- env :
142- # doesn't seem there's an easy way to avoid hard-coding it?
143- GH_MSI_URL : https://github.com/cli/cli/releases/download/v2.67.0/gh_2.67.0_windows_amd64.msi
144- run : |
145- Invoke-WebRequest -Uri "$env:GH_MSI_URL" -OutFile "gh_installer.msi"
146- Start-Process msiexec.exe -Wait -Verbose -ArgumentList '/i "gh_installer.msi" /qn'
147- $GH_POSSIBLE_PATHS = "C:\\Program Files\\GitHub CLI", "C:\\Program Files (x86)\\GitHub CLI"
148- foreach ($p in $GH_POSSIBLE_PATHS) {
149- echo "$p" >> $env:GITHUB_PATH
150- $env:Path += ";$p"
151- }
152- gh --version
153-
154118 - name : Download cuda-pathfinder build artifacts from main branch
155119 env :
156120 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments