Skip to content

Commit 59eb6b7

Browse files
committed
ci: debug nvcc
1 parent e9b7bbf commit 59eb6b7

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/buildcupy.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,12 @@ jobs:
3434
nvcc --version &&
3535
nvidia-smi
3636
'
37-
- name: Find CUDA modules
37+
- name: Find CUDA installs
3838
run: |
3939
srun --account=yuxilab -n 1 -N 1 --gres=gpu:L40S:1 bash -c '
40-
source /etc/profile.d/modules.sh &&
41-
module avail cuda 2>&1
40+
find /usr/local -maxdepth 1 -name "cuda*" 2>/dev/null &&
41+
find /opt -maxdepth 2 -name "cuda*" 2>/dev/null &&
42+
find /cm -maxdepth 4 -name "libnvvm.so" 2>/dev/null
4243
'
4344
- name: Test with pytest
4445
run: |

0 commit comments

Comments
 (0)