We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb29aba commit 9836264Copy full SHA for 9836264
1 file changed
userdocker/subcommands/run.py
@@ -125,10 +125,10 @@ def prepare_nvidia_docker_run(args):
125
for g in nv_gpus:
126
if g not in gpus_available:
127
raise UserDockerException(
128
- 'ERROR: GPU %d is currently not available!\n'
129
- 'Use "userdocker ps --gpu-free" to find available GPUs.\n'
130
- 'Use "userdocker ps --gpu-used" or "nvidia-smi" to see why '
131
- 'this GPU might not be available.' % g
+ 'ERROR: GPU %d is currently not available!\nUse:\n'
+ '"sudo userdocker ps --gpu-free" to find available GPUs.\n'
+ '"sudo userdocker ps --gpu-used" or "nvidia-smi" to see '
+ 'status information.' % g
132
)
133
else:
134
# NV_GPU wasn't set, use admin defaults, tell user
0 commit comments