mirror of
https://github.com/jafioti/luminal.git
synced 2026-06-01 21:49:47 +09:00
Compare commits
1 Commits
readme-ref
...
tracing-im
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e9f742bd7 |
@@ -2,15 +2,16 @@
|
||||
"name": "Luminal",
|
||||
"image": "ghcr.io/luminal-ai/luminal-docker:latest",
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/github-cli:1": {}
|
||||
},
|
||||
"remoteEnv": {
|
||||
"ghcr.io/devcontainers/features/github-cli:1": {}
|
||||
},
|
||||
"remoteEnv": {
|
||||
"GH_TOKEN": "${localEnv:GH_TOKEN}"
|
||||
},
|
||||
"runArgs": [
|
||||
"--gpus=all"
|
||||
],
|
||||
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
|
||||
},
|
||||
"hostRequirements": {
|
||||
"gpu": "optional"
|
||||
},
|
||||
"shutdownAction": "stopContainer",
|
||||
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder} && (nvidia-smi > /dev/null 2>&1 && echo 'GPU available' || echo 'WARNING: GPU not detected - rebuild container if GPU is expected')",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
@@ -34,4 +35,4 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user