SOLAR: AI-Powered Speed-of-Light Performance Analysis
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
NeurIPS page · Open on the map
Category: LLM Agents, Evals & Benchmarks › GPU Kernel Optimization and Benchmarking · Type: system or tooling · Keywords: speed-of-light analysis, hardware performance, automated bound derivation, model optimization, PyTorch, JAX
Areas: Code & Coding Agents › Code Generation and Optimization › GPU Kernel Optimization; Evaluation & Benchmarks › Language Model and Agent Benchmarks › Code and Hardware Benchmarks
Summary
SOLAR is a framework that automatically derives validated speed-of-light bounds from PyTorch and JAX source code, covering multiple operators and languages, and provides multi-fidelity analysis with zero observed violations.
Explained to a 5-year-old
We want to know how fast a computer program can run. The tool looks at the code and figures out the fastest possible speed. It checks its answers by comparing them to real runs. Then it shows where we can make the program faster. This helps engineers build quicker programs.
Explained to a 5-year-old, longer
Imagine you have a toy car that you want to go as fast as possible. There is a special program that looks at the instructions for the car. It figures out the quickest way the car could ever move, like a perfect race. The program writes down a plan that shows the fastest time. It then runs the car a few times to make sure the plan is correct. After checking, it tells you where the car could go even faster. It also shows you how the car uses its memory and parts. You can see if the car is already fast or if there is room for improvement. This helps you decide what parts to change or how to write better code. You can try it on many different kinds of cars, like those that drive themselves or play games. The program works with many different languages and tools. In the end, you get a clear picture of how fast your program could be and where to make it better.
For a technical reader
SOLAR is a framework that automatically derives validated speed-of-light (SOL) bounds from PyTorch and JAX source code. It uses an LLM-based frontend to translate arbitrary programs into an Affine Loop IR, validates the translation by output comparison, and then lifts the IR into an einsum graph. An analytical backend computes unfused, fused, and cache-aware SOL bounds, providing multi-fidelity analysis that tightens estimates and highlights optimization opportunities. The system was evaluated on KernelBench, JAX/Flax models, and robotics workloads, achieving zero observed SOL violations and demonstrating headroom analysis, cross-platform exploration, and inverse-roofline hardware provisioning. By integrating code parsing, validation, and analytical modeling, SOLAR enables rapid hardware-aware model development without manual performance modeling.
Problem
Accurately estimating the theoretical minimum execution time of deep-learning models on target hardware is currently a manual, error-prone process that does not scale with rapid model development.
Method
The approach automatically derives validated speed-of-light bounds from source code by translating programs into an intermediate representation, validating the translation, lifting to a computation graph, and analytically computing bounds for unfused, fused, and cache-aware scenarios.
Results
The approach produces validated bounds with zero observed violations, offers multi-fidelity analysis that tightens bounds, and demonstrates four use cases including headroom analysis, optimization identification, cross-platform exploration, and hardware provisioning.
Contributions
The paper introduces a framework that automatically derives validated speed-of-light bounds from source code, covering multiple operators and languages, and provides multi-fidelity analysis with zero violations.
Practical relevance
It enables rapid hardware-aware model development by automatically providing accurate performance bounds, helping practitioners identify optimization opportunities and provision hardware.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction