L

Llm Compiler 7b Ftd

Developed by facebook
The LLM Compiler is a state-of-the-art LLM based on Code Llama, specifically designed for code optimization and compiler inference tasks. It far exceeds existing public models in understanding compiler optimization.
Downloads 106
Release Time : 5/9/2024

Model Overview

The LLM Compiler is a foundational model developed by Meta for compiler optimization. It can predict the effects of LLVM optimizations, optimize code size, and perform decompilation from assembly to LLVM-IR. It offers two parameter scale versions: 7B and 13B.

Model Features

Compiler behavior simulation
It can perfectly simulate the behavior of the LLVM optimizer in 20% of cases and predict the optimized code output.
Code size optimization
The FTD version improves code size optimization by 5.24% compared to GPT-4 Turbo.
Assembly decompilation
It achieves a BLEU score of 0.96 in round-trip decompilation (GPT-4 Turbo scores 0.43), reaching state-of-the-art results.
Multi-architecture support
It supports multiple assembly formats including LLVM-IR, x86_64, ARM, and CUDA.

Model Capabilities

Compiler optimization prediction
Code conversion
Automatic optimization pass selection
Assembly to intermediate representation decompilation
Code size optimization

Use Cases

Compiler development
Automatic optimization pass selection
Automatically predict the best combination of LLVM optimization passes to minimize code size.
Significantly improves efficiency compared to manual tuning.
Reverse engineering
Binary decompilation
Decompile x86_64 or ARM assembly code into LLVM intermediate representation.
Achieves a BLEU score of 0.96, far exceeding general-purpose LLMs.
Featured Recommended AI Models
AIbase
Empowering the Future, Your AI Solution Knowledge Base
© 2025AIbase