Skip to content

Metal: the dense Qwen3.5 loader takes its shape from the config - #1817

Merged
ashhart merged 3 commits into
mainfrom
lead/qwen-dense-geometry
Nov 3, 2026
Merged

ashhart merged 3 commits into
mainfrom
lead/qwen-dense-geometry

Conversation

@ashhart

@ashhart ashhart commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

For #503: the dense Qwen3.5 loader on Metal took its shape from pinned sizes.

  • families/qwen27/geometry.zig: shape from config.json, with the head arithmetic, grouping and schedule still checked.
  • The 9B's nine projection shapes load through the unchanged kernels; restoring the old pin fails the 9B header case.
  • 550 existing family and kernel files and production routing unchanged.

Device gates (2B and 27B byte-equal against main, the 9B against a reference) run on our M3 Ultra before this lands.

Part of #503.

@ashhart
ashhart force-pushed the lead/qwen-dense-geometry branch from 838da79 to 02e6c9c Compare November 3, 2026 12:42
@ashhart
ashhart merged commit 7433a51 into main Nov 3, 2026
6 of 11 checks passed
@ashhart
ashhart deleted the lead/qwen-dense-geometry branch November 10, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant