[Paper Review] Multi-model Machine Learning Inference Serving with GPU Spatial Partitioning
This paper proposes a GPU-aware scheduling framework called gpu-let that enables high-throughput, SLO-compliant multi-model machine learning inference by exploiting spatial partitioning of GPU resources. By dynamically allocating virtual GPU units (gpu-lets) based on model profiling and interference-aware scheduling, the system achieves 102.6% average throughput improvement over baseline methods while maintaining strict latency bounds.
As machine learning techniques are applied to a widening range of applications, high throughput machine learning (ML) inference servers have become critical for online service applications. Such ML inference servers pose two challenges: first, they must provide a bounded latency for each request to support consistent service-level objective (SLO), and second, they can serve multiple heterogeneous ML models in a system as certain tasks involve invocation of multiple models and consolidating multiple models can improve system utilization. To address the two requirements of ML inference servers, this paper proposes a new ML inference scheduling framework for multi-model ML inference servers. The paper first shows that with SLO constraints, current GPUs are not fully utilized for ML inference tasks. To maximize the resource efficiency of inference servers, a key mechanism proposed in this paper is to exploit hardware support for spatial partitioning of GPU resources. With the partitioning mechanism, a new abstraction layer of GPU resources is created with configurable GPU resources. The scheduler assigns requests to virtual GPUs, called gpu-lets, with the most effective amount of resources. The paper also investigates a remedy for potential interference effects when two ML tasks are running concurrently in a GPU. Our prototype implementation proves that spatial partitioning enhances throughput by 102.6% on average while satisfying SLOs.
Motivation & Objective
- To address the underutilization of GPUs in multi-model ML inference servers due to SLO-constrained batch sizes.
- To improve GPU resource utilization in multi-GPU environments by enabling concurrent execution of heterogeneous ML models.
- To design a new abstraction—gpu-let—that enables efficient spatial and temporal partitioning of GPU resources for predictable, low-latency inference.
- To model and mitigate interference between concurrent ML workloads running on shared GPU partitions.
- To evaluate the effectiveness of the proposed scheduler in dynamic, real-world request workloads under SLO constraints.
Proposed method
- Introduces gpu-let as a virtual GPU abstraction created via NVIDIA's MPS spatial partitioning mechanism to enable fine-grained GPU resource sharing.
- Profiles each ML model's computational requirements and latency characteristics to inform scheduling decisions.
- Employs an interference estimation model tuned for concurrent kernel execution on pre-Volta and Volta+ GPUs to predict performance degradation.
- Dynamically adjusts gpu-let sizes based on incoming request rates to maintain SLO compliance and maximize throughput.
- Uses a hybrid scheduling strategy combining spatial partitioning (via gpu-lets) and temporal batching to optimize resource utilization.
- Implements a prototype on PyTorch and evaluates it against an ideal exhaustive scheduler and baseline approaches.
Experimental results
Research questions
- RQ1Can spatial GPU partitioning significantly improve throughput in multi-model ML inference servers under strict SLO constraints?
- RQ2How can interference between concurrent ML workloads on shared GPU partitions be accurately modeled and mitigated?
- RQ3To what extent can a gpu-let-based scheduler match the performance of an ideal exhaustive scheduler in real-world scenarios?
- RQ4How does dynamic gpu-let reconfiguration respond to fluctuating request workloads while preserving SLOs?
- RQ5What is the trade-off between resource efficiency and SLO compliance when co-locating heterogeneous ML models on a single GPU?
Key findings
- The proposed gpu-let scheduler achieves an average throughput improvement of 102.6% compared to baseline methods under SLO constraints.
- The system successfully maintains SLO compliance, with only 0.14% of requests violating latency bounds despite dynamic workload changes.
- The scheduler achieves 92.3% of the maximum throughput of an ideal exhaustive scheduler, with a worst-case rate of 87.7%.
- The framework reduces SLO violations by dynamically adjusting gpu-let sizes in response to changes in request arrival rates.
- The interference estimation model enables accurate prediction of performance degradation when multiple models run concurrently on partitioned GPU resources.
- The prototype demonstrates that spatial partitioning significantly enhances GPU utilization in multi-model inference workloads, especially when batch sizes are constrained by SLOs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.