Using cloud vGPUs: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 136: Line 136:
</pre>
</pre>


== Preparation of a VM running CentOS8, AlmaLinux8, RockyLinux8 == <!--T:6-->
Once the VM is available, make sure to update the OS to the latest available software, including the kernel. Then reboot the VM to have the latest kernel running.
<pre>
[root@centos8]# dnf -y update && reboot
</pre>
<!--T:35-->
Since the proprietary Nvidia drivers need to be compiled against the running kernel, the package '''dkms''' is required from the [https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm EPEL Repository]
<!--T:36-->
<pre>
[root@centos8]# dnf -y install epel-release
</pre>
<!--T:37-->
Install the '''Arbutus Cloud''' [http://repo.arbutus.cloud.computecanada.ca/pulp/repos/centos/arbutus-cloud-vgpu-repo.el8.noarch.rpm repository].
It also installs the public key the packages are signed with to ensure their authenticity.
These drivers and user-space tools are carefully tested against the infrastructure before they are made available.
<pre>
[root@centos8]# dnf -y install http://repo.arbutus.cloud.computecanada.ca/pulp/repos/centos/arbutus-cloud-vgpu-repo.el8.noarch.rpm
</pre>
<!--T:38-->
The last step is to install the '''nvidia vGPU packages'''.
The kernel module package 'nvidia-vgpu-kmod' will take a few minutes as it compiles the required kernel modules in the background.
<pre>
[root@centos8]# dnf -y install nvidia-vgpu-kmod nvidia-vgpu-gridd nvidia-vgpu-tools
</pre>
<!--T:39-->
If your installation was successful, the vGPU will be accessible and licensed.
Test by running <code>nvidia-smi</code> as shown above for Centos7.


== Preparation of a VM running Debian10/Debian11 == <!--T:7-->
== Preparation of a VM running Debian10/Debian11 == <!--T:7-->
cc_staff
247

edits