Candle

Minimalist machine learning framework for Rust focused on performance and serverless inference.

Open SourceSelf HostedOffline Capable
0.0 (0)

About

Candle is a minimalist machine learning framework written in Rust and maintained by Hugging Face, built to make serverless inference practical by removing the heavyweight Python dependencies of traditional frameworks. Its API is designed to feel familiar to PyTorch users while compiling to small, fast-starting binaries. The framework supports optimized CPU execution with optional MKL and Accelerate backends, CUDA with multi-GPU distribution via NCCL, and WebAssembly for running models directly in the browser. The repository ships working implementations of many models, including LLaMA, Mistral, Phi, Gemma, and Qwen language models, Stable Diffusion for image generation, Whisper for speech recognition, and YOLO and Segment Anything for vision. Weights load from safetensors, NPZ, GGML, and PyTorch files, including llama.cpp compatible quantized formats, and custom kernels such as FlashAttention v2 can be plugged in. Dual licensed under MIT and Apache 2.0, Candle suits developers who want production or edge inference without a Python runtime.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Intermediate (3/5)
License
Apache-2.0
Added
May 7, 2026

Related Tools

Open-source ChatGPT alternative that runs 100% offline on your computer.

Open SourceSelf HostedOffline
Beginner
0.0 (0)
Featured

Port of Meta's LLaMA model in C/C++ for efficient CPU inference

Open SourceSelf HostedOffline
Intermediate
0.0 (0)

Fast LLM inference on consumer GPUs using neuron-aware sparse computation.

Open SourceSelf HostedOfflineGPU 4GB+
Advanced
0.0 (0)
Featured

High-throughput LLM serving engine with PagedAttention

Open SourceSelf HostedOfflineGPU 16GB+
Intermediate
0.0 (0)

Easy-to-use local AI inference with built-in web UI and API.

Open SourceSelf HostedOffline
Beginner
0.0 (0)

Minimalist ML framework in Rust by Hugging Face for fast inference.

Open SourceSelf HostedOffline
Advanced
0.0 (0)
Browse all LLM Inference & Serving tools