mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4214] [Other] batch_groups_cache_test reports FAIL with --batch-groups 2 although the reuse it checks for happened #1853
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#1853
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 @Dmitry-B on GitHub (Oct 26, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4214
Area
Other
Desktop app, Terminal or source?
Source
What happened
tools/batch_groups_cache_test.pyprints FAIL although the reuse it is there to check did happen. Thescript reads the engine log and takes the last six
prompt N tokens = M reusedlines as its own sixrequests, then requires ≥90 % reuse in the last four. With
--batch 2 --batch-groups 2the engine writesan extra line per request - the slot copy,
strata batch: slot 0 takes N tokens (copied in …)- so theslice the test examines contains lines with
reused 0and it fails. Run against a clean log withSMOKE_LOG, my run's real reuse in rounds 2 and 3 was 99.2 %, 100 %, 99.2 %, 99.3 %, 100 %, 99.3 % -the #1604 behaviour is fine, the parser is not.
A second, smaller thing: the script reads the log path from the run config, so on a machine whose service
writes a long-running log it inherits unrelated requests.
SMOKE_LOGexists, which is good; using it bydefault (or counting only requests the script itself tagged) would avoid this.
Smallest steps or command that reproduce it
The printed
requests (prompt tokens, reused):list then contains 10 entries for 6 requests, and the lastfour checked ones include a
reused 0line.Reproduction status
Reproduces every time with
--batch-groups 2; the answers and the reuse counters are correct, only thePASS/FAIL decision is wrong.
Strata version
Strata 0.2.6 · engine 0.1.51 · commit
4b9e05a2a806a3fe24f7b2560d98626c37dade35Graphics card, memory and system
RTX 4090 24 GB · 46 GB RAM · Ubuntu 26.04.1, driver 615.71.09, CUDA 13.4
Model, size and settings
Qwen3.8-Flash-Next IQ3_XXS · 204800 context ·
--resident-experts,--pool-workers 10,--kv int8Logs
@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. 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.