Viewing GPU and MIG Devices Using nvidia-smi Commands

View GPU and MIG device information using nvidia-smi commands.

Prerequisites

Required access rights: Platform Administrator

About this task

The NVIDIA System Management Interface (nvidia-smi) is a command line utility that enables you to view and modify GPU device state. It is also used to configure MIG devices. For more information about nvidia-smi, see the following NVIDIA documentation (links open an external website in a new browser tab or window):

Procedure

To view the MIG devices on a node, you can use the nvidia-smi -L command.

For example, the following output shows a single physical GPU device with three MIG instances, each of which has a different MIG configuration (also called a MIG profile):

sudo nvidia-smi -L

GPU 0: NVIDIA A100-PCIE-40GB (UUID: GPU-b5e82144-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
  MIG 3g.20gb     Device  0: (UUID: MIG-cc1de538-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
  MIG 2g.10gb     Device  1: (UUID: MIG-202913a0-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
  MIG 1g.5gb      Device  2: (UUID: MIG-01efa7b8-xxxx-xxxx-xxxx-xxxxxxxxxxxx)

See also Troubleshooting MIG on HPE Ezmeral Runtime Enterprise.