mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5377] [Engine] 0.1.50 and later decode ~4x slower than 0.1.48 on sm_89 (RTX 6000 Ada) under Windows - bisected to v0.2.5, persists through 0.1.57 #3206
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#3206
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 @ShinjiOhnishi on GitHub (Nov 6, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5377
Summary
On a Windows 11 PC with an RTX 6000 Ada Generation (sm_89), serving Qwen3.8-Flash-Next IQ3_S (~78 GB, RAM expert arena on a 48 GB card), decode collapsed from ~120-126 tok/s (engine 0.1.47/0.1.48) to ~25-36 tok/s (engine 0.1.50 and every engine since, up to 0.1.57). Prompt speed, TTFT, sanity and draft acceptance are unchanged or better. I bisected the engine binaries and instrumented the decode path with
STRATA_DECODE_TIMING=1; the whole gap sits in per-layer host CPU time inside verify windows, not in expert supply.Hardware / setup
--ple-gguf,--expert-cache auto,--kv int8 --kv-resident 32768,--mtp ... --spec 4,parallel: 2,--vram-reserve-mib 16384, max-context 131072python -m serve.serverwith an identical run config; only the engine binary changes between arms (0.1.47 … 0.1.57 from the official signed feeds, SHA-256 verified)Bisect (official
strata bench run, standard-v1, median of 3)0.2.4 did not rebuild the Qwen engine packages (identical files to 0.1.48), so the regression landed exactly in the 0.1.50 rebuild shipped with v0.2.5. Since then it persists through 0.1.57.
What is NOT the problem
avg ~1.9-3.1 tokens/window, MTP draft time 1.5-2.1 ms/windowSTRATA_PLE_AUTO_RAM=0(direct read probe 43k-68k rows/s "fine") changes nothingWhere the time goes (
STRATA_DECODE_TIMING=1, 0.1.57)STRATA_BATCH_DECODE_SHARE=0) drops CPU-expert work to 3.82 ms/window but the per-layer host CPU stays at 66-87 ms and decode stays ~26 tok/s - so this is not the CPU/PCIe expert split policy; it is per-layer host-side overhead in the batch/verify path itself (the Windows host-arena path; cf. #5037's note that the parallel-slot/GDN stacks were never measured on "Windows (own host-arena path)").47.35 ms/window, per-layer host 33.38 [CPU 32.92]- i.e. the same engine on the same model occasionally falls back to a ~2.5x cheaper verify path, which suggests a mode/state the engine gets stuck out of, not a static kernel-table mis-tune.Switches tried on 0.1.57 (bench each, none restored speed)
STRATA_PLE_AUTO_RAM=0STRATA_MMVQ_IL_89=0STRATA_DEFAULTS=026STRATA_FUSE_DECODE=0+STRATA_ADAPT_ASYNC=0STRATA_BATCH_DECODE_SHARE=0STRATA_VERIFY_ASYNC_LAUNCH=1+STRATA_SPEC_ADAPT_SM86=0STRATA_DEFAULTS=026does not cover v0.2.5-era changes, which fits the 0.1.50 boundary.v0.2.5 items that plausibly contain the regression
The v0.2.5 notes list three decode-path changes on by default, and 0.1.50 was a full rebuild of the Qwen packages:
Related issues
Asks
STRATA_*switches above helped.