mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1945] [Bug]: GPU vision warm-up stays at 4096 tokens with an 8192 image cap #772
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#772
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 @xszwow on GitHub (Oct 11, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1945
What happened
With
strata-vision --gpu --max-tokens 8192, startup still encodes a fixed 2048 × 2048 dummy image. For the Qwen3.8-Flash-Next BF16 projector this warms only 4096 image tokens, even though real images can reach the larger configured cap.A same-day build from
main(61b3fb5dd3f1e8ec09cf7e4e05208bc6d3c46406) logged:The encoder's Windows dedicated-GPU-memory counter was 1,699,991,552 bytes at READY. Encoding a synthetic 3840 × 2160 image then produced 8160 image tokens and raised that counter to 2,305,748,992 bytes: 605,757,440 bytes allocated after READY.
The server starts the language engine after the encoder reaches READY so it can budget its expert cache against the remaining GPU memory. A late allocation defeats that ordering. This test observed the allocation growth; it did not reproduce an OOM or paging failure.
Expected: an explicitly higher image cap should also increase the GPU prewarm size before READY.
Reproduction (substitute matching local GGUF/projector paths and a sufficiently large 3840 × 2160 PNG):
Strata version, GPU, OS
Strata 0.1.42 source at
61b3fb5; AMD Ryzen AI Max+ 395 / Radeon 8060S (gfx1151), 128 GB unified RAM with 96 GB assigned to the GPU; Windows 11 Home build 26200; AMD driver 32.0.31032.1003. Standalone image encoder built with Vulkan SDK 1.4.350.0 and LLVM MinGW 23.1.3 (20261006), native CPU kernels. The deployed language engine uses HIP.Engine log
The relevant encoder log is included above. A narrow fix and paired CPU/Vulkan verification are prepared. Related Windows AMD image support is discussed in #1155 and PRs #1287 / #1789. Those threads cover encoder builds and installer discovery; this report concerns the warm-up size in the existing encoder.
@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.