Skip to content

Commit 0b1ec22

Browse files
Updates launch options for CI container
Updates the container launch options in CI to set up correct permissions for NVML
1 parent 91dbc68 commit 0b1ec22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/mlir-tensorrt-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
uses: addnab/docker-run-action@v3
131131
with:
132132
image: ${{ env.DEFAULT_IMAGE }}
133-
options: -v ${{ github.workspace }}/mlir-tensorrt:/mlir-tensorrt -v ${{ github.workspace }}/ccache:/ccache -v ${{ github.workspace }}/.cache.cpm:/.cache.cpm --gpus all
133+
options: -v ${{ github.workspace }}/mlir-tensorrt:/mlir-tensorrt -v ${{ github.workspace }}/ccache:/ccache -v ${{ github.workspace }}/.cache.cpm:/.cache.cpm --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --shm-size=1g --ulimit memlock=-1
134134
registry: ${{ env.REGISTRY }}
135135
username: ${{ github.actor }}
136136
password: ${{ secrets.GITHUB_TOKEN }}
@@ -143,7 +143,7 @@ jobs:
143143
uses: addnab/docker-run-action@v3
144144
with:
145145
image: ${{ env.DEFAULT_IMAGE }}
146-
options: -v ${{ github.workspace }}/mlir-tensorrt:/mlir-tensorrt -v ${{ github.workspace }}/ccache:/ccache -v ${{ github.workspace }}/.cache.cpm:/.cache.cpm --gpus all
146+
options: -v ${{ github.workspace }}/mlir-tensorrt:/mlir-tensorrt -v ${{ github.workspace }}/ccache:/ccache -v ${{ github.workspace }}/.cache.cpm:/.cache.cpm --gpus all --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --shm-size=1g --ulimit memlock=-1
147147
registry: ${{ env.REGISTRY }}
148148
username: ${{ github.actor }}
149149
password: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)