GPU partitioning
GPU partitioning splits one physical GPU into several smaller, isolated GPUs, so that several workloads can share it safely.
GPU partitioning divides one GPU into separate instances, each with its own share of compute units and memory. NVIDIA calls its version Multi-Instance GPU, or MIG, and a large data center GPU can be split into up to seven instances. Each instance appears to software as a GPU of its own. Its memory and compute are reserved, so one instance cannot slow or read another.
Many workloads need far less than a whole modern GPU. Partitioning lets several of them share one card instead of leaving most of it idle. The split is set by an administrator into fixed sizes, and changing it means stopping the workloads on that GPU. Other ways to share a GPU, such as time-slicing, switch the whole GPU between workloads and do not isolate them as well.
GPU partitioning lets a platform give a sandbox a small GPU instead of a whole one. Each sandbox gets its own instance, isolated from the sandboxes using other parts of the same card. This suits sandboxes that run small models or tests, which would waste a full GPU. Large training or inference still needs whole GPUs, often several in one sandbox.
Related terms