C
huggingface/candle★ 21,505 · Rust
Rust ML SDK for embedding local model inference without a Python runtime
Apache-2.0 · Commercial Friendly
Side-by-side 2026 comparison in LLMs & Inference: huggingface/candle leads both total GitHub adoption (★ 21.5k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
Rust ML SDK for embedding local model inference without a Python runtime
Embeddable Rust tokenization for model-compatible text encoding and decoding
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | huggingface/candle | huggingface/tokenizers |
|---|---|---|
| Total GitHub Stars | ★ 21,505 | ★ 11,383 |
| 24h / 7d Velocity | +21 / +81 | +15 / +62 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 88/100 | A+ · 93/100 |
| Deployment Signals | Local AI · GPU | CLI |
| Primary Language | Rust | Rust |
| Commercial License | Apache-2.0 · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated today | Updated today |
| Latest Release | Rolling commits (main) | v0.23.3 |
| Best For | Rust teams embedding a supported model into a local tool, application, or inference worker, especially when avoiding Python and LibTorch matters and the team can validate the target backend | Model-serving, data preprocessing, or browser applications that need an embedded tokenizer, local tokenizer.json loading, and explicit control over model-specific tokenization |
candle-core owns tensors and devices, candle-nn supplies neural-network building blocks, and candle-transformers houses model code.candle-kernels, candle-metal-kernels, and separate FlashAttention and FlashAttention v3 directories; FlashAttention v2 is the concrete integration example.cargo run --example quantized --release
pip install --pre tokenizers
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy