Train models

Train your own models, from small neural networks to deep learning.

51 projects. Checked .

Start here

The Featured projects with the most downloads.

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.

Train models
ProjectDownloadsDependentsStarsLatest releaseRuns on (GPU)Native codeLicense
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 43 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
dfdx Listed Dormant

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
nexar Listed

Distributed runtime that replaces MPI between nodes: point-to-point messages, 11 collectives and RPC over QUIC, with no mpirun or MPI library.

1,191 downloads over 30 days 5 5 0.2.1 CUDA Binds native code: ring. Build uses a native toolchain: bindgen, pkg-config Apache-2.0
postgresml App Listed Dormant

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
tboard-rs Listed Dormant

Write and read tensorboard files.

Python bindings

445 downloads over 30 days 3 23 0.1.1 GPU support unknown No native code found 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
mpsgraph-rs Listed Dormant

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
rurel Listed Dormant

Flexible, reusable reinforcement learning (Q learning) implementation

150 downloads over 30 days 0 165 0.6.0 GPU support unknown No native code found MPL-2.0

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
leaf Listed Dormant

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
neuroflow Listed Dormant

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
prophet Listed Dormant

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
rsrl Listed Dormant

A fast, extensible reinforcement learning framework in Rust

80 downloads over 30 days 0 204 0.8.1 GPU support unknown Binds native code: lapack-sys MIT
gym-rs Listed Dormant

Open AI environments bindings for Rust

75 downloads over 30 days 2 70 2.2.1 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
alumina Listed Dormant

An Experimental Deep Learning Library

46 downloads over 30 days 0 103 0.3.0 GPU support unknown No native code found MIT
bevy_rl Listed

Build environments for reinforcement learning with bevy

33 downloads over 30 days 1 104 0.17.0 WebGPU No native code found Apache-2.0 OR MIT
oxidizr App Listed

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
autograph Listed Dormant

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
juice Listed Dormant

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
pmetal Listed

High-performance LLM fine-tuning framework for Apple Silicon

Python bindings

13 downloads over 30 days 0 332 0.7.0 Metal Binds native code: pmetal_bridge, pmetal_runtime, mach-sys, pmetal-mlx-sys. Build uses a native toolchain: cc, cmake Apache-2.0 OR MIT
fann-rs Listed Dormant

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
revonet Listed Dormant

Rust implementation of real-coded genetic algorithm for solving optimization problems and training of neural networks. The latter is also known as neuroevolution.

9 downloads over 30 days 0 20 0.2.1 GPU support unknown No native code found GPL-3.0
neuronika Listed Dormant

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

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 Listed Dormant

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
drug Listed Dormant

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
cntk-rs Listed Dormant

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
cogent Listed Dormant

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
delta App Listed Dormant

An Open-Source Machine Learning Framework in Rust Δ

0 binary downloads per release Not applicable 413 Not measured Not measured BSD-3-Clause
ratchet App Listed

A cross-platform browser ML framework.

Not measured Not applicable 771 Not measured Not measured Not measured MIT
REnforce App Listed Dormant

Reinforcement learning library written in Rust

Not measured Not applicable 24 Not measured Not measured Not measured None stated
RustGPT App Listed Dormant

An transformer based LLM. Written completely in Rust

Not measured Not applicable 3,192 Not measured Not measured Not measured MIT
RustNN App Listed Dormant

A neural network crate

Not measured Not applicable 339 Not measured Not measured Not measured Apache-2.0
RustTensor App Listed Dormant

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
torchrs App Listed Dormant

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

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
deeplearn-rs App Archived

Neural networks in Rust

Not measured Not applicable 210 Not measured Not measured Not measured MIT