Machine learning

31 projects

Rust's ML ecosystem is smaller than Python's but strong in inference and tooling. Candle, from Hugging Face, is a minimal tensor framework focused on running models with CPU, CUDA and Metal backends and small binaries. Burn is a full deep learning framework that supports training as well as inference, with swappable backends including WGPU, CUDA and LibTorch. Hugging Face's tokenizers library is written in Rust and powers its Python package.

For running large language models locally, mistral.rs provides an inference server with quantization support. If you want to stay close to PyTorch, tch-rs binds libtorch directly, and rust-bert builds transformer pipelines on top of it. There are also official TensorFlow bindings, and research-oriented projects like luminal and dfdx explore compile-time-checked tensor shapes and graph compilation.

For classical machine learning, Linfa is modelled on scikit-learn and covers clustering, regression and SVMs, and smartcore is a similar pure-Rust option. A common pattern is to train in Python and serve the model from Rust using Candle, Burn or ONNX runtimes, which gives you a single binary without a Python dependency.

nanogliaby AlixANNERAUD

No_std TinyML inference engine: runs TensorFlow Lite models loaded at run time on microcontrollers, with CMSIS-NN and ESP-NN accelerated kernels and no heap required.

nanoglia0.3.13.1k/90d updated 1d ago

2

leafby autumnai

Open Machine Intelligence framework.. Abandoned project. The most updated fork is juice.

leaf0.2.1356/90d updated 2y ago

5.5k

tictonixby ave-sergeev

A library that provides the ability to convert tokens into embeddings, as well as to encode their positions.

tictonix1.0.114/90d updated 1y ago

9

deltaby blackportal-ai

ฮ” An Open-Source Machine Learning Framework in Rust.

updated 1y ago

414

nebulaby blackportal-ai

A Package Manager for Machine Learning Datasets and Models.

updated 1y ago

84

burnby tracel-ai

A Flexible and Comprehensive Deep Learning Framework.

burn0.22.11.3m/90d updated today

16.4k

dfdxby chelsea0x3b

CUDA accelerated machine learning framework that leverages many of Rust's unique features.

v0.13.0updated 2y ago

1.9k

rust-automlby cmccomb

Automated classification, regression, and clustering workflows built on SmartCore

automl0.3.1461/90d updated 2mo ago

41

mistral.rsby EricLBuehler

Fast, flexible LLM inference engine supporting multimodal models, quantization (GGUF/GPTQ/ISQ), and OpenAI-compatible API

mistralrs0.8.178.1k/90d updated 1d ago

7.9k

furnaceby Gilfeather

Pure Rust inference server for ONNX models, built on Burn

furnace-server0.16.3410/90d updated 4d ago

67

rust-bertby guillaume-be

Ready-to-use NLP pipelines and language models

rust_bertupdated 10mo ago

3.1k

candleby huggingface

A minimalist ML framework with a focus on easiness of use and on performance (including GPU support)

candle-core0.11.15.4m/90d updated 1d ago

21.5k

tokenizersby huggingface

Hugging Face's tokenizers for modern NLP pipelines (original implementation) with bindings for Python.

tokenizers0.23.222.3m/90d updated today

11.4k

cmfby infosave2007

Single-file quantized LLM format (CMF) and inference runtime with no ML framework underneath: CPU, GPU via Vulkan/DX12/Metal, OpenAI-compatible server.

cortiq-engine0.9.305.5k/90d updated today

85

planoby katanemo

The AI-native proxy server and data plane for agentic apps.

0.4.40updated 3d ago

7.1k

tch-rsby LaurentMazare

Bindings for PyTorch.

tch0.27.03.3m/90d updated 25d ago

5.5k

luminalby luminal-ai

High-performance general-purpose inference compiler with RISC-style architecture, search-based optimization, and native CUDA/Metal backends. Supports transformers, convnets, and autograd.

luminal0.2.0358/90d updated 1d ago

3.1k

rustlearnby maciejkula

Machine learning library.

rustlearn0.5.01.7k/90d updated 5y ago

647

shimmyby Michael-A-Kuykendall

Pure-Rust WebGPU inference engine with an OpenAI-compatible API and native GGUF support.

shimmy2.6.7690/90d updated 22d ago

6k

shimmytokby Michael-A-Kuykendall

Pure-Rust tokenizer for GGUF models, compatible with llama.cpp tokenization.

shimmytok0.8.52.7k/90d updated 22d ago

27

lightgb3-rsby Mottl

Bindings for LightGBM

lightgbm31.0.1148.2k/90d updated 2mo ago

68

nobodywhoby nobodywho-ooo

On-device LLM inference engine that embeds directly in games and apps with no server or API key. Supports streaming generation, embeddings, GBNF grammar-constrained structured output, and Whisper speech-to-text, with bindings for Godot, Flutter, React Native, and Swift.

updated today

1.7k

openinferby openinfer-project

LLM inference engine in pure Rust + CUDA with no PyTorch and no Python runtime โ€” OpenAI-compatible API, paged KV cache, CUDA Graph, serving models from Qwen3 to the trillion-parameter Kimi-K2.

v0.1.1updated 2d ago

757

perpetualby perpetual-ml

A self-generalizing gradient boosting machine which doesn't need hyperparameter optimization.

perpetual2.5.010k/90d updated 23d ago

720

RustTensorby ramsyana

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

updated 1y ago

81

edgequakeby raphaelmansuy

A high-performance Graph-RAG framework that transforms documents into intelligent knowledge graphs.

v0.40.13updated 10d ago

2.3k

linfaby rust-ml

Machine learning framework.

linfa0.9.0603.7k/90d updated 11d ago

4.8k

anofox-regressionby sipemu

Statistical regression models (OLS, Elastic Net, GLM, Quantile & Isotonic) with R-like inference (p-values, confidence & prediction intervals) and Wasm support.

anofox-regression0.12.217.3k/90d updated 29d ago

10

smartcoreby smartcorelib

Machine Learning Library []

smartcore0.7.0135.5k/90d updated 3d ago

983

rust-lstmby SyntaxSpirits

LSTM, BiLSTM, GRU and peephole LSTM networks with backpropagation through time, SGD/Adam/RMSprop optimizers, learning rate schedulers, dropout and zoneout.

rust-lstm0.11.075/90d updated 20d ago

24

festeby tag1consulting

A GPT-2 style transformer language model implemented from scratch in Rust for educational purposes.

updated 18d ago

85

Built on the open rust-unofficial/awesome-rust list by its contributors, licensed CC0 1.0. Crate Atlas is an independent project, not affiliated with the list's maintainers.

About Synced Dec 4, 2026

ยฉ 2026 Crate Atlas

Esc

Type to search every entry. โ†‘โ†“ to move, Enter to open.