LLM Compiler

a suite of open pre-trained models (7B and 13B parameters) designed for code optimization tasks; it’s built on top of Code Llama and trained on a corpus of 546 billion tokens of LLVM-IR and assembly code; it’s also instruction fine-tuned to interpreter compiler behavior; achieves 77% of the optimizing potential of autotuning search and performs accurate disassembling 14% of the time compared to the autotuning technique on which it was trained.
Ask this paper
Abstract
Large Language Models (LLMs) have demonstrated remarkable capabilities across a variety of software engineering and coding tasks. However, their application in the domain of code and compiler optimization remains underexplored. Training LLMs is resource-intensive, requiring substantial GPU hours and extensive data collection, which can be prohibitive. To address this gap, we introduce Meta Large Language Model Compiler (LLM Compiler), a suite of robust, openly available, pre-trained models specifically designed for code optimization tasks. Built on the foundation of Code Llama, LLM Compiler enhances the understanding of compiler intermediate representations (IRs), assembly language, and optimization techniques. The model has been trained on a vast corpus of 546 billion tokens of LLVM-IR and assembly code and has undergone instruction fine-tuning to interpret compiler behavior. LLM Compiler is released under a bespoke commercial license to allow wide reuse and is available in two sizes: 7 billion and 13 billion parameters. We also present fine-tuned versions of the model, demonstrating its enhanced capabilities in optimizing code size and disassembling from x86_64 and ARM assembly back into LLVM-IR. These achieve 77% of the optimising potential of an autotuning search, and 45% disassembly round trip (14% exact match). This release aims to provide a scalable, cost-effective foundation for further research and development in compiler optimization by both academic researchers and industry practitioners. Download the Paper AUTHORS Written by Chris Cummins Volker Seeker Dejan Grubisic Baptiste Rozière Jonas Gehring Gabriel Synnaeve Hugh Leather Publisher ArXiv Research Topics Systems Research Related Publications November 11, 2025 COMPUTER VISION SYSTEMS RESEARCH CATransformers: Carbon Aware Transformers Through Joint Model-Hardware Optimization Irene Wang , Mostafa Elhouishi , Ekin Sumbul , Samuel Hsia , Daniel Jiang , Newsha Ardalani , Divya Mahajan , Carole-Jean Wu , Bilge Acun November 11, 2025 Read the Paper February 28, 2025 SYSTEMS RESEARCH Revisiting Reliability in Large-Scale Machine Learning Research Clusters Apostolos Kokolis , Michael Kuchnik , John Hoffman , Adithya Kumar , Parth Malani , Faye Ma , Zachary DeVito , Shubho Sengupta , Kalyan Saladi , Carole-Jean Wu February 28, 2025 Read the Paper December 12, 2024 CORE MACHINE LEARNING SYSTEMS RESEARCH Croissant: A Metadata Format for ML-Ready Datasets Mubashara Akhtar , Omar Benjelloun , Costanza Conforti , Luca Foschini , Pieter Gijsbers , Joan Giner-Miguelez , Sujata Goswami , Nitisha Jain , Michalis Karamousadakis , Satyapriya Krishna , Michael Kuchnik , Sylvain Lesage , Quentin Lhoest , Pierre Marcenac , Manil Maskey , Peter Mattson , Luis Oala , Hamidah Oderinwale , Pierre Ruyssen , Tim Santos , Rajat Shinde , Elena Simperl , Arjun Suresh , Goeffry Thomas , Slava Tykhonov , Joaquin Vanschoren , Susheel Varma , Jos van der Velde , Steffen Vogler , Carole-Jean Wu , Luyao Zhang December 12, 2024 Read the Paper November 20, 2024 SYSTEMS RESEARCH FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision Jay Shah , Ganesh Bikshandi , Ying Zhang , Vijay Thakkar , Pradeep Ramani , Tri Dao November 20, 2024 Read the Paper See All Papers Help Us Pioneer The Future of AI We share our open source frameworks, tools, libraries, and models for everything from research exploration to large-scale production deployment. Join our Team Our approach About AI at Meta People Careers Research Infrastructure Resources Demos Meta AI Assistant Media Generation Vibes AI Studio Latest news Blog Newsletter Foundational models Llama Our approach Our approach About AI at Meta People Careers Research Research Infrastructure Resources Demos Meta AI Meta AI Assistant Media Generation Vibes AI Studio Latest news Latest news Blog Newsletter Foundational models Llama Privacy Policy Terms Cookies Meta © 2026