From 84e5503a7c38a35c86303db08f930155ca72b79b Mon Sep 17 00:00:00 2001 From: Vladimir Protsenko Date: Sun, 2 Oct 2022 17:15:45 +0400 Subject: [PATCH] Update 'start_interactively.sh' Specify gpu device explicitly --- start_interactively.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start_interactively.sh b/start_interactively.sh index 0618671..d8580fa 100644 --- a/start_interactively.sh +++ b/start_interactively.sh @@ -1,3 +1,3 @@ #!/bin/bash -docker run -it --rm --gpus all -p 8900:8888 -v /home/${USER}:/wd ${USER}_${IMAGE_NAME} +docker run -it --rm --gpus "device=0" -p 8900:8888 -v /home/${USER}:/wd ${USER}_${IMAGE_NAME} \ No newline at end of file