Skip to content

Commit a9603f7

Browse files
committed
Add details on selecting vgpu mdev config
1 parent 9fb46fb commit a9603f7

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

doc/source/operations/gpu-in-openstack.rst

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,38 @@ hosts can automatically be mapped to these groups by configuring
276276
Role Configuration
277277
------------------
278278

279-
Configure the VGPU devices:
279+
Lookup the supported VGPU devices (here we use an H100 as an example).
280+
``0000:06:00.0`` is the PCI address of the GPU itself. You can find this with
281+
``lspci | grep NVIDIA``.
282+
283+
.. code-block:: bash
284+
285+
# Find the supported mdev types
286+
ls /sys/class/mdev_bus/0000\:06\:00.0/mdev_supported_types/
287+
nvidia-1130 nvidia-1131 nvidia-1132 nvidia-1133 nvidia-1134 nvidia-1135 nvidia-1136 nvidia-1137 nvidia-1138 nvidia-1139 nvidia-1140 nvidia-1141 nvidia-1142 nvidia-1143 nvidia-1144
288+
289+
# Find the names of these types.
290+
cat /sys/class/mdev_bus/0000\:06\:00.0/mdev_supported_types/*/name
291+
NVIDIA H100XM-1-10CME
292+
NVIDIA H100XM-1-10C
293+
NVIDIA H100XM-1-20C
294+
NVIDIA H100XM-2-20C
295+
NVIDIA H100XM-3-40C
296+
NVIDIA H100XM-4-40C
297+
NVIDIA H100XM-7-80C
298+
NVIDIA H100XM-4C
299+
NVIDIA H100XM-5C
300+
NVIDIA H100XM-8C
301+
NVIDIA H100XM-10C
302+
NVIDIA H100XM-16C
303+
NVIDIA H100XM-20C
304+
NVIDIA H100XM-40C
305+
NVIDIA H100XM-80C
306+
307+
308+
Configure the VGPU devices (here we use an A100 as a different example). See
309+
`the NVIDIA VGPU user guide <https://docs.nvidia.com/vgpu/15.0/grid-vgpu-user-guide/index.html>`__`
310+
for details on device types.
280311

281312
.. code-block:: yaml
282313
:caption: $KAYOBE_CONFIG_PATH/inventory/group_vars/compute_vgpu/vgpu

0 commit comments

Comments
 (0)