mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2068] --batch (concurrent requests) silently kills the engine on 2× Tesla V100-SXM2-16GB (sm_70, x86_64): exit is a signal, no error line #826
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#826
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 @wyt990 on GitHub (Oct 12, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2068
Summary
On an x86_64 host with two V100-SXM2-16GB (sm_70), a layer split across both cards, a native IQ pack and MTP
speculative decoding, the engine dies as soon as two requests decode together. Every in-flight request gets
HTTP 503 from the server (
the engine stopped unexpectedly (exit code None)). The engine process is gone; theserver restarts it lazily on the next request. Single requests (one at a time) work.
--batch 2crashes.--batch 4crashes.--kv-residentand at--max-context 32768, so it is not KV streaming or a long context.--spec >= 2for a native IQ pack, so--spec/MTP could not be removed to test that alone.exit code None).Environment
eelgaev/Strata-AC922, branchac9221f029aadc0441ebc07ab00f411f2537359ceace3(2026-10-09, "docs: merged up to upstream v0.1.41")session is up (engine 0.1.41)/usr/local/cuda-12.9)Build (x86_64, the engine is compiled locally):
(
third_party/llama.cppis the pinned commit3cf03257f219afbe7334045ff7c6a06ac68c627d.)Model and config
tools/iq_pack.py).Qwen/Qwen3.8-Flash-Next(tools/mtp_fetch.py→mtp_pack.py→mtp_rt.py).strata-iq2_xs.json), layer splitautoresolved to K=24 (CUDA0 layers 0–24, CUDA1 25–47):Startup lines (both cards fit their sessions):
Steps to reproduce
503:The engine process no longer exists (
pgrepfinds none); the next request makes the server start it again.Engine log around the crash
The log simply stops after the first batched verify window and a fresh startup follows. There is no error line
between them:
Free VRAM in the verify windows was low but not zero (396–584 MiB reported by the
captured the ... windowlines).No
cudaError, noCUDA error, noout of memory, no assertion reaches the log.What I ruled out
parallel: 1(one at a time), same configparallel: 2→--batch 2parallel: 4→--batch 4--kv-residentand--max-context 32768The native pack requires
--spec >= 2(the engine refuses without it: "it needs --native SHARD1, --spec T (T >= 2)and --prefill CHUNK"), so I could not test whether
--spec/MTP is required for the crash.Notes / hypotheses
captured the batch window over slots 0, and nothing after it is printed.that is not exercised on the maintainers' machines.
allocation failing without a printed error would fit, but an OOM usually prints something. The silent signal exit
looks more like a crash.
--batch-mtp(per-slot MTP) was not enabled; this is the plain--batch Npath with--spec 4.Aside: x86_64 build needs
kq_vsx.cppcompiled (small, separate)On x86_64 the link fails with
undefined reference to strata::kernels::cpu::kq_vsx_on()/kq_vsx_gu_rows()/kq_vsx_q51_rows(), becausenative_expert.cppreferences them on every CPU, whileCMakeLists.txtonly addssrc/kernels/cpu/kq_vsx.cppwhenCMAKE_SYSTEM_PROCESSOR MATCHES "^(ppc64|powerpc64)".kq_vsx.cppalready has an#elsebranch with the stubs (kq_vsx_on()returns false, the row functionsabort()),so compiling it everywhere fixes the link and changes nothing on POWER. Local patch:
Happy to test a patch or a debug build (e.g. one that turns CUDA errors into a printed message, or
cuda-memcheck)on this machine.