Skip to content

Commit 652a4ba

Browse files
committed
Use GitHub hosted runners for CPU-only jobs
- GPU jobs: Use RTX Pro 6000 self-hosted runners - CPU jobs: Use free GitHub runners (ubuntu-latest, windows-latest, ubuntu-24.04-arm64) - Remove macOS configurations - Optimize runner costs per NVIDIA best practices Signed-off-by: cdunning <cdunning@nvidia.com>
1 parent 7068698 commit 652a4ba

1 file changed

Lines changed: 17 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ jobs:
2222
gpu: true
2323
timeout: 30
2424
- name: "CPU Linux x86_64"
25-
runner: linux-amd64-gpu-rtxpro6000-latest-1
25+
runner: ubuntu-latest
26+
os: linux
27+
gpu: false
28+
timeout: 15
29+
- name: "CPU Linux ARM64"
30+
runner: ubuntu-24.04-arm64
2631
os: linux
2732
gpu: false
2833
timeout: 15
@@ -32,7 +37,7 @@ jobs:
3237
gpu: true
3338
timeout: 30
3439
- name: "CPU Windows x86_64"
35-
runner: windows-amd64-gpu-rtxpro6000-latest-1
40+
runner: windows-latest
3641
os: windows
3742
gpu: false
3843
timeout: 15
@@ -53,14 +58,14 @@ jobs:
5358
timeout-minutes: 5
5459
run: |
5560
echo "=== Host Hardware Information ==="
56-
lspci | grep -i nvidia || echo "No NVIDIA GPU found via lspci"
61+
echo "Runner: ${{ matrix.runner }}"
62+
echo "Architecture: $(uname -m)"
5763
if [ "${{ matrix.gpu }}" = "true" ]; then
64+
lspci | grep -i nvidia || echo "No NVIDIA GPU found via lspci"
5865
nvidia-smi || echo "nvidia-smi not available on host"
5966
else
60-
echo "CPU-only mode (same hardware, no --gpus flag)"
61-
fi
62-
if [ "${{ matrix.runner }}" = "ubuntu-latest" ]; then
63-
echo "Architecture: $(uname -m)"
67+
echo "CPU-only runner (no GPU access)"
68+
lscpu | head -10 || echo "CPU info not available"
6469
fi
6570
6671
- name: Check Hardware (Windows)
@@ -69,12 +74,15 @@ jobs:
6974
shell: pwsh
7075
run: |
7176
Write-Host "=== Host Hardware Information ==="
77+
Write-Host "Runner: ${{ matrix.runner }}"
7278
if ("${{ matrix.gpu }}" -eq "true") {
7379
nvidia-smi
7480
} else {
75-
Write-Host "CPU-only mode (no GPU access)"
81+
Write-Host "CPU-only runner (no GPU access)"
82+
Get-ComputerInfo | Select-Object CsProcessors, TotalPhysicalMemory
7683
}
7784
85+
7886
- name: Test CUDA Image with GPU (Linux)
7987
if: matrix.gpu == true && matrix.os == 'linux'
8088
timeout-minutes: 10
@@ -127,3 +135,4 @@ jobs:
127135
cat /etc/os-release
128136
nvidia-smi 2>/dev/null || echo 'nvidia-smi not available without --gpus flag (expected)'
129137
"
138+

0 commit comments

Comments
 (0)