Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

11.3.3. Launching a vGPU instance

You can create a GPU-enabled instance for GPU workloads.

Procedure

  1. Create an instance using a GPU flavor and image. For example:

    (overcloud) [stack@virtlab-director2 ~]$ openstack server create --flavor m1.small-gpu --image vgpu_image --security-group web --nic net-id=internal0 --key-name lambda vgpu-instance
  2. Log in to the instance as a cloud-user. For more information, see Log in to an Instance.
  3. To verify that the GPU is accessible from the instance, run the following command from the instance:

    $ lspci -nn | grep <gpu_name>