finds.dev

tracel-ai/burn

Burn is a next generation tensor library and Deep Learning Framework that doesn't compromise on flexibility, efficiency and portability.

View on GitHubHomepage ↗

★ 15,403RustApache-2.0updated Jun 2026

// compared · The Best Open Source Machine Learning FrameworksSee the alternatives →

// the take

Burn is a Rust deep learning framework with a pluggable backend system — CUDA, ROCm, Metal, Vulkan, WebGPU, ndarray, and WASM — where autodiff and kernel fusion are backend decorators rather than baked into each implementation. It targets everything from bare-metal embedded (no_std) to distributed GPU clusters. For Rust shops that want to train and deploy without crossing into Python, this is currently the only serious option.

The backend decorator pattern for autodiff and fusion is the right call architecturally — you implement a backend once against the Backend trait and get gradient support and kernel fusion for free by wrapping it, rather than reimplementing those features per backend. ONNX import generates native Rust code rather than interpreting the model at runtime, which means an imported model gets all backend portability and optimizations automatically. The no_std + Flex backend combination is a genuine differentiator: PyTorch cannot deploy to bare-metal embedded, burn can. Backend breadth is real — WebGPU inference in the browser actually works, and there are live demos to prove it.

ONNX operator coverage is incomplete, which they admit in the README — if your production model uses anything outside the common transformer/CNN ops, you will hit a wall and either contribute the missing op yourself or stay blocked. The ecosystem gap versus HuggingFace is large: the models repo is thin, so porting weights from PyTorch is a manual exercise you repeat for every architecture you care about. The API is still breaking — the Data-to-TensorData migration required a backward-compat feature flag and broke binary record formats entirely, which is a preview of what adopting this before 1.0 costs you. The wgpu recursion_limit workaround called out in the README is a symptom of deeply nested associated types leaking into user code; that class of compiler-friction problem will keep surfacing as the type machinery grows.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
15,403
Forks
937
Language
Rust
License
Apache-2.0
Last commit
11 Jun 2026

// nearby

If burn isn't quite it.

All repos →