Skip to content

Commit bd8f752

Browse files
authored
fixed indention and enumeration for nvct (rasbt#518)
1 parent 2dc46be commit bd8f752

File tree

1 file changed

+32
-32
lines changed
  • setup/03_optional-docker-environment

1 file changed

+32
-32
lines changed

setup/03_optional-docker-environment/README.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -37,38 +37,38 @@ mv setup/03_optional-docker-environment/.devcontainer ./
3737

3838
4. If you have a [CUDA-supported GPU](https://developer.nvidia.com/cuda-gpus), you can speed up the training and inference:
3939

40-
3.1 Install **NVIDIA Container Toolkit** as described [here](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html#installing-with-apt). NVIDIA Container Toolkit is supported as written [here](https://docs.nvidia.com/cuda/wsl-user-guide/index.html#nvidia-compute-software-support-on-wsl-2).
41-
42-
3.2 Add _nvidia_ as runtime in Docker Engine daemon config (see _Docker Desktop_ -> _Change settings_ -> _Docker Engine_). Add these lines to your config:
43-
44-
```json
45-
"runtimes": {
46-
"nvidia": {
47-
"path": "nvidia-container-runtime",
48-
"runtimeArgs": []
49-
```
50-
51-
For example, the full Docker Engine daemon config json code should look like that:
52-
53-
```json
54-
{
55-
"builder": {
56-
"gc": {
57-
"defaultKeepStorage": "20GB",
58-
"enabled": true
59-
}
60-
},
61-
"experimental": false,
62-
"runtimes": {
63-
"nvidia": {
64-
"path": "nvidia-container-runtime",
65-
"runtimeArgs": []
66-
}
67-
}
68-
}
69-
```
70-
71-
and restart Docker Desktop.
40+
4.1 Install **NVIDIA Container Toolkit** as described [here](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html#installing-with-apt). NVIDIA Container Toolkit is supported as written [here](https://docs.nvidia.com/cuda/wsl-user-guide/index.html#nvidia-compute-software-support-on-wsl-2).
41+
42+
4.2 Add _nvidia_ as runtime in Docker Engine daemon config (see _Docker Desktop_ -> _Change settings_ -> _Docker Engine_). Add these lines to your config:
43+
44+
```json
45+
"runtimes": {
46+
"nvidia": {
47+
"path": "nvidia-container-runtime",
48+
"runtimeArgs": []
49+
```
50+
51+
For example, the full Docker Engine daemon config json code should look like that:
52+
53+
```json
54+
{
55+
"builder": {
56+
"gc": {
57+
"defaultKeepStorage": "20GB",
58+
"enabled": true
59+
}
60+
},
61+
"experimental": false,
62+
"runtimes": {
63+
"nvidia": {
64+
"path": "nvidia-container-runtime",
65+
"runtimeArgs": []
66+
}
67+
}
68+
}
69+
```
70+
71+
and restart Docker Desktop.
7272

7373
5. Type `code .` in the terminal to open the project in VS Code. Alternatively, you can launch VS Code and select the project to open from the UI.
7474

0 commit comments

Comments
 (0)