Find a Rust library or app for your ML job
519 projects, 86 of them Featured. Every tier comes from published rules.
What do you want to do?
- Run and serve models ort, candle
- Build LLM apps and agents rmcp, async-openai
- Train models candle, tch-rs
- Speech and audio whisper-rs, sherpa-onnx
- Text, embeddings and search tokenizers, tiktoken-rs
- Images and vision imageproc, opencv-rust
- Video containr, rav1r
- Documents and OCR pdf_oxide, ocrs
- Tabular data and classic ML linfa, smartcore
- Math and science ndarray, nalgebra
- Tensors and GPU compute candle, cubecl
- Datasets and model formats arrow-rs, safetensors
Or pick the kind of project
Maintained by the ML Rust organization
We run this catalogue and maintain these projects. We pick this list by hand. Their tiers follow the same published rules.
-
numr
The base for numerical code in Rust, in the role NumPy has in Python: n-dimensional tensors, linear algebra, FFT, statistics and autograd on CPU, CUDA and WebGPU. The backends use native kernels, with no cuBLAS, MKL or other vendor math library.
-
boostr
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.
-
oxidizr
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.
-
blazr
Inference server for LLMs, speech and embeddings: OpenAI-compatible routes with streaming, plus speech synthesis (TTS) and transcription (ASR). Serves Llama, Mistral, Qwen, Mamba2, MLA+MoE and hybrid models from SafeTensors, AWQ, GPTQ and GGUF.
-
voxr
Audio and speech on boostr: compressed-audio decode, resampling, DSP and grapheme to phoneme, with speech synthesis (Kokoro, VITS), voice cloning (VoxCPM2), transcription with word timings (Whisper), voice activity (Silero) and audio-text scoring (CLAP), on CPU or CUDA.
-
splintr
Tokenizer for Rust and Python: pure Rust by default, with 18 bundled vocabularies and four backends covering BPE, SentencePiece and WordPiece. Its output matches Hugging Face tokenizers id for id on 14 model families, including GPT-2, Qwen, Whisper, T5 and BERT.
-
compressr
Model conversion and quantization with no Python: reads SafeTensors, GGUF, TCF and PyTorch state dicts, writes SafeTensors, GGUF and TCF, and quantizes to Q2_K through Q8_0 and IQ4 formats, including Q4_K_M mixes. GPTQ, AWQ, NF4, FP8, EXL2 and ONNX input are not implemented.
-
treeboost
Gradient-boosted decision trees for tabular data: trains a baseline model in one call, with full control over boosting modes and configs, and Scalar, AVX-512, SVE2, WGPU and CUDA backends.
Featured projects
Order: most downloads first, 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.
| Project | Downloads | Dependents | Stars | Latest release | Runs on (GPU) | Native code | License |
|---|---|---|---|---|---|---|---|
|
ndarray Featured
An n-dimensional array for general elements and for numerics. Lightweight array views and slicing; views support chunking and splitting. |
13,748,379 downloads over 30 days | 2,888 | 4,344 | 0.17.2 | GPU support unknown | Binds native code: cblas-sys (feature blas) | Apache-2.0 OR MIT |
|
rmcp Featured
Rust SDK for Model Context Protocol |
12,149,426 downloads over 30 days | 2,400 | 4,101 | 3.9.0 | GPU support unknown | No native code found | Apache-2.0 |
|
arrow-rs Featured
Rust implementation of Apache Arrow Python bindings |
10,746,755 downloads over 30 days | 2,126 | 3,664 | 60.1.0 | GPU support unknown | Binds native code: ring (feature encryption), liblzma-sys (feature default), zstd-sys (feature default) | Apache-2.0 |
|
tokenizers Featured
Fastest implementation of the most used tokenizers in AI. |
7,490,451 downloads over 30 days | 1,021 | 11,230 | 0.23.2 | GPU support unknown | Binds native code: tikv-jemalloc-sys, onig_sys (feature default) | Apache-2.0 |
|
nalgebra Featured
General-purpose linear algebra library with transformations and statically-sized or dynamically-sized matrices. |
6,251,820 downloads over 30 days | 2,119 | 4,810 | 0.35.0 | GPU support unknown | Binds native code: blas-sys, lapack-sys, defmt (feature defmt) | Apache-2.0 |
|
safetensors Featured
Provides functions to read and write safetensors which aim to be safer than their PyTorch counterpart. |
5,486,837 downloads over 30 days | 531 | 3,943 | 0.8.0 | GPU support unknown | No native code found | Apache-2.0 |
|
statrs Featured
Statistical computing library for Rust |
4,515,476 downloads over 30 days | 444 | 839 | 0.19.1 | GPU support unknown | No native code found | MIT |
|
rustfft Featured
High-performance FFT library written in pure Rust. |
4,266,035 downloads over 30 days | 571 | 963 | 6.4.1 | GPU support unknown | No native code found | Apache-2.0 OR MIT |
: containr moved from First check to New. All tier changes