mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
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#3111
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 @shaoyanji on GitHub (Nov 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5229
Area
[Engine] — the server/engine, prompt reads. Related: this belongs to the batched-prefill #29 family already tracked in #3807 (0.1.46/0.1.47) and #4566 (gfx1031); posting it separately because the stall site here is deterministic and the pack is Qwen3.8 Coder IQ1_M on a different gfx10 part.
Desktop app, Terminal or source?
Source — a local HIP build for gfx1010 (
setup-equivalent self-built engine,BUILD.json"source": "local-hip"), served bypython -m serve.server --engine strata.What happened
Long prompt reads stall the engine on an AMD gfx1010 (RX 5700, HIP) build, and the engine's own guard stops it after 60 s:
The wrapper restarts the engine and the session resumes, so from the client it looks like one very slow turn (60 s + a reload), not a crash — the same masking #3807 describes.
Smallest steps or command that reproduce it
tools/strata_bench.pyagainst the running server: the agent stage is a system prompt with four tools, then five turns, each appending ~1,500 words of a file and continuing from the model's own reply. Nothing exotic, no--parallel, one request at a time.The stall lands in turn 3 of 6, at prompt ~9,0xx tokens, in all three runs.
Reproduction status
Always, at this prompt size: 3 / 3 agent-suite runs on IQ1_M at
--max-context 16384, three stall sites within ~60 tokens of each other. Not once seen, not intermittent — while 609 to 9,029-token turns never stall on the same session.Also seen: IQ2_XS (68.2 GB) and IQ3_XXS (76.0 GB) stall at turn 0 at 32768, and IQ1_M stalls on a single 16,384-token prompt at 32768. So it is not the pack and not the context budget. All three quantisation levels, one engine.
Strata version
engine/BUILD.json:Engine binary built 2026-10-21; runtime from the
_rocm_sdk_develand_rocm_sdk_libraries_gfx101X_dgpuwheels. Server banner:ready: ... (context 32768 tokens),strata generate: session is up (engine 0.1.46.2). This build prints only the one-line guard — nostall report (engine …)block and no thread-stack file — so there is no dump to attach from it. Public 0.2.10 ships engine 0.1.56; ours is ten point releases back, and I will retest on 0.1.56 when the box is up again.Graphics card, memory and system
Model, size and settings
Qwen3.8-Flash-Next Coder IQ1_M (58.4 GB, 256 of 512 experts), pack built locally with
tools/iq_pack.pyfrom the publisher's two shards, checksums verified againstSHA256SUMS(96 exact conversions, 0 rounded).Engine threads left at the default (24). No
--adapt-swaps, no--resident-budget-gib, noSTRATA_*overrides — this is the plain path.Logs
Nothing is written at the stall: the engine log's last lines are the startup ones above. Journal, per stall:
oom_kill0, no kernel kill line, no coredump payload (RLIMIT_CORE is 0 on purpose),MemAvailableabove 30 GiB throughout.Numbers around it (IQ1_M, 3 runs, warm server, 16384 context)
Agent turns are prefill-bound on this box, which is expected on a 12-core Haswell with AVX2 only; the stall is the problem, not the rate.
What I would like to know
--prefill autopicked a 3840-token chunk and a 351-slot ring here)? Does forcing--prefill 512or--prefill 2048move the stall, or does it stay at ~9k tokens?--adapt-swaps 0+STRATA_VERIFY_COHERENT=1stabilising prefill there. Is that the intended workaround for this family, and does it apply to a stall inside a batched chunk read (not the verify path)?STRATA_ADAPT_OVERLAP=1change it? It is off by default in this build and the stall sits inside a chunk read.