Skip to content

Commit 8b09aa8

Browse files
committed
Reorder devcontainer.json
- Put runArgs before remoteEnv
1 parent 44c8da9 commit 8b09aa8

File tree

13 files changed

+78
-78
lines changed

13 files changed

+78
-78
lines changed

.devcontainer/cuda-julia-base/devcontainer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@
8686
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-cuda-julia-base-root,target=/root,type=bind",
8787
// "workspaceFolder": "/root",
8888

89+
"runArgs": [
90+
"--gpus", "device=all",
91+
"--shm-size", "2g"
92+
],
93+
8994
"remoteEnv": {
9095
// By default, CUDA will use all available CUDA-capable devices.
9196
// Set the following environment variable to control the exact devices to use.
@@ -101,10 +106,5 @@
101106
//
102107
// Pip: Install packages to the user site
103108
"PIP_USER": "1"
104-
},
105-
106-
"runArgs": [
107-
"--gpus", "device=all",
108-
"--shm-size", "2g"
109-
]
109+
}
110110
}

.devcontainer/cuda-julia-pubtools/devcontainer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@
8888
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-cuda-julia-pubtools-root,target=/root,type=bind",
8989
// "workspaceFolder": "/root",
9090

91+
"runArgs": [
92+
"--gpus", "device=all",
93+
"--shm-size", "2g"
94+
],
95+
9196
"remoteEnv": {
9297
// By default, CUDA will use all available CUDA-capable devices.
9398
// Set the following environment variable to control the exact devices to use.
@@ -103,10 +108,5 @@
103108
//
104109
// Pip: Install packages to the user site
105110
"PIP_USER": "1"
106-
},
107-
108-
"runArgs": [
109-
"--gpus", "device=all",
110-
"--shm-size", "2g"
111-
]
111+
}
112112
}

.devcontainer/cuda-max-base-nightly/devcontainer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@
8484
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-cuda-max-nightly-base-root,target=/root,type=bind",
8585
// "workspaceFolder": "/root",
8686

87+
"runArgs": [
88+
"--gpus", "device=all",
89+
"--shm-size", "2g"
90+
],
91+
8792
"remoteEnv": {
8893
// By default, CUDA will use all available CUDA-capable devices.
8994
// Set the following environment variable to control the exact devices to use.
@@ -95,10 +100,5 @@
95100
//
96101
// Pip: Install packages to the user site
97102
"PIP_USER": "1"
98-
},
99-
100-
"runArgs": [
101-
"--gpus", "device=all",
102-
"--shm-size", "2g"
103-
]
103+
}
104104
}

.devcontainer/cuda-max-base/devcontainer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@
8484
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-cuda-max-base-root,target=/root,type=bind",
8585
// "workspaceFolder": "/root",
8686

87+
"runArgs": [
88+
"--gpus", "device=all",
89+
"--shm-size", "2g"
90+
],
91+
8792
"remoteEnv": {
8893
// By default, CUDA will use all available CUDA-capable devices.
8994
// Set the following environment variable to control the exact devices to use.
@@ -95,10 +100,5 @@
95100
//
96101
// Pip: Install packages to the user site
97102
"PIP_USER": "1"
98-
},
99-
100-
"runArgs": [
101-
"--gpus", "device=all",
102-
"--shm-size", "2g"
103-
]
103+
}
104104
}

.devcontainer/cuda-max-scipy-nightly/devcontainer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@
8686
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-cuda-max-nightly-scipy-root,target=/root,type=bind",
8787
// "workspaceFolder": "/root",
8888

89+
"runArgs": [
90+
"--gpus", "device=all",
91+
"--shm-size", "2g"
92+
],
93+
8994
"remoteEnv": {
9095
// By default, CUDA will use all available CUDA-capable devices.
9196
// Set the following environment variable to control the exact devices to use.
@@ -97,10 +102,5 @@
97102
//
98103
// Pip: Install packages to the user site
99104
"PIP_USER": "1"
100-
},
101-
102-
"runArgs": [
103-
"--gpus", "device=all",
104-
"--shm-size", "2g"
105-
]
105+
}
106106
}

.devcontainer/cuda-max-scipy/devcontainer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@
8686
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-cuda-max-scipy-root,target=/root,type=bind",
8787
// "workspaceFolder": "/root",
8888

89+
"runArgs": [
90+
"--gpus", "device=all",
91+
"--shm-size", "2g"
92+
],
93+
8994
"remoteEnv": {
9095
// By default, CUDA will use all available CUDA-capable devices.
9196
// Set the following environment variable to control the exact devices to use.
@@ -97,10 +102,5 @@
97102
//
98103
// Pip: Install packages to the user site
99104
"PIP_USER": "1"
100-
},
101-
102-
"runArgs": [
103-
"--gpus", "device=all",
104-
"--shm-size", "2g"
105-
]
105+
}
106106
}

.devcontainer/cuda-python-base/devcontainer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@
8383
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-cuda-python-base-root,target=/root,type=bind",
8484
// "workspaceFolder": "/root",
8585

86+
"runArgs": [
87+
"--gpus", "device=all",
88+
"--shm-size", "2g"
89+
],
90+
8691
"remoteEnv": {
8792
// By default, CUDA will use all available CUDA-capable devices.
8893
// Set the following environment variable to control the exact devices to use.
@@ -94,10 +99,5 @@
9499
//
95100
// Pip: Install packages to the user site
96101
"PIP_USER": "1"
97-
},
98-
99-
"runArgs": [
100-
"--gpus", "device=all",
101-
"--shm-size", "2g"
102-
]
102+
}
103103
}

.devcontainer/cuda-python-scipy/devcontainer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@
8585
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-cuda-python-scipy-root,target=/root,type=bind",
8686
// "workspaceFolder": "/root",
8787

88+
"runArgs": [
89+
"--gpus", "device=all",
90+
"--shm-size", "2g"
91+
],
92+
8893
"remoteEnv": {
8994
// By default, CUDA will use all available CUDA-capable devices.
9095
// Set the following environment variable to control the exact devices to use.
@@ -96,10 +101,5 @@
96101
//
97102
// Pip: Install packages to the user site
98103
"PIP_USER": "1"
99-
},
100-
101-
"runArgs": [
102-
"--gpus", "device=all",
103-
"--shm-size", "2g"
104-
]
104+
}
105105
}

.devcontainer/cuda-r-base/devcontainer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@
9595
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-cuda-r-base-root,target=/root,type=bind",
9696
// "workspaceFolder": "/root",
9797

98+
"runArgs": [
99+
"--gpus", "device=all",
100+
"--shm-size", "2g"
101+
],
102+
98103
"remoteEnv": {
99104
// By default, CUDA will use all available CUDA-capable devices.
100105
// Set the following environment variable to control the exact devices to use.
@@ -106,10 +111,5 @@
106111
//
107112
// Pip: Install packages to the user site
108113
"PIP_USER": "1"
109-
},
110-
111-
"runArgs": [
112-
"--gpus", "device=all",
113-
"--shm-size", "2g"
114-
]
114+
}
115115
}

.devcontainer/cuda-r-geospatial/devcontainer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@
9797
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-cuda-r-geospatial-root,target=/root,type=bind",
9898
// "workspaceFolder": "/root",
9999

100+
"runArgs": [
101+
"--gpus", "device=all",
102+
"--shm-size", "2g"
103+
],
104+
100105
"remoteEnv": {
101106
// By default, CUDA will use all available CUDA-capable devices.
102107
// Set the following environment variable to control the exact devices to use.
@@ -108,10 +113,5 @@
108113
//
109114
// Pip: Install packages to the user site
110115
"PIP_USER": "1"
111-
},
112-
113-
"runArgs": [
114-
"--gpus", "device=all",
115-
"--shm-size", "2g"
116-
]
116+
}
117117
}

0 commit comments

Comments
 (0)