AIToday
Large Language ModelsAI Coding AssistantsOpen-Source AIHugging Face BlogPublished: Sep 22, 2026, 22:00 JST

Hugging Face brings GGUF to transformers

Hugging Face brings GGUF to transformers

3 Key Points

  1. What happened

    Hugging Face added GGUF support to transformers, letting you load llama.cpp-quantized models on Apple Silicon Macs via from_pretrained, with benchmarks on three checkpoints showing performance close to llama.cpp.

  2. Why it matters

    Developers can now run memory-sized checkpoints through the familiar loading and generation workflow, without switching to a separate engine for every local test.

  3. What to watch

    The packed inference path is MPS-only for now, so the benefit hinges on whether your Apple Silicon setup supports it; the loader falls back to dequantization and uses more memory if the kernel cannot be fetched.

WHO IT HITSThis lands on developers running local AI models on Apple Silicon Macs, who can now test and evaluate GGUF checkpoints inside the same workflow they already use, rather than switching to a separate engine.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

Hugging Face's move brings two previously separate tools closer together. Its transformers library has long been the default place to define and run models, while llama.cpp has become the engine behind local AI tools such as Ollama, LM Studio, and Jan. GGUF, developed by the llama.cpp team, is a widely used format for local inference, and publishers including Unsloth, LM Studio Community, and bartowski provide ready-to-use GGUF checkpoints. Until now, working with those checkpoints meant leaving the transformers workflow.

This integration reuses llama.cpp's underlying ggml kernels through the kernels library and reduces overhead in generate, with an initial focus on Apple Silicon and the Qwen3.5 architecture. The same GGUF file remains usable in llama.cpp, which Hugging Face still recommends when efficient local inference is the priority. The benchmarks compare three checkpoints on a MacBook Pro M2 Max, and the article notes the conditions are not identical because the transformers measurement includes prefill while llama-bench reports decode-only throughput.

The practical stakes depend on the reader's setup. The packed path is MPS-only for now, padding and batching still need work, and architecture coverage is limited to Qwen3.5 dense and MoE checkpoints. For developers on supported Apple Silicon machines, the gain looks like convenience: experimenting, evaluating, and validating GGUF checkpoints without leaving their usual environment, provided the expected kernel loads rather than falling back to dequantization and higher memory use.

FAQ
What is the GGUF file format?
GGUF packages model weights and metadata, including tokenizer information and an optional chat template, into one file. It supports different quantization levels such as Q4_K_M, which uses mostly 4-bit weights while keeping sensitive tensors at higher precision.
Can I run GGUF models on non-Apple hardware?
No, the packed inference path is MPS-only for now. GGUF import through dequantization remains a separate option, and loading GGUF does not mean packed kernels are available on every device.
Which models are supported initially?
The packed loader currently covers the Qwen3.5 dense and MoE architectures, including compatible Qwen3.8 checkpoints. Adding support for other architectures is relatively straightforward and will expand gradually.
Hugging Face BlogRead Original Article

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleAmazon blocks Muse, but physical-world moat keeps deal alive