Warn if nvidia-docker is not installed
Open
Nobody has claimed this yet.
documentation
go
good first issue
- Dominant language
- Go
- Stars
- 9.5k
- Forks
- 696
- Avg merge
- 7d 19h
- Merged PRs (30d)
- 2
Description
When nvidia-docker isn't installed and you're trying to run a GPU model, Cog blows up with a big unparseable stack trace. We should check for nvidia-docker and show instructions for how to install nvidia-docker if it's not available.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing a GPU model run without nvidia-docker and trace the Cog command entry point that emits the current stack trace. Add a clear installation instruction when nvidia-docker is unavailable, then verify that an installed setup still runs normally and the missing-dependency case no longer shows the unparseable trace.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100