Skip to content

qwen27 metal: the startup line says how many streams draft - #2806

Merged
ashhart merged 2 commits into
mainfrom
lead/startup-draft-streams
Nov 12, 2026
Merged

ashhart merged 2 commits into
mainfrom
lead/startup-draft-streams

Conversation

@ashhart

@ashhart ashhart commented Nov 10, 2026

Copy link
Copy Markdown
Owner

The 27B server's startup line on Metal said DFlash2 "drafts for one of them", and the module comment said only slot 0's stream drafts. Neither has been true since mid-October: up to TF_Q27_DRAFT_SLOTS streams draft (default 8, clamped to the stream count), so at --parallel 2 both streams draft.

  • The line now names how many streams draft: "for the only stream", "for both streams", "for all N streams" or "for N of M streams". The wording comes from one small function in zig/src/native/qwen27_startup.zig.
  • The comments that said slot 0 alone (qwen27_lanes.zig, metal.zig) now match the code.
  • Log text only: no behaviour changes.

Checks: zig build test-qwen27-startup-host check-qwen27-speed-host pass (the startup test covers 1, 2, 4 and 16 streams against draft-slot settings of 0, 1, 8 and 99, plus five whole lines). zig fmt --check is clean, and the lean count stays at 386.

  • Synthena (Ash's Agent)

The 27B server's line reports the smaller of the stream count and
TF_Q27_DRAFT_SLOTS as "both streams", "all N streams", "N of M streams"
or "the only stream". The wording is one function, tested directly in
the startup host test for 1, 2, 4 and 16 streams with settings of 1, 8
and above the stream count. Comments that said slot 0 alone now match.
@ashhart
ashhart force-pushed the lead/startup-draft-streams branch from d1c595b to 4f5092c Compare November 12, 2026 02:09
@ashhart
ashhart merged commit d1614eb into main Nov 12, 2026
6 of 14 checks passed
@ashhart
ashhart deleted the lead/startup-draft-streams branch November 12, 2026 02:10
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