Candle
Minimalist ML framework in Rust by Hugging Face for fast inference.
About
Written in Rust by Hugging Face, Candle targets machine learning workloads where binary size, startup time, and runtime performance matter more than a full research stack. The framework offers a PyTorch-like API for defining and running models, supports training as well as inference, and runs on CPU with optional MKL or Accelerate acceleration, on NVIDIA GPUs through CUDA with NCCL-based multi-GPU support, and in the browser through WebAssembly. Ready-made examples cover Llama, Mistral, Whisper, Stable Diffusion, Segment Anything, and many other language, vision, and audio models, and quantized weights in llama.cpp compatible formats are supported alongside safetensors and PyTorch checkpoints. Because no Python interpreter sits in the loop, Candle fits serverless functions, edge deployments, and embedded services where cold-start time and memory footprint are constrained. The project is dual licensed under MIT and Apache 2.0 and attracts Rust developers and ML engineers who need lean, dependency-light inference.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- LLM Inference & Serving
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Advanced (4/5)
- License
- MIT
- Added
- Apr 3, 2026
Related Tools
Open-source ChatGPT alternative that runs 100% offline on your computer.
Port of Meta's LLaMA model in C/C++ for efficient CPU inference
Fast LLM inference on consumer GPUs using neuron-aware sparse computation.
High-throughput LLM serving engine with PagedAttention
Easy-to-use local AI inference with built-in web UI and API.
Minimalist machine learning framework for Rust focused on performance and serverless inference.