potentialpaper

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 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. What is the Speed-of-Light (SOL) execution time for a given DL workload on specific hardware?

Abstract. 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.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
1 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper introduces SOLAR, a framework for deriving Speed-of-Light (SOL) theoretical execution time bounds from PyTorch and JAX source code. It employs a three-stage pipeline: an LLM frontend translates source to an Affine Loop IR, a deterministic compiler lifts this to an Einsum graph, and an analytical backend computes roofline bounds (unfused, fused, and cache-aware). While the reviewers agree the problem is timely and well-motivated, the authors should rebut/clarify the concerns raised by the reviewers, particularly: lack of strong baselines on headroom analysis, insufficient demonstration of the frontend's core novelty, vagueness in fusion and SOL reachability, and unverified structural robustness of the translation.

Final justification

The authors have done a good job in addressing the reviewers’ concerns. The reviewers are generally satisfied with the rebuttal and the subsequent discussion. Therefore, I recommend acceptance of the manuscript.

Area Chair B1pj · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper introduces SOLAR, a framework for deriving Speed-of-Light (SOL) theoretical execution time bounds from PyTorch and JAX source code. It employs a three-stage pipeline: an LLM frontend translates source to an Affine Loop IR, a deterministic compiler lifts this to an Einsum graph, and an analytical backend computes roofline bounds (unfused, fused, and cache-aware). While the reviewers agree the problem is timely and well-motivated, the authors should rebut/clarify the concerns raised by the reviewers, particularly: lack of strong baselines on headroom analysis, insufficient demonstration of the frontend's core novelty, vagueness in fusion and SOL reachability, and unverified structural robustness of the translation.

Final justification

The authors have done a good job in addressing the reviewers’ concerns. The reviewers are generally satisfied with the rebuttal and the subsequent discussion. Therefore, I recommend acceptance of the manuscript.

Reviewer WhotOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper computes the Speed-of-Light bound defined as the theoretical hardware performance ceiling for a given program, quantifying how much optimization headroom remains and indicating where it lies. The paper confines the LLM to a verifiable translation task by converting source code into an executable intermediate representation after which a deterministic compiler lifts the representation to an einsum graph and an analytical backend derives the bounds from that structure.

Strengths and weaknesses

Strengths:

  • The paper identifies a genuine bottleneck in optimization problems, which is to determine how much further a compute workload can be optimized. It provides an interesting approach to solving this problem by utilizing einsum graphs.
  • The evaluation spans different hardware platforms, and the practical use case is well-highlighted.

Weaknesses:

  • The practical benefit of the optimization hints is not clearly established. The paper reports how much headroom exists and which optimization family it stems from, but never applies a hint and measures the resulting speedup. An end-to-end example that applies an indicated optimization and showing measured runtime move toward the SOL bound would substantiate the optimization insights.
  • It is unclear how the framework handles cases where the LLM-generated IR produces the correct output but is structurally different from the source. Two programs with different loop orders, iteration spaces, or extra materialized intermediates can yield identical outputs but different derived bounds. Since such a translation would pass validation while producing an incorrect bound, what safeguards exist against this?
Questions
  1. Validation checks output equivalence, but SOL depends on IR structure. Could an output-correct translation with a different loop/iteration structure pass validation yet yield an incorrect op or traffic count? It would strengthen the paper to report, on some subset, the derived MAC counts against a ground-truth FLOP count, to bound how often structural divergence occurs in practice.

  2. The SOL bounds assume peak utilization and perfect overlap, which may not be achievable on real hardware. How much of the reported headroom is realistically capturable, and is there a way to report an achievable bound rather than only the theoretical maximum? Distinguishing the reachable gap from the idealization-driven portion would make the headroom numbers more actionable.

  3. How much do the optimization hints actually move a real implementation toward the SOL bound? The framework's value to a code author lies not only in knowing that headroom exists, but in knowing how to close it. An end-to-end example, applying an indicated hint and showing measured runtime move toward the bound, would demonstrate the realized benefit. Additionally, closing the loop further, by having the framework apply optimizations to the code directly, would be a compelling direction for future work.

Limitations

Please answer the questions above.

Final justification

I will maintain my current score, as the authors have satisfactorily addressed my questions.

Formatting concerns

N/A

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Reviewer Whot

We thank the reviewer for the thoughtful questions on structural robustness, attainability, and practical optimization value.

Q1: Structural Robustness and Validation

In principle, an output-correct but structurally different translation could pass output validation while still yielding an incorrect MAC or traffic count. As noted in Section 3.1.2, output validation does not establish formal structural equivalence, so we describe the frontend as execution-validated rather than formally verified.

In practice, this risk is mitigated by the intermediate high-level einsum representation used for tensor algorithms, which abstracts away many structural choices in how an algorithm is realized. We agree that comparing derived MAC counts against independent ground-truth FLOP/MAC measurements on a representative subset would provide an additional safeguard, and we will report such a check in a revision.

Q2: Achievable Bound with Actionable Headroom

We agree that SOL is an optimistic analytical lower bound rather than a directly achievable runtime on real hardware. The observed headroom can therefore reflect both software inefficiency and unmodeled hardware effects. On the software side, actionable headroom comes from expanding the optimization space and removing unnecessary implementation constraints. On the hardware side, tighter bounds require modeling additional overheads such as latency, prolog/epilog costs, and power or thermal throttling.

Our multi-fidelity analysis already moves in this direction: the fused bound isolates headroom due to missing graph-level optimization, while the L2-aware bound further accounts for finite on-chip capacity and the resulting traffic costs. We will clarify this progression in the paper and frame the bounds as progressively tighter analytical references rather than guaranteed attainable runtimes.

Q3: End-to-End Example Applying Hints

To test whether SOLAR’s bounds are useful as an optimization guide, we applied them to a GPT-OSS-120B full-attention layer on NVIDIA GB300 (64 Q / 8 KV heads, head_dim=64, causal prefill, S=8192, bf16). We implemented the CUDA kernel from scratch and used SOLAR’s output as the only guide for what to try next. Every version was validated against an fp32 reference. The implementation improved from 36.05 ms to 2.18 ms (16.5×), reaching within 1.29× of cuDNN-flash.

Version Latency HBM Main cause of gap Optimization suggested by SOLAR
torch eager, unfused 36.05 ms 34.5 GB materialized intermediates; memory traffic dominates identify as memory-bound with unfused SOL
unfused cuBLAS + softmax 18.82 ms 17.3 GB still memory-bound further reduce traffic
fused, untuned 41.9–52.1 ms 0.15 GB traffic fixed, but poor tile/occupancy choice retile for occupancy
tuned tiling (BM=32, BN=128, WARPS=16) 22.8 ms 0.15 GB instruction-side inefficiency optimize on-chip execution
register softmax + cp.async + bank-swizzle + transposed V-load 2.18 ms 0.15 GB remaining instruction/schedule overhead improve instruction throughput
cuDNN-flash 1.69 ms 0.15 GB practical remaining gap highly tuned implementation

Three signals from SOLAR were particularly useful.

First, fusion. SOLAR predicts that keeping the score and probability intermediates on-chip should collapse HBM traffic from tens of GB to well below 1 GB. In our case, HBM dropped from 34.5 GB in eager mode to 0.15 GB after fusion, correctly identifying materialization as the dominant cause of the unfused gap.

Second, boundedness. Before fusion, the kernel is clearly memory-bound, so the right optimization target is traffic reduction rather than instruction tuning. After fusion, HBM is already near its floor, and the bottleneck flips: the profitable next steps are register-resident softmax, asynchronous staging, and bank-conflict removal. This bottleneck flip was especially valuable because it prevented us from spending effort on memory traffic that had already been eliminated.

Third, tiling. After fusion, measured HBM traffic is already close to the SOL bytes reported by SOLAR, and SOLAR classifies the fused kernel as compute-bound. Together, these signals show that the remaining gap is not due to memory traffic and that the next lever is occupancy. Guided by this, sweeping tile parameters found a higher-occupancy configuration that reduced latency from 41.9 ms to 22.8 ms.

Overall, this case study shows that SOLAR does more than identify headroom: it helps attribute the residual gap to specific causes and prioritize the next optimization step.

Reviewer 1DpAOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

SOLAR is a framework that automatically derives SOL bounds — the theoretical minimum execution time of a workload on given hardware — directly from PyTorch and JAX source code. Its core idea is to separate generative from deterministic reasoning: an LLM agent translates source into an executable "Affine Loop IR", a deterministic compiler lifts it into an Einsum Graph, and an analytical backend computes roofline bounds. The paper evaluate SOLAR on KernelBench, JAX/Flax models, robotics workloads, and SOL-ExecBench, demonstrating use cases in headroom analysis, fusion/tiling bottleneck attribution, cross-platform projection, and inverse-roofline hardware provisioning.

Strengths and weaknesses

Strengths

  • Timely, well-motivated problem. Knowing a workload's theoretical performance floor — and how far an implementation sits from it — is broadly useful for kernel and algorithm choices, hardware provisioning, and sanity-checking agentic code generation, yet existing tools give only a partial picture.

  • Clean generative/deterministic split. Confining the LLM to an output-validated translation step and deriving every quantitative result deterministically from the einsum graph is a sound design.

Weaknesses

  • The headroom analysis stops short of demonstrating actionable opportunity. The paper frames SOL headroom as optimization guidance, but the evaluation only reports the runtime/SOL ratio against general-purpose baselines (PyTorch eager and torch.compile) — it never shows that the gap reflects capturable opportunity, nor analyzes what should be optimized. Because SOL is an idealized ceiling, a large ratio to a general baseline is partly an artifact of the bound rather than real headroom, so a number like 54.6× on L3 establishes that a gap exists but not that it is closable. Two additions would make the claim convincing: (1) compare SOL against strong implementations — e.g., cuBLAS/cuDNN, FlashAttention, or expert-written Triton/CUTLASS kernels — not just eager/compile, to show that meaningful headroom remains beyond what good engineering already achieves; and (2) characterize the residual gap concretely — statistics across the benchmark plus case studies on representative kernels — attributing it to specific causes (fusion, tiling, memory layout, …) and identifying what optimization would close it.

  • The frontend's distinctive capability — covering the operator/language "tail" that existing tools miss — is asserted but not demonstrated. The analysis backend is built from standard components (roofline, einsum canonical form, fused/cache-aware tiling via OROJENESIS / AccelForge), so the load-bearing claim is the LLM frontend's coverage. But on the settings actually evaluated, that frontend's task is already solved deterministically: torch.fx / torch.export — which decomposes to a small core ATen set — and fvcore for PyTorch (the paper notes fvcore covers 75–84% of KernelBench ops), jaxpr for JAX; turning ops+shapes into MAC/traffic/roofline numbers is then arithmetic. The frontend's only genuine claim to advantage is therefore the long tail those tools miss — open-ended or custom operators, and "any source language" without a hand-written parser — yet the paper never shows that this tail is where the difficulty lies. The language-agnostic claim is exercised only on PyTorch and JAX, both of which already have mature deterministic frontends; SOLAR is never demonstrated on a language without such tooling, nor on custom ops / data-dependent control flow that deterministic tracers genuinely cannot handle, nor does it characterize which ops SOLAR uniquely covers. The coverage gap over FLOP counters is likewise a design choice rather than evidence of difficulty: fvcore registers handlers only for compute-heavy ops, so it returns 0 on element-wise / memory-movement ops and never tracks memory traffic — yet that traffic is trivial arithmetic once bytes are tracked. As a result, the 100% coverage figure documents a useful engineering milestone but does not show the frontend buys anything beyond deterministic tooling on these inputs. Demonstrating SOLAR succeeding where deterministic tracers fail — a source language with no graph-capture tooling, or custom / data-dependent operators — and quantifying which operators it uniquely covers versus fvcore is what would substantiate the contribution.

Questions
  • Headroom vs. strong baselines. The headroom is measured only against PyTorch eager and torch.compile. Can you report SOL against well-optimized implementations (cuBLAS/cuDNN, FlashAttention, expert Triton/CUTLASS) on a representative sample, with case studies attributing the residual gap to concrete causes (fusion, tiling, layout)?

  • Evidence that the frontend solves a hard problem. torch.fx / torch.export / fvcore (PyTorch) and jaxpr (JAX) already extract operator graphs with shapes. Can you show SOLAR handling cases these deterministic tools cannot — custom/unsupported ops, data-dependent control flow, or a source language with no graph-capture tooling — and quantify which operators SOLAR uniquely covers versus fvcore?

  • Reconcile 100% coverage with the 96% translation rate. The paper claims 100% analysis coverage on KernelBench, yet reports 72% first-attempt and 96%-within-3-retries translation success over the same 270 problems. What happens to programs that do not validate — are they excluded from the 100%, retried further, or hand-corrected?

  • Fused SOL depends on a fusion choice, not just feasibility. How is fusibility inferred, and is the reported fused SOL a single fixed grouping (e.g., maximal/greedy fusion) or the minimum over alternative groupings? Fusion options can be mutually exclusive — a producer feeding two consumers, or a chain whose working set exceeds on-chip capacity — so the fused bound is well-defined only once a grouping is fixed or optimized over. Relatedly, can the assumed fusion/tiling be realized by a real compiler or hardware (register / shared-memory pressure)?

Limitations

yes

Final justification

The rebuttal resolved my two major concerns: the expert-kernel comparisons calibrate the bound against well-optimized implementations, and the Triton/CuTe and custom-op results demonstrate that the frontend covers cases deterministic tools cannot handle. The actionability framing is still overstated; SOLAR provides floors and bottleneck classification, while the concrete optimizations in the case study came from profiling and expertise. I therefore raise my score to 4, assuming the rebuttal material is incorporated into the revision with corrected attribution.

Formatting concerns

None

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the detailed, thoughtful, and constructive feedback.

Q1. Headroom vs. strong baselines

We agree and will strengthen this section in two ways: compare SOL against expert kernels and analyze residual gap through a case study.

1) SOL against well-optimized implementations. We compared SOLAR-derived SOL against expert CUDA, CuTe/CUTLASS, and Triton kernels.

On 268 expert-optimized GEMM workloads, the achieved-runtime/SOL ratio ranges from 1.10× to 7.02× with a 2.38× geomean, showing that SOL remains a meaningful lower bound and that headroom remains for some shapes beyond strong engineering. Similar trends hold for the other expert kernels.

The gap between SOLAR’s unfused and fused bounds is also informative: it isolates fusion opportunity, and SOLAR’s compute-vs.-memory classification, combined with profiler-measured FLOPs and bytes, points to the next optimization lever.

a) Expert CUDA and CuTe/CUTLASS kernels (FlashInferBench, B200)

These results cover 356 workloads across 17 kernels, each with two expert implementations measured on real hardware.

Category # of programs Expert CUDA geomean (ms) Expert CuTe/CUTLASS geomean (ms) SOL geomean (ms) Min speedup to SOL Geomean speedup to SOL Max speedup to SOL
Norm 88 0.0063 0.0064 0.0031 1.17× 1.99× 3.15×
GEMM 268 0.0241 0.0260 0.0110 1.10× 2.38× 7.02×

b) CuTe/CUTLASS kernels (H100 PCIe)

Problem Status GPU (us) Unfused SOL (us) Fused SOL (us) Unfused speedup Fused speedup
VectorAdd PASS 108.0 99 99 1.09× 1.09×
CutlassHopperGemm PASS 861.4 454 454 1.90× 1.90×
CutlassPtrArrayBatchedGemm PASS 729.7 364 364 2.01× 2.01×
CutlassHopperGett PASS 851.5 182 182 4.68× 4.68×
CutlassHopperFmha / FlashAttention3-like PASS 681.3 3720 182 0.18× 3.75×

c) Triton kernels (H100 PCIe)

Problem Status GPU (us) Unfused SOL (us) Fused SOL (us) Unfused speedup Fused speedup
LigerRMSNorm PASS 288.9 395 263 0.73× 1.10×
LigerRoPE PASS 1284.0 2110 528 0.61× 2.43×
LigerSwiGLU PASS 428.1 395 395 1.08× 1.08×
TritonSoftmax PASS 297.7 263 263 1.13× 1.13×
TritonMatmul PASS 297.9 182 182 1.64× 1.64×
TritonBatchNorm PASS 451.0 403 403 1.12× 1.12×
TritonAttention PASS 1506.9 10798 727 0.14× 2.07×
TritonVAE PASS 162.6 62 62 2.60× 2.60×
LlamaMLP PASS 10312.9 5863 5863 1.76× 1.76×
LigerLlamaBlock PASS 17985.3 10226 10226 1.76× 1.76×

2) Case study: attributing the residual gap to concrete causes

To test whether SOLAR’s bounds are actionable, we optimized a CUDA attention kernel for a GPT-OSS-120B full-attention layer on NVIDIA GB300 (64 Q / 8 KV heads, head_dim=64, causal prefill, S=8192, bf16) using SOLAR as the only guide. Each version was validated against an fp32 reference. Latency improved from 36.05 ms to 2.18 ms (16.5×), within 1.29× of cuDNN-flash.

Version Latency HBM Main cause of gap Optimization suggested by SOLAR
torch eager, unfused 36.05 ms 34.5 GB memory traffic dominates identify as memory-bound with unfused SOL
unfused cuBLAS + softmax 18.82 ms 17.3 GB still memory-bound further reduce traffic
fused, untuned 41.9–52.1 ms 0.15 GB traffic fixed, but poor tile/occupancy choice retile for occupancy
tuned tiling (BM=32, BN=128, WARPS=16) 22.8 ms 0.15 GB instruction-side inefficiency optimize on-chip execution
register softmax + cp.async + bank-swizzle + transposed V-load 2.18 ms 0.15 GB remaining instruction/schedule overhead improve instruction throughput
cuDNN-flash 1.69 ms 0.15 GB practical remaining gap highly tuned implementation

Three signals from SOLAR were particularly useful.

First, fusion: SOLAR predicts that keeping score/probability intermediates on-chip should collapse HBM traffic from tens of GB to well below 1 GB. In our case, HBM traffic drops from 34.5 GB in eager mode to 0.15 GB after fusion, correctly identifying materialization as the dominant source of the unfused gap.

Second, boundedness: before fusion, the kernel is memory-bound, so the relevant optimization target is traffic reduction rather than instruction tuning. After fusion, HBM traffic is already near its floor and the bottleneck flips, redirecting effort toward on-chip execution and instruction-side optimizations.

Third, tiling: after fusion, measured HBM traffic is already close to the SOL bytes reported by SOLAR, and SOLAR classifies the fused kernel as compute-bound. Together, these bounds show that the remaining gap is not due to memory traffic and that occupancy is the next lever. Guided by this, sweeping tile parameters found a higher-occupancy configuration that reduced latency from 41.9 ms to 22.8 ms.

Overall, this case study shows that SOLAR’s residual gap is not just a runtime/SOL ratio: it can be attributed to specific causes and mapped to specific optimizations. Fusion closes the memory-traffic gap; tiling and chaining improve reuse and occupancy within the fused kernel; and the compute-vs.-memory classification helps determine which optimization to pursue next.

Q2. Evidence that the frontend solves a hard problem

We agree that tools such as torch.fx, torch.export, and jaxpr can capture graphs and shapes. Our claim is different: SOLAR translates programs into a canonical Einsum abstraction with validated performance semantics. This is what enables SOL derivation, especially fused and L2-aware bounds.

Tool Reusable graph + shapes frontend Data-dependent control flow Performance semantics for custom / unsupported ops Canonical analyzable representation for SOL MAC derivation Traffic derivation Fused / L2-aware bounds Extended language / source support
torch.fx ✓ Limited / graph-break prone Limited ✗ ✗ ✗ ✗ PyTorch
torch.export ✓ Limited / graph-break prone Limited ✗ ✗ ✗ ✗ PyTorch
fvcore ✗ ✗ Limited; many ops unhandled ✗ Partial ✗ ✗ PyTorch
ptflops ✗ ✗ Limited; many ops unhandled ✗ Partial ✗ ✗ PyTorch
jaxpr + XLA cost_analysis ✓ Limited by tracing / lowering path Limited to JAX/XLA ✗ ✓ Limited / not a graph-level bound ✗ JAX/XLA
SOLAR ✓ ✓ ✓ ✓ ✓ ✓ ✓ PyTorch, JAX, Triton, CuTe/CUTLASS

SOLAR addresses three cases that existing deterministic tooling does not handle well.

First, SOLAR covers custom and unsupported operators more broadly. On 258 runnable KernelBench problems spanning 121 ATen ops, fvcore provides 15 handlers plus a 58-op ignore list and covers only 11 of the 99 ops that carry real arithmetic or traffic; 50 problems return zero and 151 return silently incomplete nonzero totals. Representative misses include aten::lstm and aten::scaled_dot_product_attention. Likewise, a custom 64×128×32 matmul registered via torch.library.custom_op is captured by torch.fx, torch.export, and torch.compile --fullgraph, yet fvcore, ptflops, and FlopCounterMode all report zero. SOLAR closes this gap by attaching validated performance semantics, not just capturing the graph.

Second, SOLAR works with data-dependent control flow by analyzing the realized execution path for the user-provided input and validating the translated program against source execution. It can specialize to the path actually taken at runtime, then lift that validated path into the analyzable representation needed for SOL.

Third, SOLAR supports more source languages, including settings with weak or no graph-capture tooling. Beyond PyTorch and JAX, we have successfully applied SOLAR to Triton and CuTe/CUTLASS code, as shown above, whereas existing counters have no operator semantics for those kernels.

Overall, SOLAR extends coverage to custom ops, data-dependent control flow, and additional source languages while producing the analyzable representation required for SOL derivation.

Q3. Reconciling 100% coverage with the 96% translation rate

The 72% and 96% figures report validation success after one and three attempts; 100% refers to eventual coverage of all 270 KernelBench programs. The remaining 4% succeeded after additional automatic retries with capped validation workloads.

Q4. Fusibility and policy for fused SOL

We thank the reviewer for highlighting that a fused SOL must specify both fusion legality and the policy used to select among legal fusion choices.

SOLAR infers structural fusibility from dependencies in the observed execution graph: operations may be fused when their producer-consumer relationship allows intermediate tensors to remain on-chip rather than being materialized in backing-store DRAM.

SOLAR derives two fused-SOL bounds under different policies:

  • Optimistic fused SOL. Maximal fusion under dependency constraints, assuming unlimited on-chip resources.
  • Cache-aware fused SOL. Finite on-chip capacity modeled via Orojenesis/AccelForge, which exhaustively searches fusion groupings, chain lengths, tile sizes, and chaining factors and selects the configuration that minimizes backing-store traffic subject to the buffer constraint.

Currently, the cache-aware fused SOL models L2. The same analysis applies to shared memory; register-aware bounds are future work due to modeling complexity. Thus, selected fusion and tiling are feasible under the modeled buffer constraints, but may still be unrealizable once register pressure and other resource constraints are considered. The attention case study nevertheless shows these hints are useful in practice.

Authors · CommentOpenReview ↗

Additional Comparison to FlashAttention-4

To help further address the reviewer’s request for stronger baselines, we also compared SOLAR against FlashAttention-4 (FA4) on representative attention configs.

Across 16 shapes for prefill, FA4 remains within 1.16×-4.21× of SOLAR SOL, with a geomean of 1.56×, suggesting that SOLAR remains a valid and meaningful lower bound for highly optimized attention kernels.

The remaining gap likely reflects effects such as occupancy/overhead at lower sequence lengths and power/thermal throttling at large sequence lengths. Such analysis helps indicate the relevant optimization direction.

The table below lists detailed SOL speedup (FA4/SOL runtime) at different sequence lengths:

FA4 Config (batch size = 1, bf16) 1k 2k 4k 8k 16k 32k 64k 128k Geomean
qk_dim=192, v_dim=128, q_heads=128, kv_heads=128 3.37× 2.11× 1.58× 1.32× 1.21× 1.16× 1.25× 1.25× 1.54×
qk_dim=128, v_dim=128, q_heads=64, kv_heads=8 4.21× 2.11× 1.52× 1.28× 1.25× 1.32× 1.31× 1.31× 1.59×
Reviewer 23tYOpenReview ↗
Rating
5/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
4/4
Originality
3/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces SOLAR, a framework for Speed-of-Light (SOL) performance analysis of deep learning workloads. It ingests PyTorch and JAX source code and automatically derives theoretical minimum execution time bounds on target hardware. The system operates through three stages: (1) an LLM frontend that translates source code into an Affine Loop IR, (2) a deterministic compiler that lifts the IR into an Einsum Graph, and (3) an analytical backend that computes unfused, fused, and cache-aware SOL bounds. The authors evaluate SOLAR on KernelBench, JAX/Flax models, and robotics workloads, demonstrating 100% operator coverage and zero observed SOL violations. They also showcase four practical use cases: headroom analysis, optimization opportunity identification, cross-platform projection, and inverse-roofline hardware provisioning.

Strengths and weaknesses

The paper is well-motivated, has a clear goal, and is well-organized. A key strength is that SOLAR confines the LLM strictly to the translation frontend, where its output can be numerically verified against the original program — achieving 100% operator coverage and zero SOL violations, something no prior tool has demonstrated. On the backend, the inverse roofline feature is particularly practical: rather than passively measuring performance, SOLAR can work backwards from a target latency and tell architects exactly what hardware is needed to meet it. However, the cross-platform projections — Jetson Thor, B200, and others — are purely analytical with no measured ground-truth validation to back them up. The paper also underspecifies the fusion detection rules, and the evaluation of only 8 JAX/Flax programs makes the language-agnostic claim feel insufficiently substantiated.

Questions
  1. What happens when LLM translation fails?
  2. How does SOLAR determine fusibility for non-trivial cases like branching?
Limitations

Please refer to the Weakness section above.

Final justification

Thanks for the clarification. Since I do not have strong concerns of the paper, so I will maintain my score.

Formatting concerns

N/A

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the positive assessment and for the helpful requests for clarification.

Q1. What happens when LLM translation fails?

When a translation fails validation, SOLAR automatically retries up to a user-specified limit. If all retries fail, the translation is marked as failed. In our evaluation, however, SOLAR successfully translated all 270 KernelBench programs using Opus 4.6+ together with two support mechanisms:

  • Search-assisted translation, which retrieves public model and library definitions needed to interpret the source code.
  • Validation capping, which limits validation workloads to reduce runtime and complexity.

Q2. How does SOLAR determine fusibility for non-trivial cases such as branching?

SOLAR currently analyzes the static execution graph observed for the user-provided input. Branch decisions are obtained from actual execution, with hooks capturing executed operators and intermediate-value statistics for SOL derivation. As a result, the analysis is input-conditioned: if a branch is not exercised, it will not appear in the extracted graph, and analyzing that branch requires a separate representative input. We will make this scope explicit in the revision.

For the fused SOL, SOLAR assumes maximal fusion with unlimited on-chip resources. For the cache-aware fused SOL, SOLAR models finite on-chip capacity and exhaustively searches over fusion-chain length, tiling factors, and chaining factors. This search jointly determines: 1) which operations should be fused, 2) how long each fusion chain should be, and 3) how the fused computation should be tiled.

Weakness 1. Cross-platform validation

We have validated that no optimized program exceeded the SOLAR-derived SOL on the GR00T N1.6 robotics model on either H100 or Jetson Thor:

  • H100: 13.6 ms SOL vs. 36 ms achieved
  • Jetson Thor: 20 ms SOL vs. 92 ms achieved

The gap between achieved performance and SOL is expected, as substantial software optimization is still required. This is in fact one of the main motivating use cases for SOLAR: the bound is already informative even when current implementations remain far from it.

Weakness 2. Language generality

We have also applied SOLAR on 32 more JAX programs and further show that SOLAR supports Triton and CuTe/CUTLASS in addition to the original evaluation setting.

A summary of the additional successfully analyzed kernels is below.

Program type Translated kernel names
JAX (32 programs) 8p_GEMM, 9p_SwiGLU_MLP, 12p_RMSNorm, 14p_Ragged_Dot, 17p_Triangle_Multiplication, 18k_Conv2D_ReLU_BiasAdd, 19k_Matmul_Subtract_Multiply_ReLU, 20k_Gemm_Multiply_LeakyReLU, 21k_Gemm_Divide_Sum_Scaling, 22k_Conv2d_InstanceNorm_Divide, 23k_Matmul_Sum_Max_AvgPool_LogSumExp_LogSumExp, 24k_Matmul_Scale_ResidualAdd_Clamp_LogSumExp_Mish, 25k_Conv3d_GroupNorm_Mean, 26k_BMM_InstanceNorm_Sum_ResidualAdd_Multiply, 27k_Matmul_Mish_Mish, 30k_Matmul_Scaling_ResidualAdd, 31k_Gemm_BatchNorm_GELU_ReLU, 32k_Gemm_Sigmoid_LogSumExp, 33k_Conv3d_Mish_Tanh, 34k_Conv2d_Activation_BatchNorm, 35k_Gemm_Scaling_Hardtanh_GELU, 36k_Matmul_Sigmoid_Sum, 37k_Matmul_Swish_Scaling, 38k_Matmul_Dropout_Softmax, 39k_Conv2d_GELU_GlobalAvgPool, 41k_Gemm_Add_ReLU, 42k_Gemm_Max_Subtract_GELU, 43k_Gemm_BatchNorm_Scaling_Softmax, 44k_Matmul_Divide_GELU, 47k_Matmul_Add_Swish_Tanh_GELU_Hardtanh, 48k_Matmul_BatchNorm_BiasAdd_Divide_Swish, 50k_Matmul_GELU_Softmax
CuTe/CUTLASS (5 programs) VectorAdd, CutlassHopperGemm, CutlassPtrArrayBatchedGemm, CutlassHopperGett, CutlassHopperFmha
Triton (10 programs) LigerRMSNorm, LigerRoPE, LigerSwiGLU, TritonSoftmax, TritonMatmul, TritonBatchNorm, TritonAttention, TritonVAE, LlamaMLP, LigerLlamaBlock

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…