Deep learning framework prioritizing flexibility, efficiency, and portability
Top 4.1% on sourcepulse
Burn is a next-generation deep learning framework built in Rust, prioritizing flexibility, efficiency, and portability. It targets researchers and engineers seeking high performance across diverse hardware without the typical friction of Python-based frameworks, offering automatic optimizations and a robust backend system.
How It Works
Burn leverages Rust's ownership system for thread-safe building blocks and employs automatic kernel fusion to optimize computations dynamically, creating custom kernels that rival handcrafted GPU implementations. It features an asynchronous execution model for improved responsiveness and framework overhead reduction. Intelligent memory management, including memory pooling and in-place mutation tracking, further enhances efficiency.
Quick Start & Requirements
cargo add burn
.Highlighted Details
Backend
trait.Autodiff
and Fusion
through composition.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
#![recursion_limit = "256"]
).record-backward-compat
feature flag.19 hours ago
1 day