You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/test.yml
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,10 +16,12 @@ jobs:
16
16
with:
17
17
python-version: "3.12"
18
18
19
-
- name: Check CUDA
19
+
- name: Check CUDA runtime
20
20
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"
0 commit comments