qmetrics.net

Burn

Rust deep learning framework with unified train and deploy code

Burn screenshot

Burn is a Rust tensor library and deep learning framework for training and inference on many backends. The same model code can run in research and production without a separate export step.

Overview

Burn unifies training and inference behind one API so teams avoid brittle exports to ONNX or separate runtime engines when moving models to production. It supports dynamic shapes and graphs while JIT-compiling tensor operation streams and applying automatic kernel fusion. The design targets incremental recompilation for faster edit-compile-run cycles in Rust.

Backends include CubeCL paths for CUDA, ROCm, Metal, Vulkan, WebGPU, and CPU, plus a pure-Rust Flex backend for CPU, Wasm, and no_std embedded use. Autodiff and fusion decorators compose with backends, and weights can be loaded from PyTorch or Safetensors. ONNX import is available through a dedicated crate with a growing operator set.

Training workflows include a terminal dashboard for metrics, dataset and vision helpers in the ecosystem, remote execution for distributed setups, and browser inference examples via WebAssembly and WebGPU. Models defined in Burn can run from embedded devices through GPU clusters using runtime backend selection.

Key features

  • Unified training and inference API
  • Multi-GPU and CPU backends
  • Automatic kernel fusion
  • Autodiff across backends
  • PyTorch and Safetensors import
  • ONNX model import
  • WebAssembly inference support
  • Terminal training metrics dashboard

Use cases

  • On-device model personalization
  • Cross-platform ML deployment
  • Rust-native research prototypes
  • Browser-based inference demos
  • Embedded no_std inference

Tags

Similar software

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

★ 94.8k⟳ todayApache-2.0

Headroom

Local LLM context compression library and proxy

Headroom shrinks tool outputs, logs, JSON, and chat history before LLM calls to cut input tokens while preserving retrievable originals. It offers a Python library, proxy, MCP tools, and agent wrappers.

★ 81k⟳ yesterdayApache-2.0

Unsloth

Local desktop workspace to run and fine-tune AI models

Unsloth is a desktop application to chat with, fine-tune, and serve LLMs, diffusion, audio, and embedding models on your own hardware with optional agent integrations.

★ 80.4k⟳ todayApache-2.0

Models

TensorFlow reference models and modeling utilities collection

The TensorFlow Model Garden hosts implementations of models and modeling solutions for TensorFlow, installable via pip as tf-models-official.

★ 77.6k⟳ 11 days agoApache-2.0