[Engine] strata.exe 0.1.67/0.1.69 crashes with 0xc0000005 after 1-token window capture when --resident-budget-gib > 0 on RTX 5090 (Windows)

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

维护者通常 4 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

Start by comparing engine versions 0.1.65 and 0.1.67/0.1.69 around the transition after the 1-token window capture, using the listed command and isolation matrix to reproduce the crash. The issue does not name source files or tests, so first trace where --resident-budget-gib affects window capture and inspect the Windows access violation. Done means the same configuration reaches READY with a nonzero resident budget.

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

描述

Area

[Engine] (speed, kernels, models, the server and API)

Desktop app, Terminal or source?

Source (START-HERE.bat, setup.sh or a build)

What happened

After updating to engine 0.1.69 (and previously on 0.1.67), strata.exe crashes on startup with Windows exception 0xc0000005 (Access Violation) immediately after printing:

strata verify: captured the 1-token window (upload no error, sync no error) in 10.2 ms

It never reaches capturing the 2-token window or READY.

Expected behavior: strata.exe finishes window capture and prints READY (which works reliably on engine 0.1.65 with the exact same model, pack, and configuration).

Windows Application Error Event Log entries:

  • Engine 0.1.69 (timestamp 0x6b06d61f): Exception code 0xc0000005, Fault offset 0x00000000006fbc8b
  • Engine 0.1.67 (timestamp 0x6b051e1f): Exception code 0xc0000005, Fault offset 0x00000000006fe94b
Smallest steps or command that reproduce it

Launch strata.exe --serve with the Qwen3.8-Flash-Next-Uncensored-Q6_K native pack + GGUF and --resident-budget-gib 1 (even with --max-context 4096 and without --vision):

strata.exe --serve --pack <pack_dir> --native <gguf_1_of_5> --ple-gguf <gguf_2_of_5> --ple-io direct --expert-profile <expert-profile.bin> --expert-cache auto --prefill 512 --spec 4 --spec-min-p 0.5 --mtp <mtp_dir> --max-context 4096 --kv-grow --conversation-cache-mib 0 --conversation-cache-slots 0 --kv int8 --pool-workers 15 --adapt-async 1 --vram-reserve-mib 4096 --resident-budget-gib 1

Isolation matrix observed locally:

  • 0.1.65 with --resident-budget-gib 1 (and 76): PASS (READY)
  • 0.1.69 with --resident-budget-gib 0 (at 262144 context, with --vision): PASS (READY 262144 stop hold holdb)
  • 0.1.69 with --resident-budget-gib 1: CRASH (0xc0000005 right after captured the 1-token window)
  • 0.1.69 with --resident-budget-gib 1 + STRATA_SM120_PERF=0: CRASH (0xc0000005)
  • 0.1.69 with --resident-budget-gib 1 + STRATA_NO_CUDA_GRAPH=1: CRASH (0xc0000005)
  • 0.1.69 with --resident-budget-gib 1 + STRATA_DEFAULTS=026: CRASH (0xc0000005)
  • 0.1.69 with --resident-budget-gib 1 + STRATA_PIN_BY_NEED=0: CRASH (0xc0000005)
  • 0.1.69 with --resident-budget-gib 1 without --adapt-async, without --kv-grow, with --prefill auto, or with --expert-cache 0: CRASH (0xc0000005)
Reproduction status

Reproduced locally

Strata version

Strata 0.2.22 (commit c23477403) · engine 0.1.69 (also observed on 0.1.67; 0.1.65 works)

Graphics card, memory and system

NVIDIA GeForce RTX 5090 32 GB (Driver 610.88) · 128 GB RAM · Windows 11 Pro (Build 26300)

Model, size and settings

Qwen3.8-Flash-Next-Uncensored-Q6_K (native pack + 5 GGUF shards) · 262144 context (also reproduces at 4096) · --resident-budget-gib 76 (also reproduces at 1) · --kv int8 · --prefill 512 · --spec 4 · --vision

Logs
strata: sm_120 (Blackwell): 12 exact speed switches on by default (STRATA_SM120_PERF=0 turns them off, as does STRATA_DEFAULTS=026; a switch you set is kept): HC_UPMIX Q80_ROWS1 EXP_MODE SIDE_MIXER DEQUANT_SIDE QFUSE LFUSE PLE_COMPACT PLE_COPY_STREAM PREFILL_CPU_SHARE_NT PREFILL_NVFP4 VERIFY_DEVICE_HITS
strata generate: memory guard: limit 127.7 GiB (source: meminfo), current 13.5 GiB, reclaimable cache credited 0.0 GiB; available 114.2 GiB (MemAvailable 114.2 GiB), floor 2560 MiB
strata generate: GPU 0: NVIDIA GeForce RTX 5090, compute capability 12.0
strata generate: experts via mmap (--mmap-experts; the GGUF shards in place, no experts.bin)
strata generate: expert cache 3601 slots, 14.85 GiB of VRAM; policy is PROFILE, ranked by routing frequency, no eviction.
strata generate: session is up (engine 0.1.69)
FileExpertSource: mapped pinned cache complement ready: resident 76.00 GiB, pinned 76.00 GiB in 19 s; page-locked and mapped
strata generate: resident RAM mode: 76.00 GiB of experts in RAM (page-locked), 3601 in the GPU cache; adaptive swaps exchange them with the GPU cache (no file reads)
strata serve: Windows commit: 130.5 GiB left of a 255.7 GiB limit (RAM + page file)
strata serve: the prompt path borrows 130 CUDA0 cache slots (0.54 GiB)
strata verify: window up to 12 tokens, 137.9 MiB of device buffers
strata mtp: draft head over 106299 tokens (212.9 MiB)
strata serve: adaptive tier asynchronous (--adapt-async 1): up to 96 swaps per round, a round every 4 windows
strata serve: 3970 MiB of VRAM free with everything loaded
strata verify: capturing the 1-token window (3970 MiB of VRAM free)
strata verify: captured the 1-token window (upload no error, sync no error) in 10.2 ms
主要语言
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 摘要。