When MIG is enabled on a GPU, running the basic counter demo also fails.
$ ./counter &
[3] 2026
$ echo hello | nc -u localhost 10000 -w 1
101
$ echo hello | nc -u localhost 10000 -w 1
102
$ /usr/local/cuda/bin/cuda-checkpoint --action lock --pid 2026
$ /usr/local/cuda/bin/cuda-checkpoint --action checkpoint --pid 2026
Could not checkpoint on process ID 2026: "out of memory"
When MIG is enabled on a GPU, running the basic counter demo also fails.
Repro:
nvidia-smi -i 0 --query-gpu=pci.bus_id,mig.mode.current --format=csvto check if MIG is enabledsudo nvidia-smi -i 0 -mig 1sudo nvidia-smi --gpu-resetsudo nvidia-smi mig -cgi 14 -C