samuel-vitorino/lm.rs
Minimal LLM inference in Rust observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 35
- Longevity 55
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 781
- days_rel: n/a
- days_push: 678
- n_releases_24m: 0
Adoption not part of the score
1033 stars · 43 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A minimal Rust implementation for running LLM inference locally on CPU without ML libraries, supporting Gemma 2, Llama 3.2, and Phi 3.5 (including vision) models with quantization. Inspired by Karpathy's llama2.c and llm.c.
Use cases
- run LLM inference locally on CPU
- run language models in Rust without ML frameworks
- run quantized Llama or Gemma models on a local machine
- run multimodal vision-language models on CPU
- learn how LLM inference works from minimal code
When to choose
- you want dependency-free CPU-only LLM inference in Rust
- you want a small, readable codebase to study inference internals
- you need to run small quantized models (1B-9B) on modest hardware
When to avoid
- you need GPU acceleration or maximum throughput
- you need broad model support or production-grade features
- you need a battle-tested inference server for production workloads
Facets
library · maturity active
llm-inference machine-learning large-language-models machine-learning developer-tools rust windows cli cpu-inference quantization minimal-implementation multimodal gemma llama phi-3 linux macos
1 source
- readme: https://github.com/samuel-vitorino/lm.rs · fetched 2026-08-28 · 68934e29e285
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| samuel-vitorino/lm.rs | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="samuel-vitorino/lm.rs")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem