question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

docker: Error response from daemon: Unknown runtime specified nvidia.

See original GitHub issue

Describe the bug

Docker does not run with the runtime parameter nvidia from the command: make start-gpu

What is the current behavior? Using the make start-gpu I get the following error:

docker: Error response from daemon: Unknown runtime specified nvidia.
See 'docker run --help'.
make: *** [Makefile:50: start-gpu] Error 125

The whole dump of the error message is available from here.

If the current behavior is a bug, please provide the steps to reproduce.

I am not 100% sure how it could be reproduced but this thread might provide some insights.

Expected behavior

The docker must be run and all requirements must be installed without a problem via the installation/build script prior to line 50 in the Makefile. It appears that installing nvidia-docker2 is what is required as mentioned here. And the installation could be followed from here.

Screenshots

NA

Other relevant information: poetry version: 1.1.11 python version: 3.8.5 Operating System: 5.8.0-38-generic #43~20.04.1-Ubuntu Additional tools: NA

Additional context

NA

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Hartorncommented, Oct 19, 2021

Yeah exactly @Optimox On the host computer, you need NVIDIA-container-toolkit, or NVIDIA docker2 (quite the same)

Inside the container, Cuda must be installed (and it is)

But as far as i know, you need the packages around container toolkit

See https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html

1reaction
Optimoxcommented, Oct 19, 2021

When installing with pip install pytorch-tabnet you get the latest stable release.

If you wish to install the develop branch you can do this: !pip install "git+https://github.com/dreamquark-ai/tabnet.git@develop#egg=pytorch_tabnet" --upgrade

Read more comments on GitHub >

github_iconTop Results From Across the Web

docker: Error response from daemon: Unknown runtime ...
1. Issue or feature description. $ docker run --runtime=nvidia --rm nvidia/cuda nvidia-smi docker: Error response from daemon: Unknown runtime ...
Read more >
nvidia-docker : Unknown runtime specified nvidia
I tried to run: $ sudo docker run --runtime=nvidia --rm nvidia/cuda nvidia-smi docker: Error response from daemon: Unknown runtime specified ...
Read more >
Error response from daemon unknown runtime specified by ...
Hello Sir/Madam, I am working on Putty terminal . I am unable to access the DL server. DL machine of Nvidia V100. Unknwn...
Read more >
"Unknown runtime specified nvidia" trying to configure Plex ...
Error response from daemon : Unknown runtime specified nvidia. Below are the parameters I'm trying to set: sudo docker create \ --name=plex ...
Read more >
Detect nvidia in docker compose - General Discussions
Right now on a system w/o nvidia I get the error “Unknown runtime specified nvidia”. Is there a way in the compose file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found