...
Code Block |
---|
# nvidia-smi -h NVIDIA System Management Interface -- v450.51.06 # nvidia-smi mig -lci +-------------------------------------------------------+ | Compute instances: | | GPU GPU Name Profile Instance | | Instance ID ID | | ID | |=======================================================| | 0 7 MIG 1g.5gb 0 0 | +-------------------------------------------------------+ |
CUDA_VISIBLE_DEVICES
Instead of CUDA_VISIBLE_DEVICES being filled with the UUIDs of the GPUs, it will be instead the UUID of the CIs.
Their format is MIG-<GPU-UUID>/<GI>/<CI>.
Code Block |
---|
[vstumpf@gpusrv-01 ~]$ qsub -I -lselect=ngpus=2
qsub: waiting for job 1007.gpusrv-01 to start
qsub: job 1007.gpusrv-01 ready
[vstumpf@gpusrv-01 ~]$ echo $CUDA_VISIBLE_DEVICES
MIG-GPU-abcdefgh-hijk-lmno-pqrs-tuvwxyz12345/7/0,MIG-GPU-abcdefgh-hijk-lmno-pqrs-tuvwxyz12345/8/0 |
External Interface Changes
...