← All projects
Developer building blocks

Burn

A deep-learning toolkit for the Rust programming language, for both training and running AI models.

What it does

Burn is a library for building and training neural networks in Rust, a programming language known for speed and safety.

Usually models are trained in one tool and then converted to run in production, which can break things. Its makers say Burn lets the same code do both, on many kinds of hardware, while feeling as flexible as PyTorch.

It is part of a wider set of Rust AI projects for GPU computing, importing models from other formats and ready-made models.

Who it's for

Programmers and researchers who want to build AI in Rust.

Can I use it without coding?

Developers only. It's a code library for Rust programmers. New to this? Start here.

Can I run it?

Cost
FreeNothing to pay or sign up for.
Computer
An ordinary computer is fine
Privacy
Runs on your own device: your data stays with you
API key
Not needed

Try it

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • License (Apache-2.0): Permissive: free to use, change and share, including for business.
  • More on staying safe

Where people are talking about it