Skip to content

Commit a50f12c

Browse files
committed
devcontainer gpu support
1 parent ef4a3c3 commit a50f12c

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)