M100:一种赋能通用人工智能计算的协同数据流架构
M100: An Orchestrated Dataflow Architecture Powering General AI Computing
AI总结:
M100通过协同数据流架构提升自动驾驶、大语言模型等领域的AI计算效率与成本效益,采用编译器-架构协同设计优化数据传输,减少缓存依赖,提升系统性能。
摘要:
随着基于深度学习的AI技术日益普及,通用目的AI计算架构的需求持续增长。尽管GPGPU架构在多样化的AI工作负载中表现出灵活性,但其在效率和成本效益方面往往不足。各种领域专用架构(DSAs)在特定AI任务中表现优异,但难以扩展到更广泛的应用或适应快速发展的AI环境。M100是Li Auto的回应:一种高性能、低成本的AI推理架构,适用于自动驾驶(AD)、大语言模型(LLMs)和智能人机交互,这些领域是当今最具竞争力的汽车平台的关键所在。M100采用数据流并行架构,其中编译器-架构协同设计不仅优化计算,更重要的是在时间和空间上协调数据传输。利用数据流计算的效率,我们的硬件-软件协同设计在提高系统性能的同时,减少了硬件复杂性和成本。M100几乎消除了缓存:张量计算由编译器和运行时管理的数据流驱动,这些数据流在计算单元和芯片内外存之间流动,比基于缓存的系统更高效且可扩展。另一个关键原则是选择合适的操作粒度,用于编译器、固件和硬件层面的调度、发出和执行。认识到AI工作负载的共同点,我们选择了张量作为基本数据元素。M100在多样化的推理应用中展示了通用AI计算能力,包括UniAD(用于AD)和LLaMA(用于LLMs)。基准测试显示,M100在AD应用中优于GPGPU架构,具有更高的利用率,代表了未来通用AI计算的一个有前途的方向。
英文摘要:
As deep learning-based AI technologies gain momentum, the demand for general-purpose AI computing architectures continues to grow. While GPGPU-based architectures offer versatility for diverse AI workloads, they often fall short in efficiency and cost-effectiveness. Various Domain-Specific Architectures (DSAs) excel at particular AI tasks but struggle to extend across broader applications or adapt to the rapidly evolving AI landscape. M100 is Li Auto's response: a performant, cost-effective architecture for AI inference in Autonomous Driving (AD), Large Language Models (LLMs), and intelligent human interactions, domains crucial to today's most competitive automobile platforms. M100 employs a dataflow parallel architecture, where compiler-architecture co-design orchestrates not only computation but, more critically, data movement across time and space. Leveraging dataflow computing efficiency, our hardware-software co-design improves system performance while reducing hardware complexity and cost. M100 largely eliminates caching: tensor computations are driven by compiler- and runtime-managed data streams flowing between computing elements and on/off-chip memories, yielding greater efficiency and scalability than cache-based systems. Another key principle was selecting the right operational granularity for scheduling, issuing, and execution across compiler, firmware, and hardware. Recognizing commonalities in AI workloads, we chose the tensor as the fundamental data element. M100 demonstrates general AI computing capability across diverse inference applications, including UniAD (for AD) and LLaMA (for LLMs). Benchmarks show M100 outperforms GPGPU architectures in AD applications with higher utilization, representing a promising direction for future general AI computing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。