Skip to content

Commit

Permalink
Change README for Nvidia users
Browse files Browse the repository at this point in the history
  • Loading branch information
imagidan committed Mar 13, 2024
1 parent 1464f81 commit 8af2e6c
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,25 @@ wsl --install -d Ubuntu
wsl --set-default Ubuntu 22.04
```
1. Install [Docker Desktop](https://www.docker.com/products/docker-desktop)
2. Install [Nivida Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) and set nvidia runtime to default if you have an Nvidia GPU.
2. (Only for Nvidia GPU Users) Install [Nivida Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) and set nvidia as the default runtime by modifying the ```/etc/docker/daemon.json``` file and adding the default runtime line like so:
```json
{
"default-runtime": "nvidia",
"runtimes": {
"nvidia": {
"args": [],
"path": "nvidia-container-runtime"
}
}
}
```

Restart docker with this command:

```bash
systemctl --user restart docker
```

2. Install [Visual Studio Code](https://code.visualstudio.com/)
3. Install the [Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) and [Docker](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker) extension in VSCode
4. Clone and open the repository (Do on WSL2 if on Windows)
Expand Down

0 comments on commit 8af2e6c

Please sign in to comment.