mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3526] [Engine] Performance degradation among other issues on V0.2.1 #1449
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#1449
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 @gusmanb on GitHub (Oct 21, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3526
System Specifications
Issue
I tried to upgrade to V0.2.1 but found many issues:
Rolling back to V0.1.44 fixed all the issues.
@yusheng227507 commented on GitHub (Oct 21, 2026):
No regression on a homogeneous 2x RTX 2080 Ti box (engine 0.1.45.3 -> 0.1.46.3), and the crash message has changed
Reporting a data point that may narrow this down: on a box with two identical NVIDIA cards, going from 0.1.45.3 to 0.1.46.3 changed nothing measurable, and the answers did not change either. So the slowdown in this report looks specific to the setup rather than to 0.2.1 in general.
Setup: 2x RTX 2080 Ti 22 GB (sm_75), NVLink NV2, PCIe 3.0 x8 host link (6.5 GB/s), driver 595.99.02, CUDA 12.8, Strata source checkout, engine 0.1.45.3 -> 0.1.46.3 (both compiled from source for sm_75,
-DCMAKE_CUDA_ARCHITECTURES=75), i7-10700K, 94.1 GiB. Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS, 262144 context, kv int8,--kv-resident 32768,--spec 4 --spec-min-p 0.5,--layer-split 26,--vram-reserve-mib 1500, 3 slots, MTP on,STRATA_SM75_PERF=1+STRATA_BF16_TC=1+STRATA_PA_V2T=1in both versions.Speed (
tools/strata_bench.py, 3 runs per test, medians, same bench and same settings on both engines):Answers (an 82-question suite: arithmetic, facts, code that is really executed, tool calls, long context, hallucination checks): 71/82 on both engines, and 78 of the 82 answers are byte-identical - the four that differ are worded differently with the same verdict.
About the crash: the error in this report reads "the fused layout's MoE buffers are too small for layer 45". The current engine says more:
so the chunk size is now part of the message. That backstop fires when a layer takes the MMQ or the FP16 path at a full chunk, which is a prefill-layout sizing drift (
src/prefill/prefill.cpp, #583 / #954) - it is not tied to the quant or the card class as such, but a mixed card pair (RTX 5080 + RTX 2080) is exactly the kind of setup where different layers take different paths. I have not seen it on a homogeneous pair.If the report is still reproducible on 0.1.46.3, the new message (with the chunk size) and a
STRATA_VERIFY_PROFILE=1line would point at the layer that drifts; and the prefill speed in the report (1200 -> 500 tok/s) is worth comparing against the same 4K/16K prompt on a single card pair, since a mixed pair also splits the layers unevenly.For reference, the standard-protocol runs of the same box on 0.1.46.3 are in PR #3535.
@Thenenea commented on GitHub (Oct 21, 2026):
Dual Tesla P4 with I9 13900K 16t (P cores) and 42Gb DDR4 3200 allocated to VM. Performance decreased on 0.1.46 versus 0.1.45. In both cases, custom image built with the architecture specific requirements. Longer report attached.
onyx_0.1.46-sm61_comparison (2).pdf
Summary:
Short prompt (seed)
Long prompt (endurance)
MTP and reuse
@ashdahor2-design commented on GitHub (Oct 24, 2026):
Hi Strata developers!
I would like to add my own findings to this performance regression report. I am experiencing a substantial generation speed decrease after upgrading Strata, along with an issue where the desktop application does not preserve the selected prediction mode.
System configuration
1. Significant performance degradation
Before the update, I observed the following generation speeds:
UD-Q4_K_XL:
IQ3_S:
The slowdown is especially severe with UD-Q4_K_XL.
I previously had a very good experience running this quantization on my hardware. Now it performs considerably slower during similar software development workflows.
I have also tested 256K and 512K context configurations and did not observe a meaningful performance difference between these two settings in my tests.
Unfortunately, I no longer have screenshots showing the older performance measurements. However, I can provide screenshots of the current speeds and diagnostic information.
These numbers are observations from real coding sessions, not a controlled benchmark using identical prompts on both versions. I do not want to claim that a regression has been conclusively proven, but the difference is significant enough to investigate.
2. Prediction setting repeatedly resets to Auto
I have reproduced another issue in Strata 0.2.3.
Steps to reproduce:
This happens repeatedly, even when I explicitly select "Off".
I also tried manually selecting MTP, but the setting did not reliably persist in the desktop interface.
As an alternative, I installed Strata Terminal and successfully used the following command to request a launch without MTP:
strata.cmd launch --family unsloth --model ud-q4_k_xl --context 512k --drafting offThe Terminal accepts the configuration, but I cannot reliably preserve the equivalent "Off" selection in the desktop UI.
I would appreciate clarification on whether the desktop UI is only displaying an incorrect saved value or whether the actual inference configuration is also being overridden.
3. Stability improved after the update
There is also a positive change worth mentioning.
On Strata 0.2.2, I repeatedly experienced autonomous agent sessions being interrupted by a four-minute inactivity timeout.
After updating to 0.2.3, my agents have been able to work for over an hour and complete substantial coding tasks without those interruptions.
This improvement is very welcome. I would like to keep the new stability improvements while restoring the previous generation performance.
4. Request for investigation
Could you please investigate the following?
I can provide current screenshots, diagnostic logs and additional test results if needed.
I really appreciate the work being done on Strata. Running such a large model locally on consumer hardware is impressive, and I would love to help identify and resolve these issues.
Thank you for your time and continued development!
@ashdahor2-design commented on GitHub (Oct 24, 2026):
Additional finding: NVFP4 became faster, while UD-Q4_K_XL and IQ3_S became slower
Hi again!
I noticed another important detail in my performance measurements that may help narrow down the cause of the regression.
On the same Windows 11 PC with an RTX 5060 Ti 16 GB and 128 GB RAM, different quantizations appear to behave very differently after the Strata update.
Here are my observed results:
The interesting part is that NVFP4 actually became faster, while the other two quantizations became slower.
My latest NVFP4 coding session is running at approximately 24–26 tokens/s.
This makes me wonder whether the issue is related to quantization-specific inference paths, GPU expert caching, memory placement, or speculative decoding behavior rather than a general performance regression affecting all models.
Please note that these are real-world observations from different coding workloads, not controlled benchmarks. The context sizes and prediction configurations were not identical across all runs, so I cannot attribute these differences exclusively to the Strata update.
I also suspect that MTP may not always be functioning as expected, even when the desktop interface displays Auto or MTP. This is only a hypothesis, not a confirmed finding.
Could you please check whether changes between versions 0.2.2 and 0.2.3 might affect UD-Q4_K_XL, IQ3_S, and NVFP4 differently?
I thought this additional comparison might be useful for identifying the root cause.
Thank you again!
</html>@Niko1221 commented on GitHub (Oct 26, 2026):
Thanks. This report mixes several problems, which makes it hard to act on. Please retest on 0.2.6 and, if it still happens, open one issue per problem with: the exact engine start line, the engine log from start to the failure, 'strata --version', the layer split used, and for speed the STRATA_DECODE_TIMING=1 line. For the MoE-buffer crash the log line with the chunk size and STRATA_VERIFY_PROFILE=1 output would show which layer takes a different path on the 5080+2080 pair. For the settings that the app does not keep (vision off, prediction mode, GPU choice) a separate issue with the app version is best. We could not reproduce a slowdown on a two-identical-card setup.
@gusmanb commented on GitHub (Oct 26, 2026):
@Niko1221 Thanks for the reply. I will not open any new bug, I'm really happy to report that with 1.50 everything works as expected and even better, my prefill has gone from 1200 t/s up to 2.925 t/s, a massive speed up and the generation went back to the normal ~65 t/s.
Just a comment, having an old version with the new ones seems to mess up things a lot, I had living 1.46 with 2.6.0 (terminal only) in different folders and 2.6.0 was changing files from 1.46 even when there was no link between the installations. I did a full cleanup of everything except the model files and now all is working properly.
Thanks :)