forked from mirzaim/cuda-devcontainer
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdevcontainer.json
More file actions
executable file
·28 lines (28 loc) · 836 Bytes
/
devcontainer.json
File metadata and controls
executable file
·28 lines (28 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.238.0/containers/ubuntu
{
"name": "COLA-dev",
"build": {
"dockerfile": "Dockerfile",
"args": {
// choose valid combination from https://hub.docker.com/r/nvidia/cuda/tags
"VARIANT": "ubuntu22.04",
"CUDA_VERSION": "12.4.1"
}
},
"runArgs": [
"--gpus",
"all",
"--shm-size=32gb"
],
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"github.copilot",
"ms-toolsai.jupyter"
],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "sudo chown -R vscode:vscode /workspaces"
}