mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5107] [TUI] Choose the draft vocabulary in strata launch (cyrillic: +30 % DFlash2 decode on Russian code and edits, RTX 5080, 0.2.10) #2386
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2386
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Retarel on GitHub (Nov 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5107
Area
[TUI] (the Terminal: strata launch, connect, monitor)
What do you want to do?
Choose the draft vocabulary after setup, and get a sensible default for non-English users. With DFlash2 now the Auto drafter (0.2.10), the subset decides how much of a Russian answer can be drafted at all. On my card the
cyrillicsubset made Russian code and text edits ~30 % faster than the defaultcjksubset, with no change on English. Today the only way to pick a subset issetup.py --draft-vocabat install time.strata launch --draft-vocab cjk|en|cyrillic|fr(and a row on the guided Drafting screen), saved with the preset. It should resolve the shipped file of the Control in use, so an update does not leave the preset pointing into a removed folder.cyrillicfor ru/uk/be/bg/sr/kk/…,frfor French,cjkotherwise. If that is too much for a default, at least say on the Drafting step that the default subset has no Cyrillic. #4261 counted 142 of the model's 18,580 Cyrillic tokens in it.strata_control/split_engine.pypicksdraft_vocab_en.binitself, so a subset chosen in setup does not reach the all-cards split engine either.#4261 showed the same effect for MTP on NVFP4 with a self-built 0.1.51. Below is DFlash2 vs MTP on the 0.2.10 release with one consumer Blackwell card on Windows, a setup the release notes do not list among the measured ones.
Setup
windows-x86_64-cuda-cuda13(release, commitc5ab5d40), updated from 0.2.7.1 withstrata updateUD-IQ4_XS(setup familyunsloth), 64K context,--kv int8(default),--vision cpu,--tune skip,--gpu 0, parallel 1 (DFlash2 sets it)strata launch --preset qwen-iq4 [--drafting mtp] [--set mtp-draft-vocab=<draft_vocab_cyrillic.bin>] --restart --yes --no-tui. Server log for Auto:drafting: DFlash2 alone (--draft dflash2, --draft-conf 0.7). MTP arm:--spec 4 --spec-min-p 0.5.Method
strata bench run --url http://127.0.0.1:8080 --skip-model-hash(standard-v1, thinking on). The runs are nonconforming only because the model hash was skipped.predicted_per_second; acceptance isdraft_n_accepted / draft_n.Russian answers, decode tok/s and acceptance
cjk(default)cyrilliccjkcyrillicDFlash2 with
cyrillicagainst the default: code +30 %, text edit +34 %, short +13 %, prose +9 %, JSON +4 %.English, standard-v1
cjkcyrilliccjkcyrilliccyrillicdoes not change DFlash2. One start of thecyrillicarm read 16K prompts at 3,281 tok/s; the repeat read them at 3,643, so I read that as start-to-start spread, not the subset.cjk): decode +8 % short, +9 % at 4K, +2 % at 16K. On Russian they are about even.cyrillicwas slower on English in its only run (−18 % short, −22 % at 16K). I did not repeat it, so it may be spread too, but it is the one arm where the subset seems to cost something.Side observations (small; happy to open separate issues)
strata launch --preset nvfp4-128k --drafting dflash2 --plansaysdrafting MTP (DFlash2 is for Qwen3.8-Flash-Next only). The NVFP4 pack is Qwen3.8-Flash-Next, so the reason reads wrong. Presumably the drafter is not built for the NVFP4 pack yet, and the message could say that.terminal\current\binholds onlystrata.cmdandstrata.ps1, so in Git Bash, which OpenCode uses as its shell on Windows,stratagivescommand not found. An extensionless sh shim next to them would fix it.What do you do today instead?
I copied
data/draft_vocab_cyrillic.binout of the Control folder to a folder outside Strata and added"--mtp-draft-vocab": "<that copy>"to each Qwen preset'sextra(the same asstrata launch --set mtp-draft-vocab=<that copy>). It works for DFlash2 (the person's own--mtp-draft-vocabis read first) and for MTP. Pointing--setstraight atcomponents/control/0.1.56/data/…would break once a later update removes that folder.I kept the standard-v1 folders (
README.md,results.json,outputs.jsonl, configs) and the probe outputs. If you want them inbench/results/, I can open a results-only PR.Russian probe script (ru_probe.py, stdlib only)
@Retarel commented on GitHub (Nov 4, 2026):
Follow-up with a second model and both drafters, same card and release (RTX 5080 16 GB, Windows, Strata 0.2.10 / engine 0.1.56).
Model: OrcaRouter
Qwen3.8-Flash-Next-UncensoredIQ3_XXS: a third-party abliterated GGUF, packed withiq_pack.py --compat-bf16and started from a hand-written run config (strata serve --profile). Settings: 128K context,--kv int8 --kv-resident 32768,--expert-cache auto. The MTP is the base model's (mtp/rt, the defaultcjkdraft_vocab.bin). The only change between arms is--mtp-draft-vocab <draft_vocab_cyrillic.bin>. The probe is the same as in the issue: thinking off, temperature 0.7, 5 prompts × seeds 1–3, values are medians in tok/s with acceptance.cjkcyrilliccjk(args by hand, see #5237)cyrilliccyrillicgives +12 % to +33 % on Russian. On English (standard-v1, 2 runs), decode stays the same: 103 / 102 / 103 tok/s short / 4K / 16K, against 106 / 99 / 97 withcjk.cyrillicslowdown I reported above (one run on UD-IQ4_XS) did not show up here. There were 2 runs without a reserve and 3 more with--vram-reserve-mib 1472, all within the spread. I now read the earlier result as start-to-start spread.cyrillichead is also smaller. MTP: 106 MiB against 186 MiB, which leaves 38 more expert-cache slots (4533 against 4495). DFlash2: 58,963 tokens / 99 MiB against 106,299 / 178 MiB.The model's results, the DFlash2 arguments and the rest of the matrix are in #5237, so this thread stays about the subset choice.