Repository navigation
[Model] Standalone GGUF loading and Qwen3.5 dense adapter - #809
Merged
Merged
Conversation
Co-authored-by: Codex <noreply@openai.com> Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
…r-20261002-230454 Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com> Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com> Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Assisted-by: Codex Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Assisted-by: Codex Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
…r-20261002-230454 Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com> # Conflicts: # vllm/model_executor/layers/quantization/gguf.py
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
…r-20261002-230454 Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
…r-20261002-230454 Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
yangzhuxinyzx
marked this pull request as ready for review
October 3, 2026 21:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Load standalone GGUF configuration, Qwen BPE tokenizer and embedded chat templates without constructing a Transformers model. Select a Qwen3.5 dense adapter to map checkpoint tensors directly to vLLM parameters. Explicit HF configuration and tokenizer remain authoritative.
Restore A_log in FP32, conv dimensions, norm offsets and GDN head tiling. Preserve mixed projection ordering and dtypes, validate TP boundaries, reconstruct unaligned dense rows before TP and replicate KV heads when needed. Layout transforms compose with the packaged native fallback policy and report preparation reasons through the SM70 framework. Plugin attribution and license headers are retained.
Test Plan
Check metadata, shard discovery, tokenizer parity, tensor mapping and TP/mixed-storage contracts. Compare full-vocabulary first logits and output quality against pinned llama.cpp, then verify the ordinary installed wheel and embedded chat templates.
Test Result
Paris,4and你好with thinking disabled.docs/design/gguf_v100_control.mdrecords reproducible settings and remaining quality work. This change does not claim TurboMind model throughput; original-block TurboMind operators are developed separately. Flash-Next remains a separate adapter with TP4.The adapter also maps Qwen3.8-27B UD-Q4_K_M in the separate TurboMind dense integration (#869). TP4 generation completes with four reference-matching greedy bodies (Paris, arithmetic, translation and a Chinese explanation); model throughput and broader quality are recorded in that integration scope.
Greedy token agreement is diagnostic evidence rather than a correctness gate. Numerical distributions and task quality determine model correctness; small logit-margin changes can alter greedy output.