Skip to content

Qwen3.8-27B on Metal: the startup line says how many streams DFlash2 drafts for - #2526

Merged
ashhart merged 1 commit into
mainfrom
lead/q27-draft-count-line
Nov 8, 2026
Merged

ashhart merged 1 commit into
mainfrom
lead/q27-draft-count-line

Conversation

@ashhart

@ashhart ashhart commented Nov 8, 2026

Copy link
Copy Markdown
Owner

A user reported that the Qwen3.8-27B Metal startup line says ", DFlash2 drafts for one of them", and the module comment says "DFlash2 drafts for slot 0's stream". Both date from 9 Oct. Since 17 Oct, up to TF_Q27_DRAFT_SLOTS streams draft (default 8, clamped to the stream count), so at --parallel 2 both do.

  • The line is now built from the admitted stream count, the stored draft_slots and whether a drafter loaded. For example, at 2 streams it reads Qwen3.8-27B: 2 streams of 4096 tokens, DFlash2 drafts for 2 streams. With no drafter there's no draft clause, and one stream is singular.
  • The module comment matches.
  • A host test builds the line with the same function the server calls, at 1, 2, 9 and 16 streams, with TF_Q27_DRAFT_SLOTS unset and at 1, with and without a drafter.

Log text only: scheduling, the slot reader and its clamp are unchanged. An M5 check of the line at --parallel 1 and 2 follows.

The line said one stream and the module comment slot 0's, from before
draft slots (17 Oct). It now reports the smaller of the admitted streams
and TF_Q27_DRAFT_SLOTS (default 8), and no draft clause without a loaded
drafter, with a host test at 1, 2, 9 and 16 streams.
@ashhart
ashhart force-pushed the lead/q27-draft-count-line branch from 6ad519f to 77c4bda Compare November 8, 2026 08:08
@ashhart
ashhart merged commit 1b85808 into main Nov 8, 2026
2 of 7 checks passed
ashhart added a commit that referenced this pull request Nov 8, 2026
Every PR merged since v1.2.4 now has exactly one line under Unreleased:
duplicate lines from stacked and train-merged PRs are removed (#2280,
#2384, #2532, #2548, #2170, #2506, #2304, #2241), keeping the fuller
line; #2280's and #2344's lines carry their own numbers; #2176 names the
#1335 it carries; and the finders of #2515's and #2463's problems and
#2526's reporter are thanked by handle. The 1.2.4 section is unchanged.
@ashhart
ashhart deleted the lead/q27-draft-count-line branch November 10, 2026 16:35
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