Files
Strata/apps/host/tests
Niko1221 f201b033f0 drafting: DFlash2 on the Coder when it is chosen by name (#5240)
DFlash2 chosen by name (strata launch --drafting dflash2, or a run config's
"drafting": "dflash2") on the Coder (ISTA-DASLab's coding version of the same
weights) started the MTP with "DFlash2 is for Qwen3.8-Flash-Next only". It
starts DFlash2 now, with the stock pack (no tuned pack for the Coder), and
setup fetches that pack for the named choice. Auto (and no choice) keeps the
MTP on the Coder; Swift and NVFP4 stay refused.

drafting.supported_model(..., named=True) also takes NAMED_ONLY_FAMILIES
("coder") and qwen3.8-flash-next-coder-*; choice_of / decide / apply pass
named when the choice is dflash2. The app follows: policy-generated.mjs
(DFLASH2_NAMED_FAMILIES, DFLASH2_NAMED_PATTERN, from app_policy.py),
policy-vectors.json ("named"), resolveDrafter in native-settings.mjs and in
the screen copy src/lib/drafting.ts. DRAFTING_FAMILIES is unchanged, so the
app shows no Drafting dropdown for the Coder.

Measured on a Tesla V100-SXM2 32 GB (Volta; the reporter used an RTX 4090),
Coder IQ1_M fully resident, r060 engine, greedy, 32K context, MTP vs DFlash2
stock pack: decode 83.3 -> 95.4 tok/s (short), 77.6 -> 86.4 (4K prompt),
82.5 -> 90.4 (16K prompt); drafts accepted 151/291 -> 157/250,
220/454 -> 221/364, 330/605 -> 314/465; answers identical token for token in
all three; prompt reading equal.

Tests: tests/terminal/test_drafting_coder_named.py; older tests that pinned
"never on the Coder" now pin it for Auto (Swift stands in for the refused
named case); drafting/policy tests 735 passed on Boston; app node tests
(policy-generated, drafting, df2ux-0213) 35/35 on p1006.
2026-11-16 17:22:47 +01:00
..