Skip to content

Transformers now runs llama.cpp quants

7.9 relevance
Score Breakdown
technical depth
8
novelty
8
actionability
7
community
9
strategic
7
personal
9

Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.

Transformers library integrating llama.cpp quantizations, major for local LLM deployment.

AI/ML huggingface.co
Transformers now runs llama.cpp quants
Summary

Hugging Face Transformers now supports GGUF quantized models from llama.cpp, allowing direct loading via `from_pretrained` with the `gguf_file` parameter for local inference on Apple Silicon Macs, powered by Metal-accelerated ggml kernels from the `kernels` library. The GGUF format packages weights, tokenizer, and chat template, and the initial release focuses on Qwen3.5 architecture, with Q4_K_M recommended as a practical starting point for size-quality trade-offs. Users can install via `pip install -U "git+https://github.com/huggingface/transformers.git" kernels` and fall back to SDPA if ggml kernels are unavailable.

Author

Marc Sun

More from Marc Sun →