Skip to content

Commit 5cbd74e

Browse files
committed
added note and fixed docker run issue
1 parent dac885e commit 5cbd74e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,9 @@ jobs:
242242
if ! command -v nvidia-smi &> /dev/null; then
243243
log "⚠ No GPU detected, Installing..."
244244
# NOTE: To install NVIDIA Drivers in Standard NVadsA10_v5 VM (Ubuntu 22.04),
245-
# Use the following link:
245+
# Use the following link(s):
246246
# https://forums.developer.nvidia.com/t/installing-nvidia-drivers-cuda-on-azure-nvadsa10-v5-vm-ubuntu-22-04/321128/3
247+
# https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
247248
log "Exiting..."
248249
exit 0
249250
else
@@ -276,7 +277,7 @@ jobs:
276277
docker run -d \
277278
-v $HOME/logs:/src/logs \
278279
--gpus all \
279-
--name "$DOCKER_IMAGE_NAME" 2>&1 | while IFS= read -r line; do log "$line"; done
280+
"$DOCKER_IMAGE_NAME" 2>&1 | while IFS= read -r line; do log "$line"; done
280281
281282
log "✓ Cloud deployment done successfully"
282283

0 commit comments

Comments
 (0)