Repository navigation
Description
Area
[Engine]
Desktop app, Terminal or source?
Desktop app (Strata 0.2.20 GUI) launching the bundled engine. Not built from source.
What happened
During a long-context benchmark of Inkling-2-Mini SQ-10 with --max-context 131072, one streaming request prefilled to 71,680 of 109,649 tokens and the engine died:
[strata] reading the prompt: 71,680 of 109,649 tokens, 1769 s so far
[strata] the GPU reported a fatal error and the engine ended: [ink-hip] kv grow failed in both VRAM and host-mapped pinned memory. ... The next request starts it again.
[strata] done: 0 tokens in 1769 s (no speed) (error, cancel=False)
At load the engine had logged:
[ink-hip] Auto-selected FP8_E4M3 KV cache (post-load free=5052 MiB, FP16 KV need=4256 MiB for ctx=131072 x slots=1)
So the engine picked FP8 itself because the full 131072 plan fit (by its own FP16 figure, the fp8 plan is ≈2128 MiB against 5052 MiB free), yet KV growth failed at ≈71.7k tokens — about 55% of the advertised context — in both allocation tiers (VRAM and host-mapped pinned memory).
Expected: either the prefill completes (the load-time plan says it fits), or a clean per-request error (the usual "request exceeds the context window" style 400) — not a fatal engine exit in the middle of a request.
Smallest steps or command that reproduce it
- Start Inkling-2-Mini SQ-10 in the desktop app with
--max-context 131072(otherwise defaults:--vram-experts-gb 8.60 --ram-experts-gb 0.00 --draft dspark, vision on, parallel 1). - Send one
POST /v1/chat/completionswith a ~110k-token prompt,"stream": true. - Prefill advances to ~71.7k tokens (≈30 min at the observed decay), then the fatal fires.
Observed once during a benchmark run; I did not re-run it (each attempt costs a ~30 min prefill). An App conversation with a 63,665-token prompt existed earlier in the same engine session, so shared KV-pool pressure is not fully excluded — a clean-engine re-run is the follow-up.
Reproduction status
Reproduced locally
Strata version
Strata 0.2.20 · engine strata-inkling 0.1.66 (BUILD.json: source release 0.2.20 2e87c08, rocm 10.2.0a20260930, variant rdna2, archs gfx1030;gfx1031;gfx1032)
Graphics card, memory and system
RX 6800 XT 16 GB (gfx1030, driver 32.0.21045.29003) · 47 GB RAM · Windows 11 (10.0.26300)
Model, size and settings
Inkling-2-Mini SQ-10 (10.5 GB .strata) + Inkling-2-Mini Vision · 128K context (n_ctx=131072) · FP8 KV auto-selected · pictures on · dspark draft · all experts in VRAM (no PCIe expert spill in any successful run)
Logs
Engine log (strata-inkling-2-mini-sq-10.log):
[strata] 2026-11-23 09:39:44 engine started: ... strata-inkling.exe --serve --native D:\models\models\inkling-2-mini\Inkling-2-Mini-SQ-10.strata --max-context 131072 --vision ... --vram-experts-gb 8.60 --ram-experts-gb 0.00 --draft dspark
[ink-hip] Auto-selected FP8_E4M3 KV cache (post-load free=5052 MiB, FP16 KV need=4256 MiB for ctx=131072 x slots=1)
[strata] 2026-11-23 11:22:14 native ERR fatal GPU error: [ink-hip] kv grow failed in both VRAM and host-mapped pinned memory
Desktop host log (app-1.server.log) around the failure:
[strata] reading the prompt: 71,680 of 109,649 tokens, 1769 s so far
[strata] the GPU reported a fatal error and the engine ended: [ink-hip] kv grow failed in both VRAM and host-mapped pinned memory. ...
[strata] done: 0 tokens in 1769 s (no speed) (error, cancel=False)
Right before this run, a clean request at 63,805-token context completed but decoded at only 8.9 tok/s (vs 61 tok/s at short context on the same host) — possible same underlying KV-at-depth behaviour, full numbers in the companion [Benchmark] issue.
Related / dedup
- [Engine] strata-inkling 0.1.65 hip-rx7900: --kv k8v4/k8v8 allocate MORE VRAM than fp16 — "kv grow v: out of memory" at lower context than fp16; --kv fp8 unaffected #6681 — k8v4/k8v8 KV growth OOMs on HIP (rx7900, 0.1.65), where
--kv fp8was the workaround. This report is the same failure family with fp8 already active, auto-selected by the engine itself on gfx1030 / 0.1.66. - [Engine] Single-GPU start with a too-large K/V cache exits instead of falling back to KV streaming #6657 — a too-large K/V cache at start exits instead of falling back to KV streaming.
- [Engine] sm_75 inkling path: --kv k8v8/k8v4 segfault, CUDA 700 when prompt+gen fills --max-context, DSpark OOM at 131K #6590 / [Engine] Inkling-2-Mini on RTX 3090 24 GB: long prompts OOM at ink_cuda.cuh:54 unless --max-context is small (SQ-20 and SQ-15) #6609 / [Engine] strata-hy4 0.1.64 / 0.1.66: Hy4-Flash SQ-64 at --max-context 1048576 (and 524288) ends in 'HIP error 2 (out of memory)' with the engine's own plan (R9700 and RTX 3090 Ti); what starts, and speeds #6744 — the max-context-scaled KV/DSpark OOM cluster.
Activity