|
|
Line 190: |
Line 190: |
| </pre> | | </pre> |
|
| |
|
| == Preparation of a VM running Debian10 == <!--T:7-->
| |
| Ensure that the latest packages are installed and the system has been booted with the latest stable kernel, as <b>DKMS</b> will request the latest one available from the Debian repositories.
| |
|
| |
| <!--T:40-->
| |
| <pre>
| |
| root@debian10:~# apt-get update && apt-get -y dist-upgrade && reboot
| |
| </pre>
| |
|
| |
| <!--T:41-->
| |
| After a successful reboot, the system should have the latest available kernel running and the repository can be installed, by installing the <code>arbutus-cloud-repo</code> package.
| |
| This package also contains the gpg key all packages are signed with.
| |
|
| |
| <!--T:42-->
| |
| <pre>
| |
| root@debian10:~# apt-get -y install gnupg
| |
| root@debian10:~# wget http://repo.arbutus.cloud.computecanada.ca/pulp/deb/debian/pool/main/arbutus-cloud-repo_0.3_all.deb
| |
| root@debian10:~# dpkg -i arbutus-cloud-repo_0.3_all.deb
| |
| </pre>
| |
|
| |
| <!--T:43-->
| |
| The installation of the package will display a warning, since the key is directly imported (for convenience) via the package's post-installation procedure.
| |
|
| |
| <!--T:44-->
| |
| <pre>
| |
| Setting up arbutus-cloud-repo (0.1) ...
| |
| Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package arbutus-cloud-repo)
| |
| OK
| |
| </pre>
| |
|
| |
| <!--T:45-->
| |
| Update the local apt cache and install the vGPU packages:
| |
|
| |
| <!--T:63-->
| |
| <pre>
| |
| root@debian10:~# apt-get update && apt-get -y install nvidia-vgpu-kmod nvidia-vgpu-tools nvidia-vgpu-gridd
| |
| </pre>
| |
|
| |
| <!--T:47-->
| |
| If your installation was successful, the vGPU will be accessible and licensed.
| |
| Test this by running <code>nvidia-smi</code> as shown above for [[Using cloud vGPUs#Preparation_of_a_VM_running_CentOS7 | CentOS7]].
| |
|
| |
| <!-- ============ UPDATE PREPARATION DO NOT PUBLISH YET! ========================== -->
| |
| <!--
| |
| == Preparation of a VM running Debian11 == <!--T:64-->
| |
| Ensure that the latest packages are installed and the system has been booted with the latest stable kernel, as <b>DKMS</b> will request the latest one available from the Debian repositories.
| |
|
| |
| <!--T:65-->
| |
| <pre>
| |
| root@debian11:~# apt-get update && apt-get -y dist-upgrade && reboot
| |
| </pre>
| |
|
| |
| <!--T:66-->
| |
| After a successful reboot, the system should have the latest available kernel running and the repository can be installed, by installing the <code>arbutus-cloud-repo</code> package.
| |
| This package also contains the gpg key all packages are signed with.
| |
|
| |
| <!--T:67-->
| |
| <pre>
| |
| root@debian11:~# wget http://repo.arbutus.cloud.computecanada.ca/pulp/deb/deb11/pool/main/arbutus-cloud-repo_0.1_all.deb
| |
| root@debian11:~# apt-get install -y ./arbutus-cloud-repo_0.1_all.deb
| |
| </pre>
| |
|
| |
| <!--T:68-->
| |
| Update the local apt cache and install the vGPU packages:
| |
|
| |
| <!--T:69-->
| |
| <pre>
| |
| root@debian11:~# apt-get update && apt-get -y install nvidia-vgpu-kmod nvidia-vgpu-tools nvidia-vgpu-gridd
| |
| </pre>
| |
|
| |
| <pre>
| |
| root@debian11:~# nvidia-smi
| |
| Tue Apr 23 18:55:18 2024
| |
| +-----------------------------------------------------------------------------------------+
| |
| | NVIDIA-SMI 550.54.15 Driver Version: 550.54.15 CUDA Version: 12.4 |
| |
| |-----------------------------------------+------------------------+----------------------+
| |
| | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| |
| | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| |
| | | | MIG M. |
| |
| |=========================================+========================+======================|
| |
| | 0 GRID V100D-8C On | 00000000:00:06.0 Off | 0 |
| |
| | N/A N/A P0 N/A / N/A | 0MiB / 8192MiB | 0% Default |
| |
| | | | N/A |
| |
| +-----------------------------------------+------------------------+----------------------+
| |
|
| |
| +-----------------------------------------------------------------------------------------+
| |
| | Processes: |
| |
| | GPU GI CI PID Type Process name GPU Memory |
| |
| | ID ID Usage |
| |
| |=========================================================================================|
| |
| | No running processes found |
| |
| +-----------------------------------------------------------------------------------------+
| |
| </pre>
| |
| -->
| |
|
| |
| <!-- ============ UPDATE PREPARATION DO NOT PUBLISH YET! ========================== -->
| |
| <!--
| |
| == Preparation of a VM running Debian12 == <!--T:64--> | | == Preparation of a VM running Debian12 == <!--T:64--> |
| Ensure that the latest packages are installed and the system has been booted with the latest stable kernel, as <b>DKMS</b> will request the latest one available from the Debian repositories. | | Ensure that the latest packages are installed and the system has been booted with the latest stable kernel, as <b>DKMS</b> will request the latest one available from the Debian repositories. |
Line 335: |
Line 239: |
| +-----------------------------------------------------------------------------------------+ | | +-----------------------------------------------------------------------------------------+ |
| </pre> | | </pre> |
|
| |
| -->
| |
|
| |
|
| == Preparation of a VM running Debian11 == <!--T:64--> | | == Preparation of a VM running Debian11 == <!--T:64--> |