File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1515
1616 - name : Check Docker
1717 run : |
18+ docker info
19+ echo "Pod NVIDIA_VISIBLE_DEVICES: $NVIDIA_VISIBLE_DEVICES"
1820 docker pull nvidia/cuda:12.0.0-base-ubuntu22.04
19- docker run --rm --gpus all nvidia/cuda:12.0.0-base-ubuntu22.04 nvidia-smi
21+ docker run --rm --gpus "\"device=${NVIDIA_VISIBLE_DEVICES}\"" nvidia/cuda:12.0.0-base-ubuntu22.04 nvidia-smi
2022
2123 test-p4d :
2224 runs-on : p4d-gpu-runners
2628
2729 - name : Check Docker
2830 run : |
31+ docker info
32+ echo "Pod NVIDIA_VISIBLE_DEVICES: $NVIDIA_VISIBLE_DEVICES"
2933 docker pull nvidia/cuda:12.0.0-base-ubuntu22.04
30- docker run --rm --gpus all nvidia/cuda:12.0.0-base-ubuntu22.04 nvidia-smi
34+ docker run --rm --gpus "\"device=${NVIDIA_VISIBLE_DEVICES}\"" nvidia/cuda:12.0.0-base-ubuntu22.04 nvidia-smi
You can’t perform that action at this time.
0 commit comments