Skip to content

Commit

Permalink
moves --gpus runArgs flag into GPU containers
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesfrye committed Nov 23, 2022
1 parent 1a18e38 commit 509dd39
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,5 @@
"ms-python.python"
],

"runArgs": [
"--gpus",
"all"
],

"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}"
}
5 changes: 5 additions & 0 deletions .devcontainer/gpu-from-scratch/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"dockerfile": "dev-gpu.Dockerfile"
},

"runArgs": [
"--gpus",
"all"
],

"extensions": [
"ms-python.python"
]
Expand Down
5 changes: 5 additions & 0 deletions .devcontainer/gpu/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

"image": "fullstackdeeplearning/development:latest",

"runArgs": [
"--gpus",
"all"
],

"extensions": [
"ms-python.python"
]
Expand Down

0 comments on commit 509dd39

Please sign in to comment.