mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3690] [Engine] strata-vision 0.2.2: image prompts expand to ~93,700 tokens (7x slower than 0.1.45, identical answer) #1529
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#1529
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 @CaptRauti on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3690
Problem
On the same server configuration and the same test image, the 0.2.2 (mtmd-based)
strata-visionencodes an image into a far larger engine prompt than the 0.1.45 vision binary did, so an image request takes 7x longer with no visible correctness benefit.Reproduction
STRATA_ISA_FLOOR=avx), CUDA 13.3.mmprojBF16,--max-context 128000, layer split across 2 GPUs (pipeline-windows 2), parallel 1.image_urlcontent part,max_tokens120, temperature 0.engine/strata-vision.exebetween the 0.1.45 and the 0.2.2 binary, restart, send the same request, compare the engine log'sprompt N tokens = ...line and the client wall time.Result
prompt N tokens = ...)The 0.2.2 vision inflates the engine prompt by roughly 1200x for this small image and the request is 7x slower; the answers are identical, so the extra tokens buy nothing here.
Expected
0.2.2 vision should not turn one small image into ~93k prompt tokens; image-request latency should be comparable to 0.1.45.
Validation
Measured on the box above; each vision binary exercised with the same request twice, consistent within each. Not run: other images/resolutions (the inflation may scale with size), a bit-level embedding comparison, CPU-only vision.
Limits
Single hardware sample (see CONTRIBUTING/COMMUNITY_BENCHMARKS); the two vision binaries are from the 0.1.45 and 0.2.2 sources respectively.
@CaptRauti commented on GitHub (Oct 23, 2026):
Thanks for the quick fix —
828a2559reproduces our case exactly (unclamped reader, one picture became 93,700 image tokens). Our production config already setsvision.max_tokens: 1024, which is why the older reader stayed clean here; we will re-test the updatedstrata-vision(GPU-1024 default + the ERR refusal past limit+⅛) once we pick up a build with this commit on the same 2x RTX 3060 rig, and report back with a number. — CaptRauti@Niko1221 commented on GitHub (Oct 24, 2026):
This is fixed in Strata 0.2.3. Please update to the latest release (in the Terminal:
strata update; in the app: download the newest installer from the releases page). If it still happens on the latest version, reply here and we will reopen it. Thank you for the report.