Skip to content

Commit

Permalink
chore: split nvidia modules
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin authored Aug 2, 2024
1 parent 9d6aa9f commit af94ace
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,17 @@ stages:
- lpkg --unlock
- apt-get update

- name: nvidia-official-driver
- name: nvidia-official-repo
type: shell
commands:
- curl -fSsL https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/3bf863cc.pub | gpg --dearmor -o /usr/share/keyrings/nvidia-drivers.gpg
- echo 'deb [signed-by=/usr/share/keyrings/nvidia-drivers.gpg] https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/ /' > /etc/apt/sources.list.d/nvidia-drivers.list
- apt-get update

- name: nvidia-official-driver
type: shell
commands:
- apt-get update
- apt-get install nvidia-kernel-open nvidia-driver nvidia-vaapi-driver nvidia-settings nvidia-smi -y
- apt-mark hold nvidia-kernel-open nvidia-driver nvidia-vaapi-driver nvidia-settings nvidia-smi

Expand Down

0 comments on commit af94ace

Please sign in to comment.