Open vdel opened 4 years ago
For now let's keep using nvidia-docker2
instead of just its nvidia-container-toolkit
dependency as now documented in https://github.com/NVIDIA/nvidia-docker#ubuntu-16041804-debian-jessiestretchbuster
Changing this line to replace
--runtime=nvidia
by--gpus all
should fix the issue: https://github.com/Deepomatic/dmake/blob/master/dmake/utils/dmake_run_docker#L52
This would break the DMAKE_GPU
feature, but it can still be supported with the new --gpus
syntax.
Also, for reference, the new docker run --gpus
syntax is supported only since docker 19.03.0
.
Using dmake with latest nvidia-docker produces this error, for exemple when entering a dmake shell:
This is likely due to the fact that one should not use the
--runtime=nvidia
anymore, but--gpus all
.Changing this line to replace
--runtime=nvidia
by--gpus all
should fix the issue: https://github.com/Deepomatic/dmake/blob/master/dmake/utils/dmake_run_docker#L52To dev, one can try to do
dmake shell dev
in Thoth with the latest nvidia-docker.