Running Gemma 4, Qwen 3 and Phi-4 on CPU in pure Rust
10/25/2026 — 10/25, 15:18·1 sources (all)·1 reports (all)
Key takeaways
- The author built a multi-model CLI inference engine in Rust with Hugging Face Candle, running quantized GGUF versions of Gemma 4, Qwen 3/3.6…
Background & analysis
On October 25, 2026, the AI section of DEV Community published a technical article introducing a command line inference engine written in pure Rust. The engine runs quantized GGUF versions of several small language models entirely on a standard CPU, covering Gemma 4, Qwen 3/3.6 and Phi-4-mini.
The project builds on the author's earlier experiment, which used pure Rust together with the Hugging Face Candle framework to run Microsoft's Phi-3 on an ordinary consumer CPU. That first attempt set out to show that local AI inference does not require heavy Python runtimes, complicated CUDA setups, or Docker images larger than 5GB. In the current iteration the author has scaled the work from a single model into a command line tool that can load multiple models, and the article reports measured numbers for memory footprint, cold start latency and token generation speed across the supported models. The whole setup runs without a Python runtime and without any CUDA environment. As of the published article the project exists as this benchmark write up, and the piece does not mention any further release or open sourcing plans.
AI-generated from 1 reports · updated 4 hours ago
Related AI tools
- Heat index
- 88
- All sources
- 1
- All reports
- 1
- First seen
- 4 hours ago
Reports on this story headlines open the original
The author upgrades an earlier experiment that ran Phi-3 on a consumer CPU with Rust and Hugging Face Candle into a multi-model CLI inference engine that runs quantized GGUF builds of Gemma 4, Qwen 3/3.6 and Phi-4-mini on ordinary CPU hardware. The guide reports measured RAM usage, cold-start latency and token generation speed, with no Python runtime or CUDA setup required.
DEV Community · AIAI score 52
Other stories people are talking about
- Heat index 99NewM5 MacBook Air with 24GB runs Qwen3.8-Flash-Next at 49 t/s locally1 sources
- Heat index 67Artificial Analysis tests Meta Muse Spark Open2 sources
- Heat index 1057RisingKimi K3.1 Pro is live now, weights coming Nov 423 sources
- Heat index 783RisingOpenAI says agents still exchange messages via CPU cache after internet cutoff15 sources
- Heat index 321AWS capacity is basically sold out through 2027, Jassy says, with most of 2028 already booked7 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion

