Using cloud vGPUs: Difference between revisions

Jump to navigation Jump to search
Undo revision 154101 by Bott (talk)
(Undo revision 154102 by Bott (talk))
Tag: Undo
(Undo revision 154101 by Bott (talk))
Tag: Undo
Line 376: Line 376:
<!--T:67-->
<!--T:67-->
<pre>
<pre>
root@debian11:~# wget http://repo.arbutus.cloud.computecanada.ca/pulp/deb/deb11/pool/main/arbutus-cloud-repo_0.1_all.deb
root@debian11:~# wget http://repo.arbutus.cloud.computecanada.ca/pulp/deb/debian11/pool/main/arbutus-cloud-repo_0.2_all.deb
root@debian11:~# apt-get install -y ./arbutus-cloud-repo_0.1_all.deb
root@debian11:~# apt-get install -y ./arbutus-cloud-repo_0.2_all.deb
</pre>
</pre>


Line 387: Line 387:
root@debian11:~# apt-get update && apt-get -y install nvidia-vgpu-kmod nvidia-vgpu-tools nvidia-vgpu-gridd
root@debian11:~# apt-get update && apt-get -y install nvidia-vgpu-kmod nvidia-vgpu-tools nvidia-vgpu-gridd
</pre>
</pre>
<!-- ============ UPDATE PREPARATION DO NOT PUBLISH YET! ========================== -->
<!--
== Preparation of a VM running Ubuntu22 == <!--T:8-->
Ensure that the OS is up to date, that all the latest patches are installed, and that the latest stable kernel is running.
<!--T:48-->
<pre>
root@ubuntu22:~# apt-get update && apt-get -y dist-upgrade && reboot
</pre>
<!--T:49-->
After a successful reboot, the system should have the latest available kernel running.
Now 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:50-->
<pre>
<pre>
root@debian11:~# nvidia-smi  
root@ubuntu22:~# wget http://repo.arbutus.cloud.computecanada.ca/pulp/deb/ubnt22/pool/main/arbutus-cloud-repo_0.1_all.deb
root@ubuntu22:~# apt-get install ./arbutus-cloud-repo_0.1_all.deb
</pre>
 
<!--T:51-->
Update the local apt cache and install the vGPU packages:
<pre>
root@ubuntu22:~# apt-get update && apt-get -y install nvidia-vgpu-kmod nvidia-vgpu-tools nvidia-vgpu-gridd
</pre>
 
<!--T:52-->
If your installation was successful, the vGPU will be accessible and licensed.
 
<pre>
root@ubuntu22:~# nvidia-smi  
Wed Apr 24 14:37:52 2024       
Wed Apr 24 14:37:52 2024       
+-----------------------------------------------------------------------------------------+
+-----------------------------------------------------------------------------------------+
Line 410: Line 441:
+-----------------------------------------------------------------------------------------+
+-----------------------------------------------------------------------------------------+
</pre>
</pre>
-->


== Preparation of a VM running Ubuntu20 == <!--T:8-->
== Preparation of a VM running Ubuntu20 == <!--T:8-->
cc_staff
247

edits

Navigation menu