candle logo

candle

huggingface/candle

Minimalist ML framework for Rust

GraphCanon updated 2w · GitHub synced 2w · 25 views this month

21k stars1.7k forksLast push 3w Rust Apache-2.0

Decision brief

Candle is a minimalist ML framework for Rust with an Apache-2.0 license.

Good fit when

  • If you require a lightweight and efficient machine learning solution built in the Rust programming language for faster performance and memory safety.
  • When targeting projects that can benefit from web assembly (WASM) support, using Candle may allow seamless integration into WASM environments like browser-based applications.

Avoid when

  • If your project strictly requires deep interoperability with Python-centric ecosystems or libraries such as TensorFlow or PyTorch.
  • Candle might not be the best choice if extensive pre-trained model repositories availability and ecosystem is crucial, as it may lack the breadth of models compared to more established frameworks.

Observed Jul 16, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (3d since push)
As of 2w
Provenance
Not a fork · Organization account
As of 2w
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Backing

Company context for Hugging Face. Display-only - separate from trust and ranking.

Company
Hugging Face·GitHub org profile·1mo
Employees
160·Wikidata (P1128 employees)·1mo
Funding
$235,000,000 (2023-08)·GraphCanon curated seed (public press)·1mo
Commercial model
OSS + managed cloud·GraphCanon curated seed·1mo

Install

cargo add candle
crates.io

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Candle is a minimalist machine learning framework developed in the Rust programming language designed to provide efficient and scalable AI solutions.

Capability facts

Languages
rust

Source: github.language · Aug 3, 2026

Categories

Graph entities

Tags

README

install target platform 'wasm32-unknown-unknown'

rustup target add wasm32-unknown-unknown

cd candle-wasm-examples/llama2-c wget https://huggingface.co/spaces/lmz/candle-llama2/resolve/main/model.bin wget https://huggingface.co/spaces/lmz/candle-llama2/resolve/main/tokenizer.json trunk serve --release --port 8081

And then head over to
[http://localhost:8081/](http://localhost:8081/).

---

# Install git and curl
RUN set -eux; \
  apt-get update; \
  apt-get install -y curl git ca-certificates;

---

# Install Rust
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.