Skip to content

Commit 4a5f495

Browse files
committed
Test out NVIDIA container toolkit capabilities
Signed-off-by: Jean-Francois Panisset <[email protected]>
1 parent 7092717 commit 4a5f495

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/gpu_test.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,21 @@ jobs:
88
ubuntu-gpu:
99
# runs-on: ubuntu-20.04-gpu-6c-112g-336h-16vr
1010
runs-on: ubuntu-20.04-gpu-t4-4c-16g-176h
11-
# container:
12-
# image: aswf/ci-common:3-clang15
13-
# env:
14-
# DISPLAY: $DISPLAY
15-
# QT_X11_NO_MITSHM: 1
16-
# volumes:
17-
# - /tmp/.X11-unix:/tmp/.X11-unix
18-
# options: --gpus all
11+
container:
12+
image: aswf/ci-osl:2025
13+
options: --gpus 'all,"capabilities=graphics,utility"'
14+
# env:
15+
# DISPLAY: $DISPLAY
16+
# QT_X11_NO_MITSHM: 1
17+
# volumes:
18+
# - /tmp/.X11-unix:/tmp/.X11-unix
19+
# options: --gpus 'all,"capabilities=graphics,utility"'
1920
steps:
2021
- name: run glxinfo inside container
2122
run: |
2223
nvidia-smi
24+
mount | grep nvidia
25+
ls -l /usr/lib64/libnv*
2326
# glxinfo
2427
# - name: Update APT repo for CUDA
2528
# run: |

0 commit comments

Comments
 (0)