Skip to content

Commit

Permalink
nvidia: bump NVIDIA version
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
  • Loading branch information
squat committed Apr 25, 2022
1 parent 671fbdb commit 6af521a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions nvidia/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Modulus takes care of automating all of these steps and ensures that kernel modu
You will need a running Kubernetes cluster and the `kubectl` command to deploy Modulus.

### Getting Started
Edit the provided Modulus DaemonSet to specify the version of NVIDIA you would like to compile, e.g. 440.64.
Edit the provided Modulus DaemonSet to specify the version of NVIDIA you would like to compile, e.g. 470.103.01.
Then create the deployment:
```sh
kubectl apply -f https://raw.githubusercontent.com/squat/modulus/main/nvidia/daemonset.yaml
Expand All @@ -30,17 +30,17 @@ You may choose to add a `nodeSelector` to schedule Modulus exclusively to nodes
First, make sure you have the [Modulus code available](https://github.com/squat/modulus#installation) on your Container Linux machine and that the `modulus` service is installed.

### Getting Started
Enable and start the `modulus` template unit file with the desired NVIDIA version, e.g. 440.64:
Enable and start the `modulus` template unit file with the desired NVIDIA version, e.g. 470.103.01:
```sh
sudo systemctl enable modulus@nvidia-440.64
sudo systemctl start modulus@nvidia-440.64
sudo systemctl enable modulus@nvidia-470.103.01
sudo systemctl start modulus@nvidia-470.103.01
```

This service takes care of automatically compiling, installing, backing up, and loading the NVIDIA kernel modules as well as creating the NVIDIA device files.

Compiling the NVIDIA kernel modules can take between 10-15 minutes depending on your Internet speed, CPU, and RAM. To check the progress of the compilation, run:
```sh
journalctl -fu modulus@nvidia-440.64
journalctl -fu modulus@nvidia-470.103.01
```

## Verify
Expand Down
2 changes: 1 addition & 1 deletion nvidia/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
args:
- compile
- nvidia
- "440.64"
- "470.103.01"
securityContext:
privileged: true
env:
Expand Down

0 comments on commit 6af521a

Please sign in to comment.