News Infrastructure

Amazon SageMaker Inference adds Multi-Instance GPU partitioning

Amazon SageMaker Inference now splits one NVIDIA GPU into hardware-isolated partitions, so each partition can host a different model on one endpoint.

Amazon SageMaker Inference now lets one physical GPU be divided into hardware-isolated partitions, with a different model running in each. AWS says the feature uses NVIDIA Multi-Instance GPU (MIG), which splits a GPU into as many as seven instances, depending on the GPU.

Until now, the smallest GPU unit a model endpoint could request was one whole accelerator. AWS says that capped the number of models on an instance at its GPU count. An instance with eight A100 GPUs held eight models, whether each needed 40 GB or 14 GB of memory.

Each partition receives a fixed share of the GPU's compute units and a dedicated block of memory. AWS says the isolation is enforced in hardware, so one model's traffic spike does not affect another model's latency, and a crash stays inside its partition. Slice sizes can be mixed on one device.

Partitioning is also a way to pick a fraction of a newer accelerator instead of a whole GPU from either generation. It works only on endpoints that use inference components, which deploy several models to one endpoint and set the compute each model gets. Single-model endpoints, serverless endpoints, and heterogeneous instance pools cannot be partitioned.

Source: SageMaker Inference now supports Multi-Instance GPU to maximize GPU utilization for model endpoints | Artificial Intelligence.