burn VS wonnx

Compare burn vs wonnx 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)

wonnx

A WebGPU-accelerated ONNX inference run-time written 100% in Rust, ready for native and the web (by webonnx)
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 wonnx
15 18
11,003 1,728
8.3% 0.6%
9.8 5.7
7 days ago 10 months ago
Rust Rust
Apache License 2.0 GNU General Public License v3.0 or later
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...

wonnx

Posts with mentions or reviews of wonnx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-14.
  • Intel CEO: 'The entire industry is motivated to eliminate the CUDA market'
    13 projects | news.ycombinator.com | 14 Dec 2023
    The two I know of are IREE and Kompute[1]. I'm not sure how much momentum the latter has, I don't see it referenced much. There's also a growing body of work that uses Vulkan indirectly through WebGPU. This is currently lagging in performance due to lack of subgroups and cooperative matrix mult, but I see that gap closing. There I think wonnx[2] has the most momentum, but I am aware of other efforts.

    [1]: https://kompute.cc/

    [2]: https://github.com/webonnx/wonnx

  • VkFFT: Vulkan/CUDA/Hip/OpenCL/Level Zero/Metal Fast Fourier Transform Library
    7 projects | news.ycombinator.com | 2 Aug 2023
    To a first approximation, Kompute[1] is that. It doesn't seem to be catching on, I'm seeing more buzz around WebGPU solutions, including wonnx[2] and more hand-rolled approaches, and IREE[3], the latter of which has a Vulkan back-end.

    [1]: https://kompute.cc/

    [2]: https://github.com/webonnx/wonnx

    [3]: https://github.com/openxla/iree

  • Onnx Runtime: “Cross-Platform Accelerated Machine Learning”
    5 projects | news.ycombinator.com | 25 Jul 2023
    There's also a third-party WebGPU implementation: https://github.com/webonnx/wonnx
  • Are there any ML crates that would compile to WASM?
    3 projects | /r/rust | 3 Jul 2023
    By experimental I meant e.g. using WGPU to run compute shaders like wonnx, which is working fine but only on a very restricted set of devices and browsers.
  • WebGPU ONNX inference runtime written in Rust
    1 project | news.ycombinator.com | 23 May 2023
  • PyTorch Primitives in WebGPU for the Browser
    12 projects | news.ycombinator.com | 19 May 2023
    https://news.ycombinator.com/item?id=35696031 ... TIL about wonnx: https://github.com/webonnx/wonnx#in-the-browser-using-webgpu...

    microsoft/onnxruntime: https://github.com/microsoft/onnxruntime

    Apache/arrow has language-portable Tensors for cpp: https://arrow.apache.org/docs/cpp/api/tensor.html and rust: https://docs.rs/arrow/latest/arrow/tensor/struct.Tensor.html and Python: https://arrow.apache.org/docs/python/api/tables.html#tensors https://arrow.apache.org/docs/python/generated/pyarrow.Tenso...

    Fwiw it looks like the llama.cpp Tensor is from ggml, for which there are CUDA and OpenCL implementations (but not yet ROCm, or a WebGPU shim for use with emscripten transpilation to WASM): https://github.com/ggerganov/llama.cpp/blob/master/ggml.h

    Are the recommendable ways to cast e.g. arrow Tensors to pytorch/tensorflow?

    FWIU, Rust has a better compilation to WASM; and that's probably faster than already-compiled-to-JS/ES TensorFlow + WebGPU.

    What's a fair benchmark?

  • rustformers/llm: Run inference for Large Language Models on CPU, with Rust 🦀🚀🦙
    4 projects | /r/rust | 10 May 2023
    wonnx has done some fantastic work in this regard, so that's where we plan to start once we get there. In terms of general discussion of alternate backends, see this issue.
  • I want to talk about WebGPU
    15 projects | news.ycombinator.com | 3 May 2023
    > GPU in other ways, such as training ML models and then using them via an inference engine all powered by your local GPU?

    Have a look at wonnix https://github.com/webonnx/wonnx

    A WebGPU-accelerated ONNX inference run-time written 100% in Rust, ready for native and the web

  • Chrome Ships WebGPU
    17 projects | news.ycombinator.com | 6 Apr 2023
    Looking forward to your WebGPU ML runtime! Also, why not contribute back to WONNX? (https://github.com/webonnx/wonnx)
  • OpenXLA Is Available Now
    5 projects | news.ycombinator.com | 9 Mar 2023
    You can indeed perform inference using WebGPU (see e.g. [1] for GPU-accelerated inference of ONNX models on WebGPU; I am one of the authors).

    The point made above is that WebGPU can only be used for GPU's and not really for other types of 'neural accelerators' (like e.g. the ANE on Apple devices).

    [1] https://github.com/webonnx/wonnx

What are some alternatives?

When comparing burn and wonnx you can also consider the following projects:

candle - Minimalist ML framework for Rust

iree - A retargetable MLIR-based machine learning compiler and runtime toolkit.

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

stablehlo - Backward compatible ML compute opset inspired by HLO/MHLO

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

tract - Tiny, no-nonsense, self-contained, Tensorflow and ONNX inference

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?