Repository navigation
qwen27 metal: the startup line says how many streams draft - #2806
Merged
Merged
Conversation
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
force-pushed
the
lead/startup-draft-streams
branch
from
November 12, 2026 02:09
d1c595b to
4f5092c
Compare
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.
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_SLOTSstreams draft (default 8, clamped to the stream count), so at--parallel 2both streams draft.zig/src/native/qwen27_startup.zig.qwen27_lanes.zig,metal.zig) now match the code.Checks:
zig build test-qwen27-startup-host check-qwen27-speed-hostpass (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 --checkis clean, and the lean count stays at 386.