mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5188] [Engine] --prefill-head-alias on an 8 GB card: the second request fails with "the output head was reloaded at another address" and the engine exits #3088
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#3088
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 @acmebiella-spec on GitHub (Nov 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5188
Area
[Engine] (speed, kernels, models, the server and API)
Desktop app, Terminal or source?
Terminal (the
stratacommand)What happened
With
--prefill-head-aliason an RTX 4060 8 GB, the engine starts and answers the launcher's own first request (53 tokens). The next request fails with HTTP 400:In the start where I sent one more request, that one got:
and the server log said:
It happened in 3 of 3 starts, each time at the second request. Both requests were short: the launcher's check (53 tokens), then a one-line chat message.
Expected: the request is answered. The flag is described for 8 GB cards in docs/PREFILL_HEAD_ALIAS.md, which lists a moved head as an open question ("We never saw this happen").
A larger reserve did not help. The first start warned "only 119 MiB of VRAM free at the start of this request ... Add --vram-reserve-mib 1152". With
--vram-reserve-mib 1152, 971 MiB were free after loading and 583 MiB when the 1-token window was captured, and the second request failed the same way.Related: #2724 reported this safety stop on an RTX 5080 16 GB with 0.1.44.1, together with a prefill slowdown. It was closed in the 0.2.0-beta tracker reset, and its title has no area prefix, so I opened this one for the current release. #4098 is the same flag with a different error: there the head upload runs out of memory. Here the head is restored ("output head restored in 143.4 ms before decode") but at another address.
Smallest steps or command that reproduce it
My preset's command as the launcher prints it ("same as"), plus the settings of these starts:
The launcher's own check request is answered. Then any short chat request fails, for example (API key header left out):
Third start: the same, plus
--set vram-reserve-mib=1152.Not tested: other cards, a start without
STRATA_PREFILL_CPU_SHARE=auto, long prompts (the failure came before any).Reproduction status
Reproduced locally
Strata version
strata 0.2.10 (build 0.1.56), engine
0.1.56-linux-x86_64-cuda-cuda13Graphics card, memory and system
RTX 4060 8 GB (PCIe 3.0 x8, driver 595.91 server open) · 39 GiB RAM, 2x Xeon E5-2620 v3 · Ubuntu 26.04.1, kernel 7.0.0-42,
iommu=ptModel, size and settings
Qwen3.8-Flash-Next IQ3_S, 128K context, pictures on (CPU reader), MTP drafter, experts via mmap (the low-RAM mode setup picked)
Logs
First start (default reserve, 700 MiB):
Third start (
--vram-reserve-mib 1152):Prepared with an AI assistant (Claude Code). The runs and log lines are real.