[GH-ISSUE #5240] [TUI] DFlash2 works on the Coder: 70-93% acceptance, 414 tasks/h vs 274 on MTP #3118

Open
opened 2026-11-07 14:38:12 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Have-Purple on GitHub (Nov 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5240

Area

[TUI] (the Terminal: strata launch, connect, monitor)

Desktop app, Terminal or source?

Terminal (the strata command)

What happened

DFlash2 works on the GSQ-RCO Coder IQ1_M. The drafting layer refuses it with
DFlash2 is for Qwen3.8-Flash-Next only, and strata_control/drafting.py says why:

Not Swift, Coder or NVFP4: no DFlash2 acceptance numbers for them, they start the MTP.

One line was enough to get the numbers: add -coder- to _SUPPORTED_NAME (or coder to
SUPPORTED_FAMILIES when the family is known). The engine then starts with the same Q4_0 pack the
Qwen3.8 models use, and the drafter accepts well.

Acceptance from the engine log, one client request at a time:

drafts accepted 26 of 37    (70%)
drafts accepted 32 of 41    (78%)
drafts accepted 26 of 32    (81%)
drafts accepted 27 of 29    (93%)
drafts accepted 750 of 973  (77%)
drafts accepted 82 of 88    (93%)

Agent suite (15 tasks x 3 reps, local tasks), same model, same machine:

drafter pass tasks/hour malformed repeats
MTP 45/45 274 2 4
DFlash2 45/45 414 2 4

Decode in individual requests ran 170-220 tok/s against 108-117 on MTP. Quality counters are
identical, so this is a throughput change, not a capability change.

The standard benchmark on the same configuration was added in a comment on this issue (protocol
draft.1, 12/12 sanity checks): decode 149.0 / 131.3 / 141.9 tok/s at short, 4k and 16k prompts.

Smallest steps or command that reproduce it

  1. Add -coder- to _SUPPORTED_NAME in strata_control/drafting.py, or coder to
    SUPPORTED_FAMILIES when the family is known.
  2. Start the Coder with --draft dflash2 --draft-model <q4_0 pack> --draft-fallback none.
  3. Read drafts accepted lines in the engine log; without the change the engine starts on MTP.

Reproduction status

Reproduced locally

Strata version

Strata 0.1.56 — engine 0.1.56

Graphics card, memory and system

RTX 4090 24 GB — 64 GB RAM — Windows 11 — Ryzen 9 5900X

Model, size and settings

Qwen3.8-Flash-Next GSQ-RCO Coder IQ1_M, 2026-10-17 build (first shard bfa3644d...), 128K context,
--vram-reserve-mib 1408, --draft dflash2 --draft-model <pack> --draft-fallback none. The pack is
the pinned incoai revision a22a1744.

Logs

The acceptance lines quoted above are the engine log output for this run. /v1/models reports
qwen3.8-flash-next-coder-iq1_m; the same pack on MTP produces the comparison row.

Suggestion

Add the Coder to the DFlash2-supported set, or expose an opt-in per model with the acceptance numbers
above in the documentation. The comment in drafting.py is the only thing that needs updating; the
engine and the pack are unchanged.

Prepared with AI assistance.

Originally created by @Have-Purple on GitHub (Nov 4, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5240 ### Area [TUI] (the Terminal: strata launch, connect, monitor) ### Desktop app, Terminal or source? Terminal (the `strata` command) ### What happened DFlash2 works on the GSQ-RCO Coder IQ1_M. The drafting layer refuses it with `DFlash2 is for Qwen3.8-Flash-Next only`, and `strata_control/drafting.py` says why: > Not Swift, Coder or NVFP4: no DFlash2 acceptance numbers for them, they start the MTP. One line was enough to get the numbers: add `-coder-` to `_SUPPORTED_NAME` (or `coder` to `SUPPORTED_FAMILIES` when the family is known). The engine then starts with the same Q4_0 pack the Qwen3.8 models use, and the drafter accepts well. Acceptance from the engine log, one client request at a time: ``` drafts accepted 26 of 37 (70%) drafts accepted 32 of 41 (78%) drafts accepted 26 of 32 (81%) drafts accepted 27 of 29 (93%) drafts accepted 750 of 973 (77%) drafts accepted 82 of 88 (93%) ``` Agent suite (15 tasks x 3 reps, local tasks), same model, same machine: | drafter | pass | tasks/hour | malformed | repeats | | ----------- | --------- | ---------- | --------- | ------- | | MTP | 45/45 | 274 | 2 | 4 | | **DFlash2** | **45/45** | **414** | 2 | 4 | Decode in individual requests ran 170-220 tok/s against 108-117 on MTP. Quality counters are identical, so this is a throughput change, not a capability change. The standard benchmark on the same configuration was added in a comment on this issue (protocol draft.1, 12/12 sanity checks): decode 149.0 / 131.3 / 141.9 tok/s at short, 4k and 16k prompts. ### Smallest steps or command that reproduce it 1. Add `-coder-` to `_SUPPORTED_NAME` in `strata_control/drafting.py`, or `coder` to `SUPPORTED_FAMILIES` when the family is known. 2. Start the Coder with `--draft dflash2 --draft-model <q4_0 pack> --draft-fallback none`. 3. Read `drafts accepted` lines in the engine log; without the change the engine starts on MTP. ### Reproduction status Reproduced locally ### Strata version Strata 0.1.56 — engine 0.1.56 ### Graphics card, memory and system RTX 4090 24 GB — 64 GB RAM — Windows 11 — Ryzen 9 5900X ### Model, size and settings Qwen3.8-Flash-Next GSQ-RCO Coder IQ1_M, 2026-10-17 build (first shard `bfa3644d...`), 128K context, `--vram-reserve-mib 1408`, `--draft dflash2 --draft-model <pack> --draft-fallback none`. The pack is the pinned incoai revision `a22a1744`. ### Logs The acceptance lines quoted above are the engine log output for this run. `/v1/models` reports `qwen3.8-flash-next-coder-iq1_m`; the same pack on MTP produces the comparison row. ### Suggestion Add the Coder to the DFlash2-supported set, or expose an opt-in per model with the acceptance numbers above in the documentation. The comment in `drafting.py` is the only thing that needs updating; the engine and the pack are unchanged. Prepared with AI assistance.
Author
Owner

@Have-Purple commented on GitHub (Nov 4, 2026):

Standard benchmark on the same configuration, for completeness: protocol draft.1, run complete, 12/12 sanity checks, no retries. Coder IQ1_M (Oct-17 shard), 128K, --vram-reserve-mib 1408, DFlash2.

case prompt tok/s decode tok/s
short n/a 149.0
prompt-4k 3946.6 131.3
prompt-16k 5412.4 141.9

Against MTP on the same machine: decode +37% short, +31% at 4k, +21% at 16k; prompt rates unchanged. Quality counters were identical (2 malformed, 4 repeated calls over 45 runs).

<!-- gh-comment-id:6637421063 --> @Have-Purple commented on GitHub (Nov 4, 2026): Standard benchmark on the same configuration, for completeness: protocol draft.1, run complete, 12/12 sanity checks, no retries. Coder IQ1_M (Oct-17 shard), 128K, `--vram-reserve-mib 1408`, DFlash2. | case | prompt tok/s | decode tok/s | | --- | --- | --- | | short | n/a | 149.0 | | prompt-4k | 3946.6 | 131.3 | | prompt-16k | 5412.4 | 141.9 | Against MTP on the same machine: decode +37% short, +31% at 4k, +21% at 16k; prompt rates unchanged. Quality counters were identical (2 malformed, 4 repeated calls over 45 runs).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3118
No description provided.