burn VS tch-rs

Compare burn vs tch-rs and see what are their differences.

burn

Burn is a next generation Deep Learning Framework that doesn't compromise on flexibility, efficiency and portability. (by tracel-ai)

tch-rs

Rust bindings for the C++ api of PyTorch. (by LaurentMazare)
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
burn tch-rs
15 37
11,066 4,767
8.8% 1.7%
9.8 7.5
about 16 hours ago 21 days ago
Rust Rust
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

burn

Posts with mentions or reviews of burn. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-05-03.
  • Conduit: A UI-less node-based system
    4 projects | dev.to | 3 May 2025
    I intend to grow this into an open-source project because deep inside, this is ideally how I would like ComfyUI to be. There's still a long journey ahead for building all the custom nodes, which is especially challenging given that the majority of code for AI workflows is written in Python. However, with my hands-on experience with Candle and Burn libraries, I may be able to get pretty close!
  • CubeCL: GPU Kernels in Rust for CUDA, ROCm, and WGPU
    6 projects | news.ycombinator.com | 23 Apr 2025
    The need to build CubeCL came from the Burn deep learning framework (https://github.com/tracel-ai/burn), where we want to easily build algorithms like in CUDA with a real programming language, while also being able to integrate those algorithms inside a compiler at runtime to fuse dynamic graphs.

    Since we don't want to rewrite everything multiple times, it also has to be multi-platform and optimal, so the feature set must be per-device, not per-language. I'm not aware of a tool that does that, especially in Rust (which Burn is written in).

  • Burn v0.17: Deep Learning in Rust gets new back ends and improved kernel fusion
    1 project | news.ycombinator.com | 23 Apr 2025
  • Burn: The Future of Deep Learning in Rust
    1 project | dev.to | 26 Dec 2024
    Burn is an emerging deep learning framework written in pure Rust that aims to provide a flexible, efficient, and safe environment for building and training neural networks. With its modular design and strong type system, Burn represents a significant step forward in bringing deep learning to the Rust ecosystem.
  • Getting Started with Rust
    16 projects | dev.to | 25 Oct 2024
    7. Burn Burn is a dynamic deep-learning framework built with flexibility and efficiency in mind. If you're into AI or machine learning, this framework offers the ability to explore how Rust can power complex neural networks.
  • 3 years of fulltime Rust game development, and why we're leaving Rust behind
    21 projects | news.ycombinator.com | 26 Apr 2024
    You can use libtorch directly via `tch-rs`, and at present I'm porting over to Burn (see https://burn.dev) which appears incredibly promising. My impression is it's in a good place, if of course not close to the ecosystem of Python/C++. At very least I've gotten my nn models training and running without too much difficulty. (I'm moving to Burn for the thread safety - their `Tensor` impl is `Sync` - libtorch doesn't have such a guarantee.)

    Burn has Candle as one of its backends, which I understand is also quite popular.

  • Burn: Deep Learning Framework built using Rust
    1 project | news.ycombinator.com | 24 Apr 2024
  • Transitioning From PyTorch to Burn
    5 projects | dev.to | 14 Feb 2024
    [package] name = "resnet_burn" version = "0.1.0" edition = "2021" [dependencies] burn = { git = "https://github.com/tracel-ai/burn.git", rev = "75cb5b6d5633c1c6092cf5046419da75e7f74b11", features = ["ndarray"] } burn-import = { git = "https://github.com/tracel-ai/burn.git", rev = "75cb5b6d5633c1c6092cf5046419da75e7f74b11" } image = { version = "0.24.7", features = ["png", "jpeg"] }
  • Burn Deep Learning Framework Release 0.12.0 Improved API and PyTorch Integration
    1 project | news.ycombinator.com | 31 Jan 2024
  • Supercharge Web AI Model Testing: WebGPU, WebGL, and Headless Chrome
    2 projects | news.ycombinator.com | 16 Jan 2024
    Great!

    For Burn project, we have WebGPU example and I was looking into how we could add automated tests in the browser. Now it seems possible.

    Here is the image classification example if you'd like to check out:

    https://github.com/tracel-ai/burn/tree/main/examples/image-c...

tch-rs

Posts with mentions or reviews of tch-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-05.

What are some alternatives?

When comparing burn and tch-rs you can also consider the following projects:

candle - Minimalist ML framework for Rust

dfdx - Deep learning in Rust, with shape checked tensors and neural networks

burn - Burn is a new comprehensive dynamic Deep Learning Framework built using Rust with extreme flexibility, compute efficiency and portability as its primary goals. [Moved to: https://github.com/Tracel-AI/burn]

corgi - A neural network, and tensor dynamic automatic differentiation implementation for Rust.

tokenizers - 💥 Fast State-of-the-Art Tokenizers optimized for Research and Production

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that Rust is
the 5th most popular programming language
based on number of references?