Skip to content

chat : improve parsing of complex types in qwen3-coder - #28742

Merged
aldehir merged 2 commits into
masterfrom
alde/refactor-json-schema-qwen3
Sep 13, 2026
Merged

aldehir merged 2 commits into
masterfrom
alde/refactor-json-schema-qwen3

Conversation

@aldehir

@aldehir aldehir commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Overview

Improve parsing of complex argument types in Qwen3 Coder models.

ref: #26833

Requirements

@aldehir
aldehir added this pull request to stack #28743 September 11, 2026 08:59
@github-actions github-actions Bot added the testing Everything test related label Sep 11, 2026
@aldehir
aldehir marked this pull request as ready for review September 11, 2026 09:24
@aldehir
aldehir requested review from a team and pwilkin as code owners September 11, 2026 09:24
@aldehir
aldehir force-pushed the alde/refactor-json-schema-qwen3 branch from b68a35f to b0ed737 Compare September 11, 2026 22:01
@aldehir
aldehir requested review from a team and ggerganov as code owners September 12, 2026 18:29
@aldehir
aldehir force-pushed the alde/refactor-json-schema-qwen3 branch from b0ed737 to 01bf18f Compare September 12, 2026 18:29
Base automatically changed from alde/refactor-json-schema to master September 12, 2026 21:14
@aldehir
aldehir force-pushed the alde/refactor-json-schema-qwen3 branch from 01bf18f to 5746cc7 Compare September 12, 2026 21:14
@aldehir

aldehir commented Sep 12, 2026

Copy link
Copy Markdown
Contributor Author

Ah, I was hoping it wouldn't require another approval after merging the base PR in the stack.

@aldehir
aldehir merged commit 790cf51 into master Sep 13, 2026
23 of 27 checks passed
quimmedes pushed a commit to quimmedes/cafe-llama.cpp that referenced this pull request Sep 16, 2026
* chat : improve schema support in qwen3 parser

* cont : clean up grammar a bit
slomin added a commit to potato-os/llama.cpp that referenced this pull request Sep 17, 2026
…ool arguments

Backport of ggml-org#28742 onto the flashnext-e06 base.
roverdrubber added a commit to roverdrubber/llama.cpp that referenced this pull request Oct 15, 2026
The branch is far behind upstream master and the parts that a card other than
this one needs had drifted. This ports the non-backend half of that sync,
content-matched against upstream rather than replayed by hash: the parser and
JSON schema chain (ggml-org#27764, ggml-org#28736, ggml-org#28742, which adds common/parsers/,
common/json-schema.* and tests/test-json-schema.cpp and retires the three
example scripts it replaces), the chat, grammar, jinja and server fixes
(ggml-org#28302, ggml-org#28469, ggml-org#26885, ggml-org#28279, ggml-org#28511, ggml-org#28620, ggml-org#28817, ggml-org#28749), the
qwen4exp RMSNorm and multiply fusion (ggml-org#28896, hand-ported because the norm
tensors here load with a different shape), the GDN q/k l2 norm as
flash-linear-attention defines it (ggml-org#28068), the ggml_prec_set_acc API that
replaces ggml_mul_mat_set_prec and ggml_flash_attn_ext_set_prec at every call
site, and the scheduler fixes for zero-sized expert ids (ggml-org#28739) and split
inputs (ggml-org#28387).

The GPU backend half of the same sync lands in the following two commits; this
one alone does not build the CUDA or HIP backend, because their call sites move
to the new precision API there.

test-chat, test-json-schema, test-json-schema-to-grammar,
test-grammar-integration and test-grammar-parser pass.

Assisted-by: Claude Opus 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Everything test related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants