ML frameworks
Libraries for defining models and training them.
Start here
The Featured projects with the most downloads.
-
candle
Minimalist ML framework.
1.8M downloads (30 days) Latest release: 0.11.1, 31 Oct 2026
-
tch-rs
Rust wrappers for the PyTorch C++ api (libtorch).
1.2M downloads (30 days) Latest release: 0.26.0, 23 Aug 2026
-
burn
Flexible and Comprehensive Deep Learning Framework in Rust
521k downloads (30 days) Latest release: 0.22.1, 29 Oct 2026
All projects
Order: strongest tier first, then most downloads, then name, with unmeasured values last. A library counts downloads over 30 days. An app counts binary downloads per release. An app with none counts its crate downloads over 30 days.
What do the tiers mean?
- Featured
- Shown first. It passes every Featured gate.
- Listed
- Shown in the normal listing. No other tier applies.
- New
- A project whose first release is recent.
- Archived
- No longer maintained, or ended by its author.
Tiers come from published rules over raw signals. Stars alone never qualify a project.
Active dependents: crates from other owners that depend on this project in a current release. One owner counts at most once.
Movement needs more history.
| Project | Downloads | Dependents | Stars | Latest release | Runs on (GPU) | Native code | License |
|---|---|---|---|---|---|---|---|
| Featured 4 projects | |||||||
|
candle Featured
Minimalist ML framework. Python bindings |
1,766,495 downloads over 30 days | 692 | 21,287 | 0.11.1 | CUDA, Metal | Binds native code: accelerate-src (feature accelerate), intel-mkl-src (feature mkl), alsa-sys (feature encodec) | Apache-2.0 OR MIT |
|
tch-rs Featured
Rust wrappers for the PyTorch C++ api (libtorch). Python bindings |
1,190,464 downloads over 30 days | 124 | 5,518 | 0.26.0 | CUDA | Binds native code: tch, torch-sys. Build uses a native toolchain: cc | Apache-2.0 OR MIT |
|
burn Featured
Flexible and Comprehensive Deep Learning Framework in Rust |
521,465 downloads over 30 days | 391 | 16,257 | 0.22.1 | CUDA, WebGPU, Metal, ROCm, Vulkan | Binds native code: netlink-sys (feature iroh), nvml-wrapper-sys (feature sys-metrics), torch-sys (feature tch) | Apache-2.0 OR MIT |
|
mlx-rs Featured
Unofficial rust wrapper for Apple's mlx machine learning library. |
33,398 downloads over 30 days | 36 | 389 | 0.34.0 | Metal | Binds native code: mach-sys, mlx, mlx-sys. Build uses a native toolchain: bindgen, cc, cmake | Apache-2.0 OR MIT |
| Listed 37 projects | |||||||
|
aprender Listed
Next-generation ML framework in pure Rust — `cargo install aprender` for the `apr` CLI |
15,442 downloads over 30 days | 31 | 140 | 0.72.3 | CUDA, WebGPU | Binds native code: libsqlite3-sys, zstd-sys, tree-sitter (feature full), alsa-sys (feature audio-alsa), nvml-wrapper-sys (feature nvml) and 1 more. Build uses a native toolchain: bindgen (feature bindgen) | MIT |
|
Ergonomic auto differentiation in Rust, with pytorch like apis. |
2,369 downloads over 30 days | 4 | 1,944 | 0.13.0 | CUDA | No native code found | Apache-2.0 OR MIT |
|
boostr Listed
ML framework on numr for training and inference on CPU, CUDA and WebGPU: attention, quantization, inference scheduling and distributed execution. Models include LLaMA, Mamba2, Qwen3.5, Whisper, Kokoro, VITS, VoxCPM2, Silero VAD, CLAP and super-resolution. Loads SafeTensors and GGUF. |
1,265 downloads over 30 days | 7 | 20 | 0.11.2 | CUDA, WebGPU | Binds native code: ring (feature distributed) | Apache-2.0 |
|
Postgres with GPUs for ML/AI apps. Python bindings |
915 downloads over 30 days | Not applicable | 6,830 | 1.1.1 | GPU support unknown | No native code found | MIT |
|
xla-rs Listed
Bindings for the XLA C++ library. |
864 downloads over 30 days | 2 | 117 | 0.5.4 | GPU support unknown | Build uses a native toolchain: bindgen, cc | Apache-2.0 OR MIT |
|
web-rwkv Listed
An implementation of the RWKV language model in pure WebGPU. |
444 downloads over 30 days | 3 | 360 | 0.10.20 | WebGPU | Binds native code: tracy-client-sys (feature trace) | Apache-2.0 OR MIT |
|
Modern Rust bindings for Apple's Metal Performance Shaders Graph framework |
398 downloads over 30 days | 2 | Not measured | 0.2.0 | Metal | No native code found | MIT |
|
ruv-fann Listed
A pure Rust implementation of the Fast Artificial Neural Network (FANN) library Python bindings |
270 downloads over 30 days | 7 | 388 | 0.2.1 | CUDA, WebGPU | Binds native code: libsqlite3-sys, win-sys, torch-sys (feature neural-networks). Build uses a native toolchain: cc | Apache-2.0 OR MIT |
|
rust-autograd Listed
Tensors and differentiable operations in Rust |
121 downloads over 30 days | 0 | 504 | 1.1.1 | GPU support unknown | Binds native code: intel-mkl-src (feature mkl) | MIT |
|
Machine Learning Framework for Hackers |
110 downloads over 30 days | 0 | 5,539 | 0.2.1 | CUDA | No native code found | Apache-2.0 OR MIT |
|
flodl Listed
floDl — a flow-graph deep learning framework built on libtorch |
106 downloads over 30 days | 3 | 63 | 0.8.0 | CUDA, ROCm | Binds native code: flodl-sys. Build uses a native toolchain: cc | MIT |
|
The neural network library implemented in Rust |
96 downloads over 30 days | 0 | 121 | 0.2.0 | GPU support unknown | No native code found | MIT |
|
A neural network implementation with a focus on cache-efficiency and sequential performance. |
87 downloads over 30 days | 0 | 41 | 0.4.2 | GPU support unknown | No native code found | Apache-2.0 OR MIT |
|
rustyml Listed
Machine learning models, neural networks, metrics, and data utilities in Rust |
59 downloads over 30 days | 0 | 345 | 0.17.0 | GPU support unknown | No native code found | MIT |
|
rumus Listed
A native-Rust deep learning framework with explicit memory safety and hardware acceleration |
52 downloads over 30 days | 0 | 202 | 0.4.0 | WebGPU | No native code found | Apache-2.0 OR MIT |
|
Rust implementation of the Diffusers library using Torch. |
49 downloads over 30 days | 1 | 596 | 0.3.1 | CUDA | Binds native code: torch-sys | Apache-2.0 OR MIT |
|
An Experimental Deep Learning Library |
46 downloads over 30 days | 0 | 103 | 0.3.0 | GPU support unknown | No native code found | MIT |
|
Trains GPT-style language models from a YAML config and a tokenized dataset: dense GQA transformers, Mamba 1, 2 and 3, MLA and MoE layers on CPU or CUDA. Runs the training loop, optimizer, checkpoints, evaluation and metrics on boostr, and builds speech corpora through voxr. |
27 downloads over 30 days | Not applicable | 8 | 0.1.1 | CUDA | Binds native code: nvml-wrapper-sys (feature cuda) | Apache-2.0 |
|
A machine learning library for Rust. |
25 downloads over 30 days | 0 | 333 | 0.2.1 | GPU support unknown | Binds native code: curl-sys (feature mnist), libz-sys (feature mnist) | Apache-2.0 OR MIT |
|
bullet Listed
ML library for directed acyclic tensor graphs. |
15 downloads over 30 days | 0 | 252 | 0.3.0 | GPU support unknown | No native code found | MIT |
|
rust-lstm Listed
A complete LSTM neural network library with training capabilities, multiple optimizers, and peephole variants. |
15 downloads over 30 days | 0 | 24 | 0.10.0 | GPU support unknown | No native code found | MIT |
|
Machine Learning Framework for Hackers |
14 downloads over 30 days | 5 | 1,129 | 0.3.0 | CUDA | Binds native code: cublas, cudnn, rcublas-sys, rcudnn-sys. Build uses a native toolchain: pkg-config, bindgen (feature generate) | Apache-2.0 OR MIT |
|
Wrapper for the Fast Artificial Neural Networks library |
10 downloads over 30 days | 0 | 16 | 0.1.8 | GPU support unknown | Binds native code: fann-sys | LGPL-3.0 |
|
Tensors and dynamic neural networks. |
6 downloads over 30 days | 0 | 1,083 | 0.2.0 | GPU support unknown | No native code found | MPL-2.0 |
|
llms-from-scratch-rs Listed
Rust (candle) code for Build a LLM From Scratch by Sebastian Raschka |
3 downloads over 30 days | 0 | 340 | 0.1.5 | CUDA | No native code found | MIT |
|
HAL: a machine learning library that is able to run on Nvidia, OpenCL or CPU BLAS based compute backends. It currently provides stackable classical neural networks, RNN's and soon to be LSTM's. |
2 downloads over 30 days | 0 | 92 | 0.2.0 | GPU support unknown | No native code found | BSD-3-Clause |
|
A differentiable computation graph for neural networks. |
1 downloads over 30 days | 0 | 16 | 0.0.2 | GPU support unknown | No native code found | MIT |
|
Wrapper around Microsoft CNTK library |
0 downloads over 30 days | 0 | 21 | 0.2.1 | GPU support unknown | No native code found | Apache-2.0 OR MIT |
|
Basic neural network library for classification. |
0 downloads over 30 days | 0 | 45 | 0.6.3 | GPU support unknown | No native code found | Apache-2.0 |
|
An Open-Source Machine Learning Framework in Rust Δ |
0 binary downloads per release | Not applicable | 413 | Not measured | Not measured | BSD-3-Clause | |
|
l2 is a fast, Pytorch-style Tensor+Autograd library written in Rust |
0 binary downloads per release | Not applicable | 197 | Not measured | Not measured | MIT | |
|
Computational graphs with reverse automatic differentation in the GPU |
0 downloads over 30 days | 0 | 396 | 0.5.0 | GPU support unknown | No native code found | Apache-2.0 OR MIT |
|
A cross-platform browser ML framework. |
Not measured | Not applicable | 771 | Not measured | Not measured | Not measured | MIT |
|
An transformer based LLM. Written completely in Rust |
Not measured | Not applicable | 3,192 | Not measured | Not measured | Not measured | MIT |
|
A neural network crate |
Not measured | Not applicable | 339 | Not measured | Not measured | Not measured | Apache-2.0 |
|
A learning-focused, high-performance tensor computation library built from scratch in Rust, featuring automatic differentiation and CPU/CUDA backends. |
Not measured | Not applicable | 79 | Not measured | Not measured | Not measured | MIT |
|
Deep Learning in Rust with the PyTorch API |
Not measured | Not applicable | 77 | Not measured | Not measured | Not measured | BSD-2-Clause |
| Archived 4 projects | |||||||
|
tensorflow Archived
Rust language bindings for TensorFlow. |
7,617 downloads over 30 days | 16 | 5,480 | 0.21.0 | GPU support unknown | Binds native code: tensorflow, tensorflow-sys. Build uses a native toolchain: pkg-config | Apache-2.0 |
|
oxidized-transformers Archived
Transformers library (not functional yet) |
0 downloads over 30 days | 0 | 40 | 0.1.1 | CUDA, Metal | No native code found | Apache-2.0 OR MIT |
|
xaynet Archived
The Xayn Network project is building a privacy layer for machine learning so that AI projects can meet compliance such as GDPR and CCPA. The approach relies on Federated Learning as enabling technology that allows production AI applications to be fully privacy compliant. |
0 downloads over 30 days | 0 | 202 | 0.11.0 | GPU support unknown | Binds native code: libsodium-sys | Apache-2.0 |
|
Neural networks in Rust |
Not measured | Not applicable | 210 | Not measured | Not measured | Not measured | MIT |