Skip to content

Commit b701be0

Browse files
committed
add installation instructions
1 parent 2a650d2 commit b701be0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

modules/jax/README.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,28 @@
2020

2121
4. **Isolation and Security**: Containers provide an isolated environment, which enhances security by limiting the impact of potential vulnerabilities. It also avoids conflicts with other software on the host system.
2222

23+
## Troubleshooting
24+
25+
**Ensure Docker is configured to use the NVIDIA runtime**:
26+
- You need to install the NVIDIA Container Toolkit. Follow the instructions for your operating system: [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html).
27+
- Update your Docker daemon configuration to include the NVIDIA runtime. Edit the Docker daemon configuration file, typically located at `/etc/docker/daemon.json`, to include the following:
28+
29+
```json
30+
{
31+
"runtimes": {
32+
"nvidia": {
33+
"path": "nvidia-container-runtime",
34+
"runtimeArgs": []
35+
}
36+
}
37+
}
38+
```
39+
40+
- Restart the Docker daemon to apply the changes:
41+
```sh
42+
sudo systemctl restart docker
43+
```
44+
2345
## Relevant Reading Material
2446

2547
1. **JAX Documentation**

0 commit comments

Comments
 (0)