Skip to content

[docs] gguf - #46357

Merged
SunMarc merged 3 commits into
huggingface:mainfrom
stevhliu:gguf-mps
Sep 15, 2026
Merged

SunMarc merged 3 commits into
huggingface:mainfrom
stevhliu:gguf-mps

Conversation

@stevhliu

@stevhliu stevhliu commented Jun 2, 2026 •

Copy link
Copy Markdown
Member

CPU CI GPU run-slow

Updates GGUF docs with mention of kernels (follow-up to #47779) and MoE support (#48529)

@stevhliu
stevhliu requested a review from ArthurZucker June 2, 2026 21:52
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@stevhliu stevhliu changed the title [docs] gguf mps [docs] gguf Sep 6, 2026
@stevhliu
stevhliu requested a review from SunMarc September 6, 2026 19:30

@SunMarc SunMarc left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ! just a small nit as i prefer to not talk about the float32 in the docs. When loading a gguf model, I think the user expect from transformers that everything is loaded correctly and the user don't need to deal with this ! Of course, it is different when the user dequantize the model.

Comment thread docs/source/en/quantization/gguf.md Resolved
Comment on lines +48 to +58
The same load works for Qwen3.5 MoE.

```py
moe_model_id = "unsloth/Qwen3.5-35B-A3B-GGUF"
moe_filename = "Qwen3.5-35B-A3B-Q4_K_M.gguf"

moe_model = AutoModelForCausalLM.from_pretrained(
moe_model_id, gguf_file=moe_filename, dtype=torch.float32
)
moe_tokenizer = AutoTokenizer.from_pretrained(moe_model_id, gguf_file=moe_filename)
```

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not yet, but i've opened a bit that enables it ! so we should merge this pr after the other PRs gets merged

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good to merge now that #48529 is merged or are there more/other PRs we should also wait for?

Comment thread docs/source/en/quantization/gguf.md Resolved
Comment thread docs/source/en/quantization/gguf.md Resolved
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

CI recap

Dashboard: View test results in Grafana
Latest run: 34055075960:1
Result: success | Jobs: 2 | Tests: 26 | Failures: 0 | Duration: 2m 38s

@SunMarc
SunMarc added this pull request to the merge queue Sep 15, 2026
Merged via the queue into huggingface:main with commit 626e7ff Sep 15, 2026
30 checks passed
@stevhliu
stevhliu deleted the gguf-mps branch September 15, 2026 19:34
sbucaille pushed a commit to sbucaille/transformers that referenced this pull request Sep 16, 2026
* update

* moe

* review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants