Bureaucrats, cc_docs_admin, cc_staff
2,879
edits
(Marked this version for translation) Tag: Reverted |
Tag: Undo |
||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
This page describes how to | This page describes how to | ||
* allocate virtual GPU (vGPU) resources to a virtual machine (VM), | * allocate virtual GPU (vGPU) resources to a virtual machine (VM), | ||
Line 10: | Line 9: | ||
If you choose to install the toolkit directly from NVIDIA, please ensure that the vGPU driver is not overwritten with the one from the CUDA package. | If you choose to install the toolkit directly from NVIDIA, please ensure that the vGPU driver is not overwritten with the one from the CUDA package. | ||
== Supported flavors == | == Supported flavors == | ||
<!--T:3--> | <!--T:3--> | ||
Line 19: | Line 18: | ||
* g1-16gb-c8-40gb | * g1-16gb-c8-40gb | ||
== Preparation of a VM running AlmaLinux 9 == | == Preparation of a VM running AlmaLinux 9 == | ||
Once the VM is available, make sure to update the OS to the latest available software, including the kernel. | 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. | Then, reboot the VM to have the latest kernel running. | ||
To have access to the [https://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support DKMS package], the [https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm EPEL repository] is required. | To have access to the [https://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support DKMS package], the [https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm EPEL repository] is required. | ||
AlmaLinux 9 has by default a faulty <code>nouveau</code> driver which crashes the kernel as soon as the <code>nvidia</code> driver is mounted. | AlmaLinux 9 has by default a faulty <code>nouveau</code> driver which crashes the kernel as soon as the <code>nvidia</code> driver is mounted. | ||
The VM needs a few extra steps to prevent the loading of the nouveau driver when the system boots. | The VM needs a few extra steps to prevent the loading of the nouveau driver when the system boots. | ||
Line 40: | Line 36: | ||
<translate> | <translate> | ||
After the reboot of the VM, the Arbutus vGPU Cloud repository needs to be installed. | After the reboot of the VM, the Arbutus vGPU Cloud repository needs to be installed. | ||
Line 48: | Line 43: | ||
<translate> | <translate> | ||
The next step is to install the vGPU packages, which will install the required driver and user-space tools. | The next step is to install the vGPU packages, which will install the required driver and user-space tools. | ||
Line 57: | Line 51: | ||
<translate> | <translate> | ||
After a successful installation, <code>nvidia-smi</code> can be used to verify the proper functionality. | After a successful installation, <code>nvidia-smi</code> can be used to verify the proper functionality. | ||
Line 86: | Line 79: | ||
<translate> | <translate> | ||
== Preparation of a VM running AlmaLinux 8 == | == Preparation of a VM running AlmaLinux 8 == | ||
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. | 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. | ||
To have access to the [https://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support DKMS package], the EPEL repository is required. | To have access to the [https://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support DKMS package], the EPEL repository is required. | ||
Line 98: | Line 90: | ||
<translate> | <translate> | ||
After the reboot of the VM, the Arbutus vGPU Cloud repository needs to be installed. | After the reboot of the VM, the Arbutus vGPU Cloud repository needs to be installed. | ||
Line 107: | Line 98: | ||
<translate> | <translate> | ||
The next step is to install the vGPU packages, which will install the required driver and user-space tools. | The next step is to install the vGPU packages, which will install the required driver and user-space tools. | ||
</translate> | </translate> | ||
Line 115: | Line 105: | ||
<translate> | <translate> | ||
After a successful installation, <code>nvidia-smi</code> can be used to verify the proper functionality. | After a successful installation, <code>nvidia-smi</code> can be used to verify the proper functionality. | ||
Line 143: | Line 132: | ||
<translate> | <translate> | ||
== Preparation of a VM running Debian 11 == | == Preparation of a VM running Debian 11 == | ||
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 152: | Line 141: | ||
<translate> | <translate> | ||
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. | 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. | This package also contains the gpg key all packages are signed with. | ||
Line 163: | Line 151: | ||
<translate> | <translate> | ||
Update the local apt cache and install the vGPU packages: | Update the local apt cache and install the vGPU packages: | ||
Line 196: | Line 183: | ||
<translate> | <translate> | ||
== Preparation of a VM running Debian 12 == | == Preparation of a VM running Debian 12 == | ||
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 205: | Line 192: | ||
<translate> | <translate> | ||
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. | 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. | This package also contains the gpg key all packages are signed with. | ||
Line 216: | Line 202: | ||
<translate> | <translate> | ||
Update the local apt cache and install the vGPU packages: | Update the local apt cache and install the vGPU packages: | ||
Line 249: | Line 234: | ||
<translate> | <translate> | ||
== Preparation of a VM running Ubuntu 22 == | == Preparation of a VM running Ubuntu 22 == | ||
Ensure that the OS is up to date, that all the latest patches are installed, and that the latest stable kernel is running. | Ensure that the OS is up to date, that all the latest patches are installed, and that the latest stable kernel is running. | ||
Line 258: | Line 243: | ||
<translate> | <translate> | ||
After a successful reboot, the system should have the latest available kernel running. | 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. | Now the repository can be installed by installing the <code>arbutus-cloud-repo</code> package. | ||
Line 270: | Line 254: | ||
<translate> | <translate> | ||
Update the local apt cache and install the vGPU packages: | Update the local apt cache and install the vGPU packages: | ||
</translate> | </translate> | ||
Line 278: | Line 261: | ||
<translate> | <translate> | ||
If your installation was successful, the vGPU will be accessible and licensed. | If your installation was successful, the vGPU will be accessible and licensed. | ||
Line 307: | Line 289: | ||
<translate> | <translate> | ||
== Preparation of a VM running Ubuntu 20 == | == Preparation of a VM running Ubuntu 20 == | ||
Ensure that the OS is up to date, that all the latest patches are installed, and that the latest stable kernel is running. | Ensure that the OS is up to date, that all the latest patches are installed, and that the latest stable kernel is running. | ||
Line 316: | Line 298: | ||
<translate> | <translate> | ||
After a successful reboot, the system should have the latest available kernel running. | 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. | Now the repository can be installed by installing the <code>arbutus-cloud-repo</code> package. | ||
Line 328: | Line 309: | ||
<translate> | <translate> | ||
Update the local apt cache and install the vGPU packages: | Update the local apt cache and install the vGPU packages: | ||
</translate> | </translate> | ||
Line 336: | Line 316: | ||
<translate> | <translate> | ||
If your installation was successful, the vGPU will be accessible and licensed. | If your installation was successful, the vGPU will be accessible and licensed. | ||