Adaptive Orchestration for Large-Scale Inference on Heterogeneous Accelerator Systems Balancing Cost, Performance, and Resilience
Yahav Biran, Imry Kissos
TL;DR
This work tackles scaling large-scale, latency-sensitive inference across heterogeneous accelerators while controlling costs. It introduces a hardware-agnostic control loop with two operating modes—cost-optimized and capacity-optimized—driven by real-time cost and capacity signals, and formalizes this through an optimization framework and a capacity-dynamics state machine. The methodology describes a cloud-native, layered architecture (Data Plane, Model Execution Layer, Resource Orchestration) with containerization, dynamic scaling, and hardware-agnostic policies, implemented on Kubernetes/EKS and AWS Neuron/GPU stacks. Experimental results on Stable Diffusion show consistent latency targets, effective failover during capacity shortfalls, and cost-aware traffic distribution, illustrating practical pathways to scale generative workloads with resilience across diverse hardware. Overall, the system enables efficient, resilient inference at scale by coordinating cross-hardware execution through a feedback-driven deployment strategy spanning software and hardware layers.
Abstract
The surge in generative AI workloads has created a need for scalable inference systems that can flexibly harness both GPUs and specialized accelerators while containing operational costs. This paper proposes a hardware-agnostic control loop that adaptively allocates requests across heterogeneous accelerators based on real-time cost and capacity signals. The approach sustains low latency and high throughput by dynamically shifting between cost-optimized and capacity-optimized modes, ensuring the most efficient use of expensive compute resources under fluctuating availability. Evaluated using the Stable Diffusion model, the framework consistently meets latency targets, automatically redirects traffic during capacity shortfalls, and capitalizes on lower-cost accelerators when possible. These results highlight how a feedback-driven deployment strategy, spanning the entire software and hardware stack, can help organizations efficiently scale generative AI workloads while maintaining resilience in the face of limited accelerator capacity.
