Skip to content

Support Qwen3 and Qwen3MoE - #12828

Merged
ngxson merged 3 commits into
ggml-org:masterfrom
bozheng-hit:qwen3
Apr 9, 2025
Merged

Support Qwen3 and Qwen3MoE#12828
ngxson merged 3 commits into
ggml-org:masterfrom
bozheng-hit:qwen3

Conversation

@bozheng-hit

Copy link
Copy Markdown
Contributor

Adding Qwen3

This PR adds the support of codes for the coming Qwen3 and Qwen3MoE models. For information about Qwen, please visit https://github.com/QwenLM/Qwen2.5. @ggerganov

@github-actions github-actions Bot added the python python script changes label Apr 8, 2025
@ggerganov

Copy link
Copy Markdown
Member

For information about Qwen, please visit https://github.com/QwenLM/Qwen2.5.

Don't see information about Qwen3 - maybe not published yet?

Comment thread convert_hf_to_gguf.py
Comment thread convert_hf_to_gguf.py
Comment thread src/llama-model.cpp
@bozheng-hit

Copy link
Copy Markdown
Contributor Author

For information about Qwen, please visit https://github.com/QwenLM/Qwen2.5.

Don't see information about Qwen3 - maybe not published yet?

We’ll update the blog once the model is officially released—hopefully very soon!

@ShuhaibNC

Copy link
Copy Markdown

Qwen3 is the nextgen AI

@Dampfinchen

Dampfinchen commented Apr 8, 2025

Copy link
Copy Markdown

Excited for it. Hope it has native multimodal support and a huge boost in creative writing (lacks in that department imo)

Anyways, kudos on implementing support so early! Others should take note.

@unclemusclez

Copy link
Copy Markdown

lol awesome

@ptSpec

ptSpec commented Apr 8, 2025

Copy link
Copy Markdown

Good guy Devs, added day 1 support, Thank you!

@x0wllaar

x0wllaar commented Apr 8, 2025

Copy link
Copy Markdown

Excited for it. Hope it has native multimodal support and a huge boost in creative writing (lacks in that department imo)

Anyways, kudos on implementing support so early! Others should take note.

It most likely won't. In the transformers commit they had no processors, and if I understand correctly, no vision here. We'll have to wait some for vision modules to be integrated

@CISC CISC mentioned this pull request Apr 8, 2025
2 tasks
@red-co

red-co commented Apr 9, 2025

Copy link
Copy Markdown

Hopefully it will be a native lean causal inference model rather than a bloated multimodal model,

@bozheng-hit
bozheng-hit requested a review from ngxson April 9, 2025 09:01
@ngxson
ngxson merged commit d3bd719 into ggml-org:master Apr 9, 2025
@ngxson

ngxson commented Apr 9, 2025

Copy link
Copy Markdown
Collaborator

🔥 day-0 support for Qwen3 + Qwen3MoE, looking forward to the release of the weight!!

@Dampfinchen

Dampfinchen commented Apr 9, 2025

Copy link
Copy Markdown

Hopefully it will be a native lean causal inference model rather than a bloated multimodal model,

Why not both. Gemma 3 is native multimodal, but you don't have to download the mmproj adapter, so there's no bloat for those who don't care about vision. And more importantly, pretraining on images allows the model to get more information about the world, enhancing its general performance.
There's literally no downsides, only upsides.

Nexesenex pushed a commit to Nexesenex/croco.cpp that referenced this pull request Apr 12, 2025
* add qwen3 & qwen3moe support.

* fix

---------

Co-authored-by: bozheng-hit <dsoul0621@gmail.com>
colout pushed a commit to colout/llama.cpp that referenced this pull request Apr 21, 2025
* add qwen3 & qwen3moe support.

* fix

---------

Co-authored-by: bozheng-hit <dsoul0621@gmail.com>
@ckvv ckvv mentioned this pull request Apr 30, 2025
5 tasks
timwu pushed a commit to timwu/llama.cpp that referenced this pull request May 5, 2025
* add qwen3 & qwen3moe support.

* fix

---------

Co-authored-by: bozheng-hit <dsoul0621@gmail.com>
timwu pushed a commit to timwu/llama.cpp that referenced this pull request Dec 20, 2025
* add qwen3 & qwen3moe support.

* fix

---------

Co-authored-by: bozheng-hit <dsoul0621@gmail.com>
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
* add qwen3 & qwen3moe support.

* fix

---------

Co-authored-by: bozheng-hit <dsoul0621@gmail.com>
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
* add qwen3 & qwen3moe support.

* fix

---------

Co-authored-by: bozheng-hit <dsoul0621@gmail.com>
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
* add qwen3 & qwen3moe support.

* fix

---------

Co-authored-by: bozheng-hit <dsoul0621@gmail.com>
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
* add qwen3 & qwen3moe support.

* fix

---------

Co-authored-by: bozheng-hit <dsoul0621@gmail.com>
phibya pushed a commit to ziee-ai/llama.cpp that referenced this pull request May 29, 2026
* add qwen3 & qwen3moe support.

* fix

---------

Co-authored-by: bozheng-hit <dsoul0621@gmail.com>
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
* add qwen3 & qwen3moe support.

* fix

---------

Co-authored-by: bozheng-hit <dsoul0621@gmail.com>
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
* add qwen3 & qwen3moe support.

* fix

---------

Co-authored-by: bozheng-hit <dsoul0621@gmail.com>
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
* add qwen3 & qwen3moe support.

* fix

---------

Co-authored-by: bozheng-hit <dsoul0621@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python python script changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants