arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.01679cs.DC
收藏

ODIN:克服推理流水线中的动态干扰

ODIN: Overcoming Dynamic Interference in iNference pipelines

Pirah Noor Soomro, Nikela Papadopoulou, Miquel Pericàs

AI总结:

本文针对共置任务对推理流水线造成的动态干扰,提出 ODIN 通过在线检测干扰并重平衡流水线阶段来维持 CNN 推理的 SLO、延迟与吞吐量,且优于 LLS。

摘要:

随着越来越多的企业由机器学习驱动,推理成为一项核心操作,并呈现出作为服务提供的增长趋势。在此背景下,推理任务必须满足特定的服务级目标(SLO),例如高吞吐量和低延迟。然而,这些目标可能会因长期或短期共置任务造成的干扰而受损。以往工作关注协同调度这一通用问题,以缓解干扰对性能关键任务的影响。本文聚焦推理流水线,并提出 ODIN,这是一种基于流水线阶段在线调度来缓解干扰对推理任务性能影响的技术。该技术在线检测干扰,并自动重新平衡流水线阶段,以缓解推理任务的性能下降。我们证明,ODIN 成功缓解了干扰影响,维持了 CNN 推理的延迟和吞吐量,并且优于用于干扰缓解的常见技术——最小负载调度(LLS)。此外,它能有效维持推理的服务级目标,并且可扩展到在多个处理单元上执行的大型网络模型。

英文摘要:

As an increasing number of businesses becomes powered by machine-learning, inference becomes a core operation, with a growing trend to be offered as a service. In this context, the inference task must meet certain service-level objectives (SLOs), such as high throughput and low latency. However, these targets can be compromised by interference caused by long- or short-lived co-located tasks. Prior works focus on the generic problem of co-scheduling to mitigate the effect of interference on the performance-critical task. In this work, we focus on inference pipelines and propose ODIN, a technique to mitigate the effect of interference on the performance of the inference task, based on the online scheduling of the pipeline stages. Our technique detects interference online and automatically re-balances the pipeline stages to mitigate the performance degradation of the inference task. We demonstrate that ODIN successfully mitigates the effect of interference, sustaining the latency and throughput of CNN inference, and outperforms the least-loaded scheduling (LLS), a common technique for interference mitigation. Additionally, it is effective in maintaining service-level objectives for inference, and it is scalable to large network models executing on multiple processing elements.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑