microsoft / microsoft/vscode-remote-release
hostRequirements: gpu: missing driver option
Open
@chrmarti is already working on this.
Since Jul 31, 2024.
bug
containers
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 469
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
- VSCode Version: 1.91.1
- Local OS Version: ubuntu
- Remote Extension/Connection Type: Containers
Same as this issue which is for windows: https://github.com/microsoft/vscode-remote-release/issues/9385
docker info -f '{{.Runtimes.nvidia}}' --> returns nvidia-container-runtime
Temporary fix is to add this to our docker-compose.yml but it breaks for users without gpu
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
When reverting to using a dockerfile instead of docker-compose, "runArgs": [ "--gpus", "all" ] does work
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.
Assessment
This issue has not been assessed yet.