Compare commits

...

1 Commits

Author SHA1 Message Date
Austin Glover
3e9f742bd7 try to get more stable GPU detection 2026-03-11 20:21:20 +00:00

View File

@@ -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 @@
]
}
}
}
}