Skip to content

Commit 11d71b8

Browse files
authored
Merge pull request #4 from 0Shark/feature/devcontainer-gpu-support
devcontainer gpu support
2 parents 2f7fa3d + a50f12c commit 11d71b8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,11 @@
3030
},
3131
"postCreateCommand": "uv sync --frozen && uv run scripts/download_assets.py",
3232
"postStartCommand": "uv run pre-commit install",
33-
"remoteUser": "vscode"
33+
"remoteUser": "vscode",
34+
"runArgs": [
35+
"--gpus",
36+
"all",
37+
"--runtime",
38+
"nvidia"
39+
]
3440
}

0 commit comments

Comments
 (0)