arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.26383cs.LGcs.AIcs.ARcs.MAcs.PF
收藏

SOLAR: AI驱动的光速性能分析

SOLAR: AI-Powered Speed-of-Light Performance Analysis

NVIDIA(英伟达)
Qijing Huang, Sana Damani, Zhifan Ye, Athinagoras Skiadopoulos, Siva Kumar Sastry Hari, Jason Clemons, Sahil Modi, Jingquan Wang, Aditya Kane, Edward C Lin, Hum… 展开作者

Qijing Huang, Sana Damani, Zhifan Ye, Athinagoras Skiadopoulos, Siva Kumar Sastry Hari, Jason Clemons, Sahil Modi, Jingquan Wang, Aditya Kane, Edward C Lin, Humphrey Shi, Christos Kozyrakis

AI总结:

提出SOLAR框架,自动从PyTorch和JAX代码推导理论最小执行时间(光速界限),通过LLM前端和确定性分析实现无违反界限的多保真度性能分析。

摘要:

深度学习模型在目标硬件上能运行多快?当前实现离该极限有多远?这些问题对软件、硬件和算法优化至关重要。光速(SOL)分析通过计算工作负载在给定架构上的理论最小执行时间来回答这些问题。然而,推导SOL界限仍然是手动的、易错的,并且与快速模型开发脱节。为弥补这一差距,我们引入SOLAR,一个从PyTorch和JAX源代码自动推导经过验证的SOL界限的框架。SOLAR在其流程中利用生成式和确定性组件:LLM前端将任何源程序翻译成可执行的仿射循环中间表示(Affine Loop IR),通过输出比较验证;确定性流程将IR提升为einsum图;分析后端计算未融合、融合和缓存感知的SOL界限。SOLAR提供全面的算子和语言覆盖,产生经过验证的界限,零观察到的SOL违反,并提供多保真度分析,收紧界限并揭示优化见解。我们在KernelBench、JAX/Flax模型和机器人工作负载上评估SOLAR。这些实验展示了四个用例:多保真度级别的余量分析、识别优化机会、跨平台探索以及逆屋顶线硬件配置。

英文摘要:

How fast could a deep-learning model run on target hardware, and how far is today's implementation from that limit? These questions are central to software, hardware, and algorithm optimizations. Speed-of-Light (SOL) analysis answers them by computing a workload's theoretical minimum execution time on a given architecture. Yet deriving SOL bounds remains manual, error-prone, and disconnected from rapid model development. To close this gap, we introduce SOLAR, a framework that automatically derives validated SOL bounds from PyTorch and JAX source code. SOLAR leverages both generative and deterministic components in its flow: an LLM frontend translates any source programs into an executable Affine Loop IR, validated by output comparison; a deterministic flow lifts the IR into an einsum graph; and an analytical backend computes unfused, fused, and cache-aware SOL bounds. SOLAR provides comprehensive operator and language coverage, produces validated bounds with zero observed SOL violations, and offers multi-fidelity analysis that tightens bounds and surfaces optimization insights. We evaluate SOLAR across KernelBench, JAX/Flax models, and robotics workloads. These experiments demonstrate four use cases: headroom analysis at multiple fidelity levels, identifying optimization opportunities, cross-platform exploration, and inverse-roofline hardware provisioning.

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

↑