replicate / replicate/cog

Warn if nvidia-docker is not installed

Open
#625 3 comments 3 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.