mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2856] Significant regression after 0.1.45 on 32 GB RAM + 6 GB VRAM system (previously working config doesn't work anymore) #1151
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#1151
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 @Dampfinchen on GitHub (Oct 17, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2856
I have previously been using this configuration:
{ "exe": "D:\\KI\\Strata\\engine\\strata.exe", "args": [ "--pack", "D:\\KI\\Strata-data\\packs\\iq3_xxs", "--native", "D:\\KI\\Strata-data\\models\\IQ3_XXS\\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", "--ple-gguf", "D:\\KI\\Strata-data\\models\\IQ3_XXS\\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", "--expert-profile", "D:\\KI\\Strata\\data\\expert-profile.bin", "--expert-cache", "auto", "--prefill", "auto", "--spec", "4", "--max-context", "81920", "--mmap-experts", "--kv", "k8v4", "--vram-reserve-mib", "150", "--spec-min-p", "0.5", "--adapt-every", "1", "--adapt-swaps", "80", "--adapt-decay", "0.97" ], "cwd": "D:\\KI\\Strata", "tokenizer": "D:\\KI\\Strata-data\\packs\\iq3_xxs\\tokenizer", "model_name": "qwen3.8-flash-next-iq3_xxs", "log": "D:\\KI\\Strata\\strata-iq3_xxs.log", "lib_dirs": [ "D:\\KI\\Strata\\.venv\\Lib\\site-packages\\nvidia\\cu13\\bin\\x86_64" ], "port": 8080, "gpu": 0, "gpus_asked": true, "draft_vocab": "en" }With an earlier version this worked while having 41 experts on GPU, around 13 token/s decode, so quite usable if it not were for the horrendously slow prompt processing which was around 50 token/s. But it worked. Now it only caches 14 experts and I'm getting this error as soon as I send the prompt:
[strata] the engine stopped unexpectedly (exit code 3221226505). The engine exited (code 3221226505). Its last log line: strata serve: WARNING: only 0 MiB of VRAM free at the start of this request (below 1024 MiB): when the card is this full the driver can page GPU memory to system RAM, decode falls to a few tok/s and a window may never finish (#2065). Add --vram-reserve-mib 1216 to the config's args, or lower --max-context / --batch - if that does not explain it, please report it at github.com/Niko1221/Strata/issues with the log. The next request starts the engine again. Its log: D:\KI\Strata\strata-iq3_xxs.logReducing --vram-reserve-mib to 120 it doesn't even boot anymore (it did previously)
strata serve: Windows commit: 23.1 GiB left of a 37.1 GiB limit (RAM + page file) strata: the CPU prefill share is not armed by default: the experts it would read are 39.9 GiB of file pages and only 23.2 GiB of RAM is free to keep them. STRATA_PREFILL_CPU_SHARE=auto turns it on anyway strata serve: the prompt path allocates its own buffers (too few cache slots to borrow) strata serve: prefill: device buffers for a chunk of 1024 tokens do not fit (0 of 6143 MiB free at the failure; 470 MiB taken, the failing buffer wanted 10 MiB): trying a 512-token chunk strata hc: CUDA0: the hyper-connection read runs as staged (the norm per token and stream, the down projection's activations staged ahead by cp.async); checked bit for bit against the plain read on this card (STRATA_HC_SPLIT=1 or 0 for the earlier ones) strata serve: verify: the device arena (69 MiB) does not fitSetting the env variable STRATA_PREFILL_CPU_SHARE=auto doesn't help and only gives me this error:
strata serve: Windows commit: 23.0 GiB left of a 37.1 GiB limit (RAM + page file) strata: WARNING STRATA_PREFILL_CPU_SHARE=auto is set and kept, but the experts it would read are 39.9 GiB of file pages and only 23.1 GiB of RAM is free to keep them: the share can slow prompts or fail on a machine this short of memory (STRATA_PREFILL_CPU_SHARE=0 turns it off) strata serve: the prompt path allocates its own buffers (too few cache slots to borrow) strata serve: prefill: device buffers for a chunk of 1024 tokens do not fit (0 of 6143 MiB free at the failure; 470 MiB taken, the failing buffer wanted 10 MiB): trying a 512-token chunk strata hc: CUDA0: the hyper-connection read runs as staged (the norm per token and stream, the down projection's activations staged ahead by cp.async); checked bit for bit against the plain read on this card (STRATA_HC_SPLIT=1 or 0 for the earlier ones) strata serve: verify: the device arena (69 MiB) does not fitSetting STRATA_PREFILL_CPU_SHARE=0 doesn't help either.
strata-iq3_xxs.log
System: Windows 11, i7 9750H, 32 GB RAM, 1 TB NVMe, RTX 2060 6 GB.
@guojingyuan commented on GitHub (Oct 17, 2026):
I'm hitting what looks like the same 0.1.45 regression, and I think I can pin the cause down to one switch.
Symptom. On the prebuilt 0.1.45 HIP engine (Windows 11, R9700 / gfx1201, 32 GB), prompts longer than ~512 tokens produce output that is completely unrelated to the conversation: the model answers a different question ("The answer is A) Paris" to "1+1?"), describes a non-existent image, or says "you haven't specified what problem you'd like me to solve". Short prompts are fine.
Root cause. It is the new default prefill chunk size from the 0.1.45 changelog (4096/2048/1024 instead of 512). The release note already warns "prompts shorter than the chunk are unchanged" — which is exactly what we see: 53 tokens OK, 523 tokens broken.
A/B (same engine 0.1.45, same prompt, temperature 0):
--prefill auto→ broken for any prompt > ~512 tokens--prefill 512→ 4/4 correct (long 2.8K/3.3K prompt, multi-turn, system-message constraints)Also: with
--prefill 512(the only correct option), 0.1.45 decodes ~17% slower than 0.1.44.1 on this card (126 vs 148 tok/s, same counting prompt) — so the 0.1.45 speedup lives in the big chunk, which we cannot use. We rolled back to 0.1.44.1.Environment
--max-context 262144 --kv int8 --kv-resident 32768 --spec 4 --mtp --expert-cache auto --prefill autoMinimal repro: send "1+1 = ? Answer with only the number." with ~60 tokens of padding → "2". Same question with ~500 tokens of padding → unrelated output.
Looks like the new default chunk is only safe on the paths the 0.1.45 identity tests ran (all Linux). This matches the "Not run: Windows hardware" note in the release. Happy to provide more data / test a candidate fix.
@gylinc commented on GitHub (Oct 17, 2026):
Confirmed decode regression on 0.1.45 — RTX 5090 32 GB / 96 GB RAM, Maximilian228 Qwen3.8-Flash-Next NVFP4 pack. Engine binary is the only change: startup argv identical across eras (
--spec 4 --spec-min-p 0.5 --mtp rt --expert-cache auto --kv int8 --kv-resident 32768 --vram-reserve-mib 1100).Method (no downgrade needed): split the
strata servelog at thesession is up (engine …)version banner — v0.1.44.1 era n=544, v0.1.45 era n=90 actual-traffic decode samples with N≥200, bucketed by the same line'sprompt N tokens:Cold prefill unchanged (≈4,700–4,800 tok/s in both eras), expert-cache hit rate comparable (84.6% → 83.1%). The draft-acceptance drop is uniform across all buckets including short prompts, which points at the spec/MTP draft path rather than a workload-mix artifact — >100K-context sessions existed in the 0.1.44.1 era as well (272 of them) and ran at 105.7 tok/s then. A warm steady-state bench (111-token prompt, 350 completion tokens, n=3) still measures ~106 tok/s on 0.1.45, i.e. the regression concentrates in long-context decode, where the lower acceptance rate compounds.
Happy to provide the raw era-split stats or rerun specific configs (e.g.
--spec 2) if useful.@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.