ML Inference Scheduling with Predictable Latency
Haidong Zhao, Nikolaos Georgantas
TL;DR
Unpredictable interference in GPU-based ML inference scheduling can cause deadline violations while pursuing high utilization. The authors critique existing coarse-grained and static interference predictors and evaluate how co-location dynamics and workload drift degrade accuracy. They implement a linear-regression predictor using co-located batch metrics on NVIDIA GPUs, exploring fully ignoring versus EWMA-smoothed co-location signals and online versus offline learning (SGD, RLS). They find that static/offline models struggle with changing workloads, online learning improves accuracy with RLS offering faster convergence, and outline directions to generalize the approach for broader cloud/on-prem deployment and higher concurrency.
Abstract
Machine learning (ML) inference serving systems can schedule requests to improve GPU utilization and to meet service level objectives (SLOs) or deadlines. However, improving GPU utilization may compromise latency-sensitive scheduling, as concurrent tasks contend for GPU resources and thereby introduce interference. Given that interference effects introduce unpredictability in scheduling, neglecting them may compromise SLO or deadline satisfaction. Nevertheless, existing interference prediction approaches remain limited in several respects, which may restrict their usefulness for scheduling. First, they are often coarse-grained, which ignores runtime co-location dynamics and thus restricts their accuracy in interference prediction. Second, they tend to use a static prediction model, which may not effectively cope with different workload characteristics. To this end, we evaluate the potential limitations of existing interference prediction approaches and outline our ongoing work toward achieving efficient ML inference scheduling.
