Rust Tensor

Open-source Rust projects categorized as Tensor

Top 5 Rust Tensor Projects

  1. burn

    Burn is a next generation tensor library and Deep Learning Framework that doesn't compromise on flexibility, efficiency and portability.

    Project mention: Show HN: Demucs music stem separator rewritten in Rust – runs in the browser | news.ycombinator.com | 2026-03-03

    - *DAW plugin* — VST3/CLAP plugin for macOS with a native SwiftUI UI. Load a track, separate it, drag stems directly into your DAW timeline, or play as a MIDI instrument with solo / faders.

    The core inference library is built on [Burn](https://burn.dev), a Rust deep learning framework. The same `demucs-core` crate compiles to both native and `wasm32-unknown-unknown` — the only thing that changes is the GPU backend.

    Model weights are F16 safetensors hosted on Hugging Face and downloaded / cached automatically on first use on all platforms. Three variants: standard 4-stem (84 MB), 6-stem with guitar/piano (84 MB), and a fine-tuned bag-of-4-models for best quality (333 MB).

    The existing implementations I found online were mostly wrappers around the original Python implementation, and not very portable -- the model works remarkably well and I wanted to be able to quickly create samples / remixes without leaving the DAW or my browser. Right now the implementation is pretty MacOS heavy, as that's what I'm testing with, but all of the building blocks for other platforms are ready to build on. I want this to grow to be a general utility for music producers, not just "works on my machine."

    It was a fun first foray into DSP and the state of the art of ML over WASM, with lots of help from Claude!

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. dfdx

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

    Project mention: Celebrating 70 Years of Fortran – Fortran Programming Language | news.ycombinator.com | 2026-10-15

    Hard disagree that julai perfected arrays. I love Julia but even compared with old with old “array programming lenguaje” like APL not even mentioning newer ones like BQN. Julia array still seem a less expressive than one might hope.

    There’s also an under explored area of compile time Shape checking, that might open up a new era in array. There has been interesting advancements in the Rust space like https://github.com/JErnestoMtz/rapl or https://github.com/chelsea0x3b/dfdx

  4. L2

    l2 is a fast, Pytorch-style Tensor+Autograd library written in Rust

  5. RustTensor

    A learning-focused, high-performance tensor computation library built from scratch in Rust, featuring automatic differentiation and CPU/CUDA backends.

  6. dlpark

    Pure Rust DLPack implementation for zero-copy tensor interoperability

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust Tensor discussion

Log in or Post with

Rust Tensor related posts

  • Candle: Torch Replacement in Rust

    12 projects | news.ycombinator.com | 8 Aug 2023
  • Are there some machine or deep learning crates on Rust?

    2 projects | /r/rust | 29 Apr 2023
  • Announcing Burn: New Deep Learning framework with CPU & GPU support using the newly stabilized GAT feature

    7 projects | /r/rust | 6 Nov 2022
  • Corgi: Rust neural network/dynamic automatic differentiation library I have been working on

    3 projects | /r/rust | 6 Apr 2021
  • [P] Corgi: Rust neural network/dynamic automatic differentiation library I have been working on

    1 project | /r/MachineLearning | 6 Apr 2021
  • A note from our sponsor - SaaSHub
    www.saashub.com | 14 Nov 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Tensor projects in Rust? This list will help you:

# Project Stars
1 burn 16,274
2 dfdx 1,938
3 L2 197
4 RustTensor 79
5 dlpark 66

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

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