[Engine] sm_120 (RTX 5060 Ti, 16 GiB): 0.1.69 fatal GPU error "verify: layer 15 never rang (the launch timed out and was terminated)"; 0.1.67 clean on the same box

未关闭
#7,299 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 4 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
cpp, linux

调研方向

Start by reproducing the mid-session GPU timeout on the reported RTX 5060 Ti setup with engine 0.1.69, then compare runs with STRATA_ADAPT_FETCH=0 and STRATA_SM120_PERF=0 as proposed in the issue. Use the engine logs around the fatal error to identify which setting affects the failure. Done means determining whether either setting prevents the timeout and reporting the results; the full log is available from the reporter on request.

由索引模型根据 Issue 内容生成。

描述

Machine: Linux Mint 22.3, kernel 7.0.0-44, 125 GiB RAM, one NVIDIA GeForce RTX 5060 Ti (16311 MiB, compute 12.0 / sm_120), driver 595.99.02. Single-GPU box.

Software: Strata Terminal 0.1.69 (linux-x86_64), engine component 0.1.69-linux-x86_64-cuda-cuda13 (control COMMIT b28ca95e). Model: Qwen3.8-Flash-Next (GSQ-RCO IQ3_S, native + ple-gguf split under /mnt). Launch profile: --max-context 262144 --kv int8 --ple-io ram --kv-resident 32768 --conversation-cache-mib 32768 --conversation-cache-min-free-mib 8192 --conversation-cache-min-tokens 1024 --prompt-cache-spread --vram-reserve-mib 1024 --vision --draft dflash2 --draft-fallback none --spec 8 --draft-conf 0.7. PCIe probe at boot: 14.1 GB/s host->device, pcie_frac 0.39.

Symptom. Two fatal GPU errors in ~6.5 h of heavy agentic use (four coding agents sharing one server, prompts 100–119k tokens, KV streaming ~95% VRAM hits / ~18 GiB read from RAM, expert cache hit ~74%):

strata serve: fatal GPU error (the launch timed out and was terminated): the engine ends so that the server can start it again
[strata] 2026-11-27 01:22:17 native ERR fatal GPU error: the launch timed out and was terminated

strata serve: fatal GPU error (verify: layer 15 never rang (the launch timed out and was terminated)): the engine ends so that the server can start it again
[strata] 2026-11-27 07:44:14 native ERR fatal GPU error: verify: layer 15 never rang (the launch timed out and was terminated)

In both cases the engine self-terminates and the supervisor restarts it (restart is clean and quick, ~1 min), but every in-flight agent conversation loses its turn — for coding-agent use that is the real damage.

Version correlation (the reason I am filing against 0.1.69 specifically). The identical launch config and model ran for days on engine 0.1.67-cuda-cuda13 on this same machine with zero fatal GPU errors (the engine log spans 11 starts across 0.1.59→0.1.67: no ERR lines). After the upgrade — first 0.1.69 start 2026-11-26 23:30 — both fatals above appeared within one night. No measurable speed improvement was noticed between 0.1.67 and 0.1.69 on this single-GPU box (decode stays ~48–53 tok/s at ~110k-token contexts), so the sm_120 fast-path set looks like the only behavioral change affecting me — and the boot banner flags exactly that:

strata: sm_120 (Blackwell): 12 speed switches on by default (STRATA_SM120_PERF=0 turns them off, as does STRATA_DEFAULTS=026; … ADAPT_FETCH is on because this card has 16 GiB of memory or less, it does not give bit-for-bit the same text, STRATA_ADAPT_FETCH=0 turns it off): HC_UPMIX Q80_ROWS1 EXP_MODE SIDE_MIXER DEQUANT_SIDE QFUSE LFUSE PLE_COMPACT PLE_COPY_STREAM PREFILL_CPU_SHARE_NT PREFILL_NVFP4 ADAPT_FETCH

A layer 15 never rang verify doorbell failure smells like a no-progress kernel hang rather than an illegal access (the message is the "launch timed out and was terminated" watchdog arm, not the illegal-memory arm seen in #5629). Nearest reports I found: #6861 / #6956 (sm_120 0.1.66 crashes on the first request — different trigger: mine is mid-session under load), #5718 / #6076 (timed out at layer N verify on AMD parts), #6992 (GSP timeout, dual-GPU). None covers CUDA sm_120 mid-session fatals on 0.1.69.

Planned bisect (I can run it and report back): relaunch with STRATA_ADAPT_FETCH=0, then STRATA_SM120_PERF=0; my assumption is the ≤16 GiB adaptive-fetch path (#5672 being an --adapt-async timeout precedent on AMD) interacting with heavy host-RAM expert/KV streaming. If a maintainer wants the full engine log around both fatals (1.2 MB, includes per-request stats), ask and I will attach it.

Happy to test any candidate build or env combination on this exact box.

主要语言
C++
星标
11.6k
派生
1k
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Niko1221/Strata 的其他 Issue

查看 Niko1221/Strata 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。