SuperServe:面向不可预测工作负载的细粒度推理服务
SuperServe: Fine-Grained Inference Serving for Unpredictable Workloads
AI总结:
本文提出SuperServe系统,通过SubNetAct机制在权重共享超级网络中动态路由请求,同时服务延迟-准确性权衡空间中的整个模型范围,实现细粒度反应式调度,显著提升准确性和SLO达成率。
摘要:
随着机器学习模型在数据中心和边缘的生产应用关键路径上的部署日益增多,要求机器学习推理服务系统能够在不可预测且突发的请求到达率下为这些模型提供服务。在此类条件下提供服务,要求这些系统在应用的延迟和准确性要求与稀缺资源的整体利用效率之间取得谨慎的平衡。最先进的系统通过要么在延迟-准确性权衡空间中选择一个静态点来服务所有请求,要么在请求服务的关键路径上加载特定模型来解决这一矛盾。在本工作中,我们通过同时服务跨越延迟-准确性权衡空间的整个模型范围来解决这一矛盾。我们的新机制SubNetAct通过在权重共享的超级网络中仔细插入专门的操作符来实现这一点。这些操作符使SubNetAct能够动态地将请求路由通过网络,以满足延迟和准确性目标。SubNetAct所需内存比先前最先进方法低至2.6倍,同时服务数量远更多的模型。此外,SubNetAct近乎瞬时的模型激活解锁了细粒度、反应式调度策略的设计空间。我们探索了一种极其有效的策略SlackFit的设计,并在真实系统SuperServe中实例化了SubNetAct和SlackFit。在源自真实世界微软Azure Functions工作负载的轨迹上,SuperServe在相同SLO达成率下实现了4.67%更高的准确性,在相同准确性下实现了2.85倍更高的SLO达成率,并在各种极度突发的合成轨迹上自动产生了最佳权衡。
英文摘要:
The increasing deployment of ML models on the critical path of production applications in both datacenter and the edge requires ML inference serving systems to serve these models under unpredictable and bursty request arrival rates. Serving models under such conditions requires these systems to strike a careful balance between the latency and accuracy requirements of the application and the overall efficiency of utilization of scarce resources. State-of-the-art systems resolve this tension by either choosing a static point in the latency-accuracy tradeoff space to serve all requests or load specific models on the critical path of request serving. In this work, we instead resolve this tension by simultaneously serving the entire-range of models spanning the latency-accuracy tradeoff space. Our novel mechanism, SubNetAct, achieves this by carefully inserting specialized operators in weight-shared SuperNetworks. These operators enable SubNetAct to dynamically route requests through the network to meet a latency and accuracy target. SubNetAct requires upto 2.6x lower memory to serve a vastly-higher number of models than prior state-of-the-art. In addition, SubNetAct's near-instantaneous actuation of models unlocks the design space of fine-grained, reactive scheduling policies. We explore the design of one such extremely effective policy, SlackFit and instantiate both SubNetAct and SlackFit in a real system, SuperServe. SuperServe achieves 4.67% higher accuracy for the same SLO attainment and 2.85x higher SLO attainment for the same accuracy on a trace derived from the real-world Microsoft Azure Functions workload and yields the best trade-offs on a wide range of extremely-bursty synthetic traces automatically.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。