B
tracel-ai/burn★ 16,395 · Rust
Rust tensor framework for shared training and inference code across CPU and GPU backends
Apache-2.0 · Commercial Friendlyv0.22.1
Side-by-side 2026 comparison in LLMs & Inference: tensorflow/tensorflow leads in total GitHub adoption (★ 201.7k), while tracel-ai/burn shows stronger 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
Rust tensor framework for shared training and inference code across CPU and GPU backends
C++-backed ML framework for building models and embedding inference
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | tracel-ai/burn | tensorflow/tensorflow |
|---|---|---|
| Total GitHub Stars | ★ 16,395 | ★ 201,651 |
| 24h / 7d Velocity | +7 / +39 | +0 / +4 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 94/100 | A+ · 100/100 |
| Deployment Signals | GPU | Docker · GPU · API |
| Primary Language | Rust | C++ |
| Commercial License | Apache-2.0 · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated today | Updated today |
| Latest Release | v0.22.1 | v2.22.0 |
| Best For | Rust products that embed models, share forward code between training and inference, or ship the same model across GPU, CPU, and Wasm targets | Teams building or maintaining TensorFlow models that need a programmable Python or C++ runtime for local or self-hosted execution |
use burn::tensor::{Device, Distribution, Tensor}; fn main() { let device = Device::wgpu(Default::default()).autodiff(); let x: Tensor<2> = Tensor::random([32, 32], Distribution::Default, &device); let y: Tensor<2> = Tensor::random([32, 32], Distribution::Default, &device).require_grad(); let tmp = x.clone() + y.clone(); let tmp = tmp.matmul(x); let tmp = tmp.exp(); let grads = tmp.backward(); let y_grad = y.grad(&grads).unwrap(); println!("{y_grad}"); }
tensorflow-cpu provides a smaller CPU-only option; validate CUDA support against the target release and platform.pip install tensorflowSignal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy