File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change 65
65
run :
66
66
set -x
67
67
68
- docker run --gpus all -e NVIDIA_DRIVER_CAPABILITIES=all "${DOCKER_IMAGE}" bash -xc "ls -la"
69
-
70
-
71
- # ${SCCACHE_SERVER_PORT_DOCKER_FLAG:-} \
72
- # -e SCCACHE_BUCKET \
73
- # -e SCCACHE_REGION \
74
- # -e GPU_DEVICE \
75
- # -e HUGGING_FACE_HUB_TOKEN \
76
- # --security-opt seccomp=unconfined \
77
- # --cap-add=SYS_PTRACE \
78
- # --ipc=host \
79
- # --tty \
80
- # --detach \
81
- # -v "${GITHUB_WORKSPACE}:/tmp/workspace" \
82
- # -w /tmp/workspace \
83
- # "${DOCKER_IMAGE}" \
84
- # "ls -la"
68
+ # TODO(huydhn): I don't know why backlash doesn't work here
69
+ docker run ${GPU_FLAG:-} ${SCCACHE_SERVER_PORT_DOCKER_FLAG:-} -e SCCACHE_BUCKET -e SCCACHE_REGION -e GPU_DEVICE -e HUGGING_FACE_HUB_TOKEN --ipc=host --tty --security-opt seccomp=unconfined -v "${GITHUB_WORKSPACE}:/tmp/workspace" -w /tmp/workspace "${DOCKER_IMAGE}" bash -xc "ls -la"
You can’t perform that action at this time.
0 commit comments