Hugging Face Transformers now runs llama.cpp GGUF quants via familiar from_pretrained API
ariG23498 · x · 2026-12-03
Hugging Face announced that Transformers now supports running GGUF models: you can pick a quantized checkpoint from the Hub, load it with frompretrained, and generate locally on hardware-sized models using the familiar API.
Key details:
- Performance is brought close to llama.cpp by reusing its ggml kernels through the kernels library and reducing overhead in generate
- Ready-to-use GGUF checkpoints come from ggml-org, Unsloth, LM Studio Community and bartowski, with millions of downloads
- The team published benchmarks against llama.cpp (a small dense model, a larger dense model, and a MoE model) measured on a MacBook Pro M2 Max 32GB, with exact llama-bench commands included
- Context: Julien Chaumond previously showed Qwen 27B running in the Pi coding agent via llama.cpp on a MacBook Pro, calling it very close to the latest Opus on non-trivial HF codebase tasks
This bridges the Ollama/LM Studio quant ecosystem with Transformers workflows, further lowering the barrier to local inference.
More from coding & agent
- Free 'AI Engineering from Scratch' Course Turns Claude Code Into Your Personal Tutor — ghumare64 · 2026-12-03
- Vibe-coded sites hackable in under an hour: this Claude Code prompt audits your admin routes — TawohAwa · 2026-12-03
- Most vibe-coded websites can be hacked in under an hour: 8 Claude Code prompts to fix yours — TawohAwa · 2026-12-03
- "The best agent-focused language is mathematics" — vtabbott_ · 2026-12-03
- Dev writes a Claude skill that interrogates him with 50 questions to map out requirements — Aryvyo · 2026-12-03
- usb-rea: open-source USB reverse engineering that auto-generates pyusb drivers for Linux — mathemagie · 2026-12-03