Skip to content

Commit 533f9ed

Browse files
committed
Check CUDA runtime
Signed-off-by: SimJeg <sjegou@nvidia.com>
1 parent 4c69e8c commit 533f9ed

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ jobs:
1616
with:
1717
python-version: "3.12"
1818

19-
- name: Check CUDA
19+
- name: Check CUDA runtime
2020
run: |
21-
nvcc --version || echo "nvcc not in PATH, checking /usr/local/cuda"
22-
echo "CUDA_HOME=/usr/local/cuda" >> $GITHUB_ENV
21+
nvidia-smi
22+
echo "Checking for CUDA libraries..."
23+
ls /usr/local/cuda*/lib64/libcudart.so* 2>/dev/null || ls /usr/lib/x86_64-linux-gnu/libcuda.so* 2>/dev/null || echo "No CUDA libs found in standard paths"
24+
ldconfig -p | grep -i cuda || true
2325
2426
- name: Install uv
2527
uses: astral-sh/setup-uv@v6

0 commit comments

Comments
 (0)