Inferensys

Glossary

NVIDIA MIG

Multi-Instance GPU (MIG) is a hardware-based virtualization technology that partitions a single NVIDIA data center GPU into multiple isolated, independent GPU instances, each with its own dedicated compute, memory, and cache resources.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
GPU PARTITIONING TECHNOLOGY

What is NVIDIA MIG?

NVIDIA Multi-Instance GPU (MIG) is a hardware-level virtualization feature that partitions a single physical data center GPU into multiple isolated, fully independent GPU instances, each with its own dedicated compute, memory, and cache resources.

NVIDIA MIG (Multi-Instance GPU) is a technology built into the NVIDIA Ampere architecture and later that divides a single physical GPU into up to seven completely isolated instances. Each instance appears to the operating system and applications as a discrete, independent GPU with a dedicated portion of high-bandwidth memory, dedicated streaming multiprocessors, and a guaranteed quality of service. This hardware-enforced isolation prevents any instance from accessing another's resources, ensuring fault containment and predictable performance in multi-tenant environments.

MIG is critical for sovereign AI infrastructure and disconnected Kubernetes clusters, where maximizing the utilization of scarce, locally installed GPUs is paramount. By partitioning a single A100 or H100 GPU, platform engineers can simultaneously serve a large language model inference task, a small fine-tuning job, and a development notebook on the same physical node without resource contention. The NVIDIA GPU Operator automates the discovery and configuration of MIG instances in Kubernetes, exposing them as allocatable resources via the device plugin framework for precise scheduling.

GPU PARTITIONING TECHNOLOGY

Key Features of NVIDIA MIG

Multi-Instance GPU (MIG) fundamentally rearchitects how a single physical GPU can be partitioned into multiple, fully isolated hardware instances, each with dedicated compute, memory, and cache resources for deterministic performance in multi-tenant environments.

01

Hardware-Level Isolation

Unlike software-based virtualization, MIG partitions the GPU at the hardware level using the NVIDIA Ampere architecture and later. Each instance receives dedicated Streaming Multiprocessors (SMs), L2 cache slices, and memory bandwidth. This prevents noisy-neighbor interference where one workload's memory thrashing degrades another's performance. The isolation extends to error containment—a fault in one instance cannot corrupt or crash another, making MIG suitable for multi-tenant Kubernetes clusters where different teams or customers share a single GPU.

7
Max Instances per A100
02

Fractional GPU Profiles

MIG exposes configurable GPU Instance (GI) sizes that administrators can combine to match workload requirements. On an NVIDIA A100 80GB, available profiles range from a 1g.5gb slice (1/7th of compute, 5GB memory) to a full 7g.80gb instance. Each GI can be further subdivided into Compute Instances (CIs) that share the GI's memory but isolate compute streams. This granularity allows platform engineers to right-size GPU resources for inference serving, where a small language model might only need a 1g.10gb slice rather than monopolizing an entire GPU.

1/7
Smallest Compute Fraction
03

Deterministic Quality of Service

Each MIG instance receives dedicated memory bandwidth and guaranteed throughput independent of other instances. The GPU's on-chip crossbar switch and memory controllers enforce strict partitioning. This delivers predictable latency for real-time inference workloads where tail latency matters. In air-gapped sovereign deployments, deterministic QoS ensures that a mission-critical inference service running on one instance cannot be starved by a batch training job on another—a critical requirement for defense and healthcare environments where Service Level Agreements must be met regardless of co-located workloads.

05

Concurrent Multi-Service Architecture

MIG enables a single physical GPU to simultaneously serve heterogeneous workloads without context switching overhead. A typical configuration on an A100 might run:

  • Two 2g.20gb instances for moderate-throughput LLM inference
  • One 3g.40gb instance for a larger model or fine-tuning job Each instance can run a different framework—Triton Inference Server on one, vLLM on another, and a PyTorch training loop on a third—all on the same physical die. This consolidation dramatically improves GPU utilization in air-gapped data centers where hardware procurement is constrained and every accelerator must be maximized.
06

MIG Mode vs. GPU Time-Slicing

MIG differs fundamentally from GPU time-slicing and Multi-Process Service (MPS). Time-slicing rapidly context-switches between processes, introducing jitter and cache thrashing. MPS shares the GPU context but provides no memory isolation—a single process can exhaust all memory. MIG provides physical partitioning with:

  • Dedicated memory: No overcommitment or OOM cross-contamination
  • Dedicated cache: No L2 cache eviction from co-located workloads
  • Fault isolation: Errors are contained to the instance For sovereign AI infrastructure requiring strict multi-tenancy guarantees, MIG is the only option that delivers hardware-enforced boundaries.
GPU PARTITIONING COMPARISON

MIG vs. GPU Virtualization Approaches

A technical comparison of NVIDIA Multi-Instance GPU against alternative GPU virtualization and sharing strategies for AI workloads in disconnected Kubernetes environments.

FeatureNVIDIA MIGvGPU Time-SlicingMPS

Isolation Mechanism

Hardware-level (physical SM/memory partitioning)

Software scheduler (driver-level)

Software context sharing (CUDA API-level)

Fault Isolation

Memory Bandwidth QoS

Dedicated per instance

Best-effort, contention possible

Shared, no guaranteed QoS

Cache Partitioning

Dedicated L2 cache slices

Shared, cache thrashing risk

Shared, cache thrashing risk

Security Boundary

Hardware-enforced isolation

No hardware isolation

No isolation, shared address space

Concurrent Model Serving

Predictable, deterministic latency

Variable latency under load

Low latency but single-context risk

Supported GPU Architectures

A100, A30, H100, H200

Most NVIDIA data center GPUs

Most NVIDIA data center GPUs

Instance Granularity

Fixed profiles (1g, 2g, 3g, 4g, 7g)

Arbitrary fractional GPU

Full GPU shared proportionally

NVIDIA MIG EXPLAINED

Frequently Asked Questions

Clear, technical answers to the most common questions about partitioning NVIDIA data center GPUs using Multi-Instance GPU technology for isolated, high-efficiency AI workloads in disconnected Kubernetes environments.

NVIDIA Multi-Instance GPU (MIG) is a hardware-based virtualization technology that partitions a single physical NVIDIA data center GPU—such as the A100 or H100—into up to seven fully isolated, independent GPU instances. Each instance receives a dedicated, hardware-enforced slice of the GPU's streaming multiprocessors (SMs), L2 cache, memory bandwidth, and high-bandwidth memory (HBM), with its own memory controllers and error isolation. Unlike software-based time-slicing, MIG operates at the silicon level, ensuring that a fault in one instance cannot impact another. This deterministic quality of service (QoS) makes MIG ideal for consolidating multiple inference, training, or rendering workloads onto a single physical GPU without resource contention, maximizing utilization in air-gapped Kubernetes clusters where hardware efficiency is paramount.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.