Nova: An End-to-End MLIR Compiler for Deep Learning
Adwaid Suresh, Aparna A, Harshini V M, Jona Delcy C A, Killi Uma Maheswara Rao, Ram Charan Golla, Surendra Vendra
Abstract
The performance of deep learning models at scale relies heavily on how effectively high-level mathematical operations are mapped to underlying physical hardware. While high-level tensor frameworks provide flexible abstractions, their execution models inherently lack the whole-graph visibility required to maximize hardware utilization, often forcing a reliance on opaque, hand-written kernel libraries for complex operations like Attention. To bridge this gap, we present the next iteration of Nova, an automated end-to-end JIT compiler that achieves absolute control over hardware mapping by synthesizing fine-grained kernels directly from the computation's structure. In this work, we extend Nova's compilation pipeline to natively support full Transformer architectures. By capturing eager executions and unifying forward and backward passes into a single value-semantic dialect, Nova unlocks aggressive whole-graph optimizations. Rather than relying on rigid, pre-compiled library calls, Nova focuses on extensive cross-operator fusions, collapsing complex causal attention sub-graphs, element-wise operations, and memory-bound normalizations directly into single fused kernels to drastically reduce global memory roundtrips. In our evaluations training a full GPT-2 architecture on Ada 6000 GPUs, Nova demonstrates superior end-to-end throughput, averaging 441K tokens/second compared to 406K for our own eager execution and 405K for torch.compile. By drastically reducing memory-bound overheads through compiler-native fusion, Nova enables efficient full LLM compilation on modern hardware while strictly maintaining numerical parity.
Create a lesson
Metadata
- Categories
- cs.AI, cs.AR, cs.LG, cs.PL
Related papers
Keep or Roll Back? Out-of-Loop Judges for Self-Improving VLA and End-to-End Embodied Policies
Shared title terminologycs.AIZilin Huang, Zhengyang Wan, Kangan Qian et al.
First-Order Modal Logic in HOL: Deep and Shallow Embeddings with Automated Faithfulness (Extended Preprint)
Shared title terminologycs.AIChristoph Benzmüller, Daniel Kirchner
Deep Interaction: An Efficient Human-AI Interaction Method for Large Reasoning Models
Shared title terminologycs.AIHefeng Zhou, Jinxuan Zhang, Jiong Lou et al.
AI-accelerated End-to-End Framework for Rapid Professional Upskilling
Shared title terminologycs.AITam Nguyen, Hung Nguyen, Robert Ogburn
AI-Native Insurance for Agentic AI: Pricing, Underwriting, and End-to-End Automation
Shared title terminologycs.AIQuanyan Zhu
On-Device Deep Research at 4B: Exposure Bounds Faithfulness, Retrieval Bounds Coverage
Shared title terminologycs.AIVinay Kumar Chaganti