Skip to content

MIG Reconfigure ​

MIG (Multi-Instance GPU) is supported on NVIDIA A100 / H100 / H200 / B100 class GPUs. You can split an A100 80GB logically into:

  • 1× full GPU (default, MIG off)
  • 1× 7g.80gb (whole card as 1 MIG slice)
  • 2× 3g.40gb
  • 3× 2g.20gb + 1× 1g.10gb
  • 7× 1g.10gb (max instances)

Each part is isolated in terms of VRAM and compute cores; a container cannot see another's GPU.

When to use MIG ​

Good uses:

  • Run several small models (7B) on a single 80GB GPU.
  • Isolation for test/dev (1g.10gb for one team, 2g.20gb for another).
  • Cost/throughput optimization (4× 7B in parallel vs 1× 72B).

Bad uses:

  • If you already use a single big model (Qwen 72B), MIG gives no benefit; leave the full GPU.
  • Very bursty workloads — there is no migration between MIG instances.

Destructive operation ​

No data loss, but in-flight requests are lost

Changing MIG ends all CUDA contexts on that GPU. The console drains the bound deployments first, but in-flight requests (chat completion streams) are cut. Choose the timing carefully when there is production traffic.

UI flow ​

Host detail → Reconfigure MIG:

  1. Pick the Target GPU (MIG-capable ones are listed; T4/V100 do not appear).
  2. Pick a Layout preset:
    • Disable MIG (full GPU) — the whole card is a single slice
    • 1× 7g.80gb (whole card as one MIG) — a single instance, MIG on
    • 2× 3g.40gb
    • 3× 2g.20gb + 1× 1g.10gb
    • 7× 1g.10gb (max instances)
  3. Apply layout → the UI shows you how many deployments will be drained.

In the background, the console:

  1. Finds the deployments bound to that GPU.
  2. Sets actualState = draining, desiredState = stopped.
  3. Sends an apply-mig-profile command to the agent.
  4. Agent: stops the bound containers → nvidia-smi mig -dci/-dgi (deletes the existing ones) → nvidia-smi -mig 1 (enables it if needed) → nvidia-smi mig -cgi <profiles> -C.
  5. The agent probes the new slices and emits a mig-layout-applied event.
  6. The console deletes the old slice rows, and the next heartbeat brings the new layout.

What to expect in terms of time ​

  • Between 5 and 30 seconds, including the drain.
  • Varies with the network/host.
  • No reboot needed.

After reconfiguring ​

The earlier deployments stay in the stopped state. To bind them to the new slice UUIDs:

  1. See the new slice list in the host detail.
  2. Delete the old deployment (the container inside is already gone).
  3. Start again on the new slice with Deploy model.

Auto-rebind is planned for a future version: automatically moving the same model to a slice with the same profile.

CLI parity (for developers) ​

The same operation by hand on a host without the agent:

bash
# Delete the existing MIG instances
sudo nvidia-smi mig -i 0 -dci
sudo nvidia-smi mig -i 0 -dgi

# Turn MIG mode on (if needed)
sudo nvidia-smi -i 0 -mig 1

# New profile + compute instance
sudo nvidia-smi mig -i 0 -cgi 3g.40gb,3g.40gb -C

# Show
nvidia-smi -L

The agent runs the same commands; the only difference is the drain orchestration.

Without MIG ​

A MIG-incapable GPU (T4, V100, 4090, RTX A6000) is hidden in the MIG UI. On Apple Silicon and CPU hosts there is no MIG concept — the MIG modal shows "no MIG-capable GPUs".

Next step ​

→ Terminal Access — for diagnostics on the host.

Studio · Pulse · Console · Agent SDK and more — the Cognipeer documentation hub