Skip to content

PMAT-3477: Qwen3.5 4B/9B/27B on CPU and CUDA — block_count loader fix + Gated DeltaNet GQA (tiled head mapping) - #3527

Merged
noahgift merged 4 commits into
mainfrom
PMAT-3477-gdn-sizes-main
Sep 19, 2026
Merged

noahgift merged 4 commits into
mainfrom
PMAT-3477-gdn-sizes-main

Conversation

@noahgift

@noahgift noahgift commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Part of EPIC #3477 (0.68.2 interrupt train). Operator ruling 2026-09-19: dense Qwen3.5 up to 27B on CPU+CUDA is required for 0.68.2.

Root causes

  1. load_qwen35_layers read a bare block_count key that no GGUF carries → every Qwen3.5 file got 24 layers. 0.8B/2B have 24 so they were right by accident; 4B (32) and 9B/27B ran truncated models — that is QE2E-INV-001 asserts Qwen3.5-9B ∈ [9.0B, 9.2B] but the repo's own 9b descriptor sums to 8.209B — the descriptor declares no DeltaNet tensors #3346. Now reads {arch}.block_count and refuses when absent.
  2. Gated DeltaNet GQA (4B/9B num_v_heads 32 vs num_k_heads 16, 27B 48/16): value head h reads key head h % num_k_heads — ggml's TILED order (llama.cpp's converter permutes V heads so ggml_repeat equals HF repeat_interleave). Applied in the CPU recurrence and the CUDA delta-rule kernel; recurrent state is [num_v_heads · Dk · Dv].

Measured (lambda, RTX 4090)

keep-open: #3477 (epic closes at the tag)
keep-open: #3090 (closes when the ladder receipts land)
Closes #3346
Closes #3510

🤖 Generated with Claude Code

noahgift and others added 3 commits September 19, 2026 13:55
…recurrence) on the CPU forward — Qwen3.5 4B/9B/27B load and run (#3346, #3510)

Pmat-Ticket: PMAT-3477

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ds {arch}.block_count (a bare key never matched, every file got 24 layers) and the Gated DeltaNet GQA mapping is the ggml tiled order llama.cpp converts to; 4B greedy tokens pinned to llama.cpp (#3346, #3510)

Pmat-Ticket: PMAT-3477

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… num_k_heads; Qwen3.5-4B/9B/27B on the GPU (#3090, #3346, #3510)

Pmat-Ticket: PMAT-3477

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@noahgift
noahgift enabled auto-merge September 19, 2026 11:56
@github-actions

github-actions Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

§13.11 rung 1 — quorum shadow verdict

S13-SHADOW pr=3527 head=f36aa1bea21fd369c186801fbdba0bb8291ea104 verdict=REFUSE class=Q1 arm_rc=1

Shadow mode: this records a verdict and merges nothing. A refusal
to arm is not a block (§13 adds zero rows to §7) — the pull request is
exactly as green as it was.

… the Qwen3.5 sizes diff

Pmat-Ticket: PMAT-3477

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@noahgift
noahgift added this pull request to the merge queue Sep 19, 2026
Merged via the queue into main with commit e729859 Sep 19, 2026
25 of 26 checks passed
@noahgift
noahgift deleted the PMAT-3477-gdn-sizes-main branch September 19, 2026 13:43
noahgift added a commit that referenced this pull request Sep 19, 2026
…and every PR merged since v0.68.1

Pmat-Ticket: PMAT-3477

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant