| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Original HTTPS Page] |
Building a complete machine learning ecosystem in Rust
ml-rust is an organization focused on developing high-performance, production-ready machine learning infrastructure entirely in Rust. Our goal is to provide a full stack for LLM development—from tokenization and training to inference—with an emphasis on speed, safety, and efficiency.
Modern machine learning tooling is fragmented across languages and frameworks. Python dominates the research space but struggles with performance and deployment. We believe Rust's combination of zero-cost abstractions, memory safety, and fearless concurrency makes it ideal for production ML systems.
ml-rust aims to build an integrated ecosystem where each component is designed to work seamlessly together, from the ground up.
LLM training framework with next-generation architectures
A production-grade training framework built on Candle that focuses on modern architectures beyond standard Transformers:
oxidizr is the core training engine of the ml-rust ecosystem, designed for researchers and engineers exploring efficient architectures.
Status: Stable. Full training pipeline for Transformer, Mamba2, Mamba3, and hybrid architectures.
High-performance inference server with OpenAI-compatible API
An inference server specifically designed for models trained with oxidizr. Supports cutting-edge architectures:
blazr bridges the gap between experimental architectures and production deployment, making it easy to serve oxidizr models with a familiar API.
Status: Production-ready. Full inference pipeline with streaming and OpenAI-compatible API.
High-performance BPE tokenizer with Python bindings
A Byte-Pair Encoding tokenizer built for speed and compatibility. Supports all major vocabulary formats:
Performance optimizations include:
splintr provides the tokenization layer for both oxidizr training and blazr inference, with Python bindings via PyO3 for easy integration.
Status: Production-ready for supported vocabularies. Actively adding new vocabulary support.
Specialized pure-Rust regex engine for LLM tokenization
A purpose-built regex engine designed specifically for tokenization workloads—not a general-purpose regex library. While Rust has the excellent regex crate for general use, regexr fills a specific gap: lookarounds + JIT compilation + pure Rust.
Why regexr exists:
regexr provides lookarounds, backreferences, and JIT compilation while remaining 100% Rust with no C dependencies.
Multiple execution backends automatically selected based on pattern characteristics:
Status: Production-ready for tokenization patterns. Passes compliance tests for OpenAI cl100k_base and Meta Llama 3 vocabularies.
These projects form a complete, specialized ML pipeline—each component purpose-built for its role:
┌─────────────────────────────────────────────────────────────┐
│ ML Pipeline Flow │
└─────────────────────────────────────────────────────────────┘
regexr ────────────> splintr ────────> oxidizr ────────> blazr
(regex engine) (tokenization) (training) (inference)
│ │ │ │
└───────────────────┴─────────────────┴────────────────┘
Pure Rust • Specialized • Zero C Dependencies
Each component can be used independently, but they're designed to work seamlessly together.
Completed:
In Progress (Q1 2026):
Planned (2026+):
Performance: Zero-cost abstractions and control over memory layout rival C/C++ performance while maintaining safety.
Safety: Ownership and borrowing prevent entire classes of bugs common in ML systems (data races, use-after-free, buffer overflows).
Concurrency: Fearless concurrency makes it natural to build parallel and distributed systems without sacrificing correctness.
Deployment: Single binary deployment with no runtime dependencies simplifies production operations.
Ecosystem: Growing ML ecosystem (Candle, Burn, dfdx) with mature foundations (tokio, rayon, serde).
ml-rust is early-stage but usable. Core functionality across all projects is production-ready for their intended use cases:
These are specialized tools—not general-purpose libraries. We prioritize depth over breadth.
We welcome contributors, early adopters, and feedback from the community.
Each project has its own documentation and examples:
We're building in the open and value community input:
Each project maintains its own license. Most projects use MIT or Apache-2.0. See individual repositories for details.
ml-rust • Building the future of ML infrastructure in Rust
A high-performance tokenizer (BPE, WordPiece, SentencePiece) built with Rust with Python bindings, focused on speed, safety, and resource optimization.
A high-performance numerical computing library for Rust with GPU acceleration, inspired by Numpy
Benchmarking framework with crash isolation, bootstrap statistics, and CI integration
Smarter, background-friendly companion to cargo clean for large Rust projects and long-running development machines
Reactive notebook environment for Rust that uses standard .rs files. Features process isolation, hot reloading, and instant compilation via Cranelift.
An open protocol that gives AI agents a secure, sandboxed place to run code and use tools — with lean context usage. AXP works alongside MCP
High-performance Gradient Boosted Decision Tree engine for large-scale tabular data
Loading…
Loading…
| Back | FazBrowse Home | New Git URL |