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/transformers leads both total GitHub adoption (★ 169.6k) 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
A PyTorch model-definition SDK for unified inference and training across modalities
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | huggingface/candle | huggingface/transformers |
|---|---|---|
| Total GitHub Stars | ★ 21,505 | ★ 169,580 |
| 24h / 7d Velocity | +21 / +81 | +41 / +337 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 88/100 | A+ · 100/100 |
| Deployment Signals | Local AI · GPU | CLI · GPU · API |
| Primary Language | Rust | Python |
| Commercial License | Apache-2.0 · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated today | Updated today |
| Latest Release | Rolling commits (main) | v5.25.1 |
| 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 | Teams that need a shared PyTorch model implementation for checkpoint evaluation, fine-tuning, and integration with a separate serving engine |
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
pipeline wraps input processing, execution, and output processing; LLM and VLM generation supports decoding controls and streaming.transformers serve provides OpenAI SDK-compatible HTTP and supports continuous batching; vLLM and SGLang can reuse supported model definitions as a backend.uv pip install "transformers[torch]"
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy