mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5115] [Engine] 0.1.56 decodes 25% slower than 0.1.54 on a 16 GB RTX 5080 (three mirrored A/Bs) #2392
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#2392
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 @baiqvesse on GitHub (Nov 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5115
Problem: Engine 0.1.56 decodes about 25% slower than 0.1.54 on the same model, machine and configuration (Qwen3.8-Flash-Next IQ3_S, RTX 5080 16 GB, Windows 11), and reads prompts about 14% slower. The expert cache holds nearly the same number of slots in both, so this is not a cache-size effect. 0.2.10 announces DFlash2 as the default drafter with +6-8% on sm_120 + IQ3_S, so a 25% loss is the opposite direction.
Environment:
strata-engine-0.1.54-windows-x86_64-cuda-cuda13, BUILD sourcef-028-rel, commit8c1aea4bca1b) and 0.1.56 (same package family, sourcef-0291-rc1, commit06698c674673). Both archs[75,86,89,120], CUDA 13.0.--ple-ggufand a pack.--expert-cache auto --prefill 8192 --spec 4 --spec-min-p 0.5 --mtp <model>/rt --max-context 524288 --rope-scaling linear --rope-scale 2 --kv k8v4 --vram-reserve-mib 1600 --adapt-every 1 --adapt-swaps 160 --adapt-decay 0.97 --kv-resident 32768 --vision, envSTRATA_PF_FUSED=1 STRATA_PREFILL_CPU_SHARE=auto. Only the engine binary changes between arms.Reproduce:
Expected: the same speed as 0.1.54, or faster.
Actual (this run, driver 621.01, PCIe Gen5 x16,
pcie_frac 0.50):Two earlier runs on the older driver (617.42) and a worse PCIe state (
pcie_frac 0.60) gave the same picture: -30.4% (110.5 vs 76.95) and -22.4% with the prompt lookup off (110.5 vs 85.80). Fixing the driver and the PCIe link did not change it.Evidence: the configurations and the CSV output are reproducible; the engine logs for every arm can be attached on request. Turning the prompt lookup off (
--lookup-max-t 0) gives 0.1.56 back about 11.5% (76.95 -> 85.80) but it remains about 25% behind 0.1.54.Reproduction status: reproduced locally.
Two notes:
--draft dflash2needs a drafter pack that the app builds on its first start (about 1.2 GB download); the manual server path in this setup does not provide it. Even a +6-8% DFlash2 would not recover a 25% deficit.--lookup-max-t 12(it prints the help and exits) although the flag is documented in--help; 0.1.56 accepts it.@MingShi350 commented on GitHub (Nov 4, 2026):
Related, and probably a second and independent cause on a 16 GB card: #5199.
0.1.56 defaults the prompt chunk to 16384, and the prompt path lends VRAM out of the expert slots. On an RTX 4080 16 GB with DeepSeek-V4.1-Flash IQ2_XS (2.25 bpw) the expert slots fell 572 (engine 0.1.55, chunk 4096) -> 258 (engine 0.1.56, chunk 16384) and decode fell 12-18%.
--prefill-chunk 8192on 0.1.56 restores 707 slots and is 5% faster than 0.1.55 on a 16K prompt.So on that card the 0.1.56 loss is visible in the slot count itself, whereas your report shows the same kind of loss with the slot count unchanged (3083 vs 3104). Two different mechanisms, same release; fixing either one alone will not bring 0.1.56 back to 0.1.54 here.
@baiqvesse commented on GitHub (Nov 6, 2026):
Thanks, this is exactly the kind of cross-check that helps. Two notes from our side:
Our config sets
--prefill 8192explicitly (notauto), so the #5199 chunk default of 16384 is not in play here: the expert slots in our A/B were 3083/3185 (0.1.54) vs 3091/3182 (0.1.56) — effectively unchanged. So we are looking at the second mechanism you describe, not the chunk lend.Our mirror (four arms, a fresh engine per arm, two warm-up passes, five distinct 400-token prompts plus one 60K-token read): decode 114.1 -> 85.5 tok/s (-25.1%), 60K read 3178 -> 2749 tok/s (-13.5%), GPU 47-53 C, clocks 2872-2887 MHz, no throttle reason in any arm. Slot counts 3083/3185 vs 3091/3182. Turning the prompt lookup off (
--lookup-max-t 0) recovers about 11.5% on 0.1.56 but leaves it ~25% behind 0.1.54.We have not tested 0.1.57 yet. We will run it both with
--prefill 8192and with the new auto ceiling and report back. If a Windows + sm_120 + IQ3_S data point helps, we can run any specific check you want.