arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.17221cs.AIcs.AR
收藏

高效编排式AI工作流在可扩展空间架构上的执行

Efficient Orchestrated AI Workflows Execution on Scale-out Spatial Architecture

School of Integrated Circuits, Tsinghua University(清华大学集成电路学院);Shanghai Jiao Tong University(上海交通大学)

Jinyi Deng, Xinru Tang, Zhiheng Yue, Guangyang Lu, Qize Yang, Jiahao Zhang, Jinxi Li, Chao Li, Shaojun Wei, Yang Hu, Shouyi Yin

AI总结:

针对AI应用复杂性,提出编排式AI工作流模型及Octopus可扩展空间架构,通过先进调度策略有效应对动态性挑战,显著优于传统架构并具强可扩展性。

摘要:

鉴于AI应用日益复杂,传统空间架构常常力不从心。我们的分析识别出了一种包含AI和通用计算过程在内的互联、多层面任务的模式。为此,我们构思了“编排式AI工作流”,这是一种将各种任务与逻辑驱动决策整合为动态、复杂工作流的方法。具体而言,我们发现编排式AI工作流的内在双重动态性,即任务块的动态执行时间和频率,可以有效地用编排工作流图来表示。此外,这种内在双重动态性给现有空间架构带来了挑战,即无差别资源分配、反应式负载再平衡和传染性PE空闲。为克服这些挑战,我们提出了Octopus,一种可扩展的空间架构及一套针对执行编排式AI工作流优化的先进调度策略,如判别式双重调度机制、自适应TBU调度策略和主动式集群调度策略。我们的评估表明,Octopus在处理编排式AI工作流的动态需求方面显著优于传统架构,并在晶圆级芯片等大规模硬件上具备强大的可扩展性。

英文摘要:

Given the increasing complexity of AI applications, traditional spatial architectures frequently fall short. Our analysis identifies a pattern of interconnected, multi-faceted tasks encompassing both AI and general computational processes. In response, we have conceptualized "Orchestrated AI Workflows," an approach that integrates various tasks with logic-driven decisions into dynamic, sophisticated workflows. Specifically, we find that the intrinsic Dual Dynamicity of Orchestrated AI Workflows, namely dynamic execution times and frequencies of Task Blocks, can be effectively represented using the Orchestrated Workflow Graph. Furthermore, the intrinsic Dual Dynamicity poses challenges to existing spatial architecture, namely Indiscriminate Resource Allocation, Reactive Load Rebalancing, and Contagious PEA Idleness. To overcome these challenges, we present Octopus, a scale-out spatial architecture and a suite of advanced scheduling strategies optimized for executing Orchestrated AI Workflows, such as the Discriminate Dual-Scheduling Mechanism, Adaptive TBU Scheduling Strategy, and Proactive Cluster Scheduling Strategy. Our evaluations demonstrate that Octopus significantly outperforms traditional architectures in handling the dynamic demands of Orchestrated AI Workflows, and possesses robust scalability in large scale hardware such as wafer-scale chip.

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

↑