Using cloud vGPUs: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:


== Preparation of a VM running CentOS7 == <!--T:5-->
== Preparation of a VM running CentOS7 == <!--T:5-->
Once the VM is available, make sure to update the OS to the latest available software, including the kernel and reboot the VM to have the latest kernel running.
<pre>
[root@test centos]# yum -y update && reboot
</pre>
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-7.noarch.rpm EPEL Repository]


== Preparation of a VM running CentOS8 == <!--T:6-->
== Preparation of a VM running CentOS8 == <!--T:6-->

Revision as of 15:44, 1 June 2020


This article is a draft

This is not a complete article: This is a draft, a work in progress that is intended to be published into an article, which may or may not be ready for inclusion in the main wiki. It should not necessarily be considered factual or authoritative.



Other languages:

This guide describes how to allocate vGPU resources to a virtual machine (VM), installing the necessary drivers and checking whether the vGPU can be used.

Supported flavors

To use a GPU within a VM, the instance needs to be deployed on one of the flavors listed below. The GPU will be available to the operating system via the PCI bus.

  • vgpu1-c18-56gb

Preparation of a VM running CentOS7

Once the VM is available, make sure to update the OS to the latest available software, including the kernel and reboot the VM to have the latest kernel running.

[root@test centos]# yum -y update && reboot

Since the proprietary nvidia drivers need to be compiled against the running kernel, the package dkms is required from the EPEL Repository


Preparation of a VM running CentOS8

Preparation of a VM running Debian10

Preparation of a VM running Ubuntu20