...
This creates 2 gpu instances of ID 15, the -C flag creates a default compute instance. (Recommended to always run -C unless you know what you need specifically)
Note |
---|
The ID used in the creation is a Profile ID, to perform actions on your created segments, you will need to reference it’s Instance ID |
nvidia-smi mig -lgi
this will now show you the GPU instances that you’ve created.
...
It is still possible to run applications on the GPU UUID as well as the MIG UUIDs.
...
Deleting MIG Instances:
Some other helpful commands to do various operations:
You can reset your MIG configuration by resetting the GPU
sudo nvidia-smi --gpu-reset
Info |
---|
You will have to enable MIG again if you reset the GPU. (step 3 above) |
Alternatively you can delete your compute instances
nvidia-smi mig -dci
Then your GPU instances
nvidia-smi mig -dgi
Info |
---|
These two commands will delete all the instances |
For more specific control, refer to these docs: NVIDIA Multi-Instance GPU User Guide :: NVIDIA Data Center GPU Driver Documentation
🔖 References
All information is taken from the NVIDIA MIG Documentation
...