-
Notifications
You must be signed in to change notification settings - Fork 31.4k
Support loading Qwen3 MoE GGUF #39638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Ready for review |
MekkCyber
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this! Left a question about the integration
|
run-slow: ggml |
|
This comment contains run-slow, running the specified jobs: models: [] |
|
[For maintainers] Suggested jobs to run (before merge) run-slow: ggml |
SunMarc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks !
|
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. |
|
There are still errors that report "ValueError: The checkpoint you are trying to load has model type When I run the Qwen3-235B-A22B-Thinking-2507-Q4_K_M.gguf file provided by unsloth. |
|
There must have been a typo in this PR then. Would you like to fix this ? |
I do not find the evidence that a typo exist. |
|
Any suggestions for the fix? There is a fundamental incompability imo. |
I think the same problem exist when qwen2moe and qwen2_moe system. A patch might be in src\transformers\modeling_gguf_pytorch_utils.py file, like 392 line we could add qwen3moe related one. |
|
#39976 fixed here. Anyone can test is appreciated. |
* support loading qwen3 gguf * qwen3moe test cases * fix whitespaces * fix ggml tests
* support loading qwen3 gguf * qwen3moe test cases * fix whitespaces * fix ggml tests
* support loading qwen3 gguf * qwen3moe test cases * fix whitespaces * fix ggml tests
* support loading qwen3 gguf * qwen3moe test cases * fix whitespaces * fix ggml tests
* support loading qwen3 gguf * qwen3moe test cases * fix whitespaces * fix ggml tests
* support loading qwen3 gguf * qwen3moe test cases * fix whitespaces * fix ggml tests
* support loading qwen3 gguf * qwen3moe test cases * fix whitespaces * fix ggml tests
What does this PR do?
Currently, GGUF versions of Qwen3 MoE models raises "GGUF model with architecture qwen3moe is not supported yet" error. This PR resolves this issue.
Fixes #39721
Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@ArthurZucker @SunMarc @MekkCyber