@@ -6,7 +6,7 @@ PCI Passthrough
66###############
77
88Prerequisite - BIOS Configuration
9- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9+ ---------------------------------
1010
1111On an Intel system:
1212
@@ -23,14 +23,14 @@ It may be possible to configure passthrough without these settings, though
2323stability or performance may be affected.
2424
2525Host and Service Configuration
26- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26+ ------------------------------
2727
2828PCI passthrough GPU variables can be found in the
2929``etc/kayobe/stackhpc-compute.yml `` file.
3030
3131The ``gpu_group_map `` is a dictionary mapping inventory groups to GPU types.
3232This is used to determine which GPU types each compute node should pass through
33- to OpenStack. The keys are group names, the values are a list of GPU types.
33+ to OpenStack. The keys are group names, the values are a list of GPU types.
3434
3535Possible GPU types are defined in the ``stackhpc_gpu_data `` dictionary. It
3636contains data for many common GPUs. If you have a GPU that is not included,
@@ -76,7 +76,7 @@ Once host configuration is complete, deploy the OpenStack services:
7676 kayobe overcloud service deploy -kt nova --kolla-limit compute_a100,compute_v100,compute_multi_gpu
7777
7878 Create a flavor
79- ^^^^^^^^^^^^^^^
79+ ---------------
8080
8181For example, to request two of the GPUs with alias **v100_32 **
8282
@@ -109,7 +109,7 @@ Invoke configuration playbooks afterwards:
109109 tools/openstack-config --vault-password-file <Vault password file path>
110110
111111 Create instance with GPU passthrough
112- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
112+ ------------------------------------
113113
114114.. code-block :: text
115115
@@ -273,7 +273,7 @@ hosts can automatically be mapped to these groups by configuring
273273 .. _NVIDIA Role Configuration :
274274
275275Role Configuration
276- ^^^^^^^^^^^^^^^^^^
276+ ------------------
277277
278278Configure the VGPU devices:
279279
@@ -319,7 +319,7 @@ Configure the VGPU devices:
319319 .. _NVIDIA Kolla Ansible Configuration :
320320
321321Kolla-Ansible configuration
322- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
322+ ---------------------------
323323
324324See upstream documentation: `Kolla Ansible configuration <https://docs.openstack.org/kayobe/latest/configuration/reference/vgpu.html#kolla-ansible-configuration >`__
325325then follow the rest.
@@ -367,12 +367,12 @@ You will need to reconfigure nova for this change to be applied:
367367 kayobe overcloud service deploy -kt nova --kolla-limit compute_vgpu
368368
369369 Openstack flavors
370- ^^^^^^^^^^^^^^^^^
370+ -----------------
371371
372372See upstream documentation: `OpenStack flavors <https://docs.openstack.org/kayobe/latest/configuration/reference/vgpu.html#openstack-flavors >`__
373373
374374NVIDIA License Server
375- ^^^^^^^^^^^^^^^^^^^^^
375+ ---------------------
376376
377377The Nvidia delegated license server is a virtual machine based appliance. You simply need to boot an instance
378378using the image supplied on the NVIDIA Licensing portal. This can be done on the OpenStack cloud itself. The
@@ -449,7 +449,7 @@ Booting the VM:
449449
450450
451451 Manual VM driver and licence configuration
452- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
452+ ------------------------------------------
453453
454454vGPU client VMs need to be configured with Nvidia drivers to run GPU workloads.
455455The host drivers should already be applied to the hypervisor.
@@ -519,7 +519,7 @@ includes the drivers and licencing token. Alternatively, an image can be
519519created using Diskimage Builder.
520520
521521Disk image builder recipe to automatically license VGPU on boot
522- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
522+ ---------------------------------------------------------------
523523
524524`stackhpc-image-elements <https://github.com/stackhpc/stackhpc-image-elements >`__ provides a ``nvidia-vgpu ``
525525element to configure the nvidia-gridd service in VGPU mode. This allows you to boot VMs that automatically license themselves.
@@ -597,7 +597,7 @@ into your openstack-config repository and vault encrypt it. The ``file`` lookup
597597the file (as shown in the example above).
598598
599599Testing vGPU VMs
600- ^^^^^^^^^^^^^^^^
600+ ----------------
601601
602602vGPU VMs can be validated using the following test workload. The test should
603603succeed if the VM is correctly licenced and drivers are correctly installed for
@@ -657,7 +657,7 @@ Example output:
657657 Test passed
658658
659659 Changing VGPU device types
660- ^^^^^^^^^^^^^^^^^^^^^^^^^^
660+ --------------------------
661661
662662See upstream documentation: `Changing VGPU device types <https://docs.openstack.org/kayobe/latest/configuration/reference/vgpu.html#changing-vgpu-device-types >`__
663663
0 commit comments