Transformers now runs llama.cpp quants
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.
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.