fix(devcontainer): update GPU runtime args for compatibility
Change from deprecated --gpus flag to --device for better compatibility with newer Docker/CDI configurations.
This commit is contained in:
parent
7fe217de0f
commit
dc3531071f
1 changed files with 1 additions and 2 deletions
|
|
@ -34,8 +34,7 @@
|
||||||
},
|
},
|
||||||
"remoteUser": "vscode",
|
"remoteUser": "vscode",
|
||||||
"runArgs": [
|
"runArgs": [
|
||||||
"--gpus",
|
"--device", "nvidia.com/gpu=all"
|
||||||
"all"
|
|
||||||
],
|
],
|
||||||
// Ensure the .venv persists using a named volume for performance and parity
|
// Ensure the .venv persists using a named volume for performance and parity
|
||||||
"mounts": [
|
"mounts": [
|
||||||
|
|
|
||||||
Reference in a new issue