forked from mirzaim/cuda-devcontainer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
executable file
·47 lines (47 loc) · 1.27 KB
/
devcontainer.json
File metadata and controls
executable file
·47 lines (47 loc) · 1.27 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// 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": "PVZ-Localisation_DL-dev",
"build": {
"dockerfile": "Dockerfile",
"args": {
// choose valid combination from https://hub.docker.com/r/nvidia/cuda/tags
"VARIANT": "ubuntu22.04",
"CUDA_VERSION": "11.8.0",
}
},
"runArgs": [
"--gpus",
"all",
"--shm-size=32gb",
//"'device=2'",
"--cpus",
"8",
"--memory",
"32GB"
],
"remoteUser": "vscode",
// set default terminal to bash
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh",
}
}
},
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached",
"workspaceFolder": "/workspace",
// mount data folder
"mounts": [
//"source=/data-project/BirdSet/,target=/workspace/data_birdset,type=bind,consistency=cached",
"source=/home/pzadeh/CAPTN_Acoustics/Models,target=/workspace/models,type=bind,consistency=cached"
],
"extensions": [ // Vscode extensions adjust as needed
"ms-python.python",
"ms-python.vscode-pylance",
"github.copilot",
"ms-toolsai.jupyter",
"eamodio.gitlens",
"mutantdino.resourcemonitor"
],
}