Using MIG GPU Resources¶
This section explains how applications can utilize MIG GPU resources.
Prerequisites¶
- Nvidia Driver is installed, refer to Nvidia GPU Driver Installation
- MIG capability is enabled, refer to Creating MIG with GPU Operator
- Cluster nodes have MIG-enabled GPU cards inserted
Using MIG GPU via GUI¶
-
Confirm if the cluster has recognized the GPU card type
Go to
Cluster Details
->Cluster Settings
->Addon Settings
to check if the GPU card type is correctly recognized. The automatic recognition frequency is every10 minutes
. -
When deploying an application via an image, you can select and utilize Nvidia MIG resources.
-
When using
MIG Single
mode, the resource information to be added should be: -
When using
MIG Mixed
mode, the resource information to be added should be:- The resource type nvidia.com/mig-
g. gb exposes individual MIG devices.
- The resource type nvidia.com/mig-
-
-
Once inside the container, you can see that only one MIG device is being used.