We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c89ee69 commit cb29abaCopy full SHA for cb29aba
1 file changed
userdocker/subcommands/run.py
@@ -125,7 +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: " % g
+ '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
132
)
133
else:
134
# NV_GPU wasn't set, use admin defaults, tell user
0 commit comments