[Engine] Windows reboots on a 65,636-token UD-IQ4_XS-v31 prompt with dual RTX 3090 and CUDA 13 engine 0.1.69
维护者通常 4 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 20/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- cpp
调研方向
The report provides a synthetic 64K reproduction, launch arguments, Windows hardware details, and logs, but no source files or trace entry points. Start by reproducing on a separate Windows CUDA rig and capture the last completed prefill chunk and GPU synchronization before reset; compare builds while holding the other settings constant. Done means identifying a repeatable engine failure or collecting a trace that narrows the reset to a specific step.
由索引模型根据 Issue 内容生成。
描述
Environment
- Windows 11 Pro build 26300.9974, NVIDIA driver 621.40, two RTX 3090 24 GiB cards at 200 W each. GPU 1 drives a display. i9-11900K, ASUS ROG Maximus XIII Hero BIOS 2501, 63.73 GiB visible system RAM.
- Strata release 0.2.22, Control 0.1.69, and official Windows x64 CUDA 13 engine 0.1.69, release commit
b28ca95e3e6847f2d5e317994f253b66716deeaa.strata.exeSHA-256fa1caa816595171164069dfedc0bc5549b43d87827f35ed6182775e10697858a. - Unsloth UD-IQ4_XS-v31, four GGUF shards. Pack built using
tools/iq_pack.py --compat-bf16 --experts-bin.experts.binSHA-25650f0f4ae5c529be1c0a1ff02f1853d8dd451d3c47465388f0a4589a018ff44f7. - Official engine served by a local CoLO integration of
serve.serverwith a token-count and admission check. The launcher used loopback, one serving slot, and automatic restart disabled. The official engine binary was unchanged.
Reproduction on a separate test machine
A whole-machine restart interrupted the 64K request on this workstation. Please use a test host where a reboot is acceptable. Each packed run started from a fresh engine with an empty conversation cache and received one synthetic text request.
The engine launched with these arguments. Paths use placeholders.
strata.exe --serve --pack <IQ4_PACK> --native <UD-IQ4_XS_SHARD_1> --expert-profile <BUNDLED_PROFILE> --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp <QWEN_MTP_RT> --max-context 196608 --kv int8 --kv-resident 32768 --adapt-async 1 --vram-reserve-mib 1536 --vram-reserve-later-mib 2764 --resident-budget-gib 20 --conversation-cache-mib 0 --layer-split auto
The environment sets STRATA_PF_FUSED=1 and STRATA_ROUTE_TAIL_SKIP=0. Auto selected layers 0–24 on CUDA0 and 25–47 on CUDA1. The expert profile matched the release bundle. MTP came from Qwen's original revision. Startup confirmed the experts.bin file path and 20.00 GiB pinned. Both runs selected 8,192-token prompt chunks, a 96-slot ring, and 32,768 resident KV positions.
Generate the request bodies with the script below. It writes JSON to stdout. Use one POST /v1/responses on the separate test machine, with model matching its loaded model ID. The reported framed counts were 32,859 and 65,636 tokens, reproduced offline with the same tokenizer and chat template. The local integration used the equivalent request through its hash-bound admission route.
from hashlib import blake2s, sha256
import json
import sys
cases = {
'32k': ('recall-32k', 655, '4470844e06db89de7431235ebe2984b2a97b3c8b3dd662812351eeb685d53df3'),
'64k': ('retest-20gib-64K', 1311, '63a40d1e8ee4b6a8ea7db2c34fa8d3c130142d689154c789481c7e1536592ff1'),
}
label, count, expected_hash = cases[sys.argv[1]]
key = sha256(label.encode()).hexdigest()[:10]
entries = {
count // 10: f'[{key}] The approved batch is K-{key}. Revoked suggestion: B-7751.',
count // 2: f'[{key}] Final approved reason: optical sensor recalibration. Draft reason: battery replacement.',
count * 9 // 10: f'[{key}] Reviewer on the signed decision: Lina Solano. Recorder: Avi Chen.',
}
records = []
for i in range(count):
if i in entries:
records.append(entries[i])
ticket = blake2s(f'{label}:{i}'.encode(), digest_size=5).hexdigest()
records.append(f'Line {i:04d}, ticket N-{ticket}: inspected tray {i % 23}, recorded meter {i % 71}, '
f'and moved sample {i % 97} into storage. Status pending. Draft is for inventory only.\n')
prompt = (f'Synthetic records for case {key}. Use only entries labeled [{key}].\n'
+ '\n'.join(records)
+ f'\nFor [{key}], return only JSON with keys reason, approved_batch and reviewer from the signed entries.')
assert sha256(prompt.encode('utf-8')).hexdigest() == expected_hash
print(json.dumps({'model': sys.argv[2], 'input': prompt, 'temperature': 0, 'max_output_tokens': 192,
'reasoning': {'effort': 'none'}, 'stream': True}))
Expected and observed
Both prompts should fit in the configured 196,608-token window and return a JSON result or an API error while Windows stays up.
- Packed IQ4 32K. Exact recall passed once. First output 22.16 s, request 24.39 s.
- Packed IQ4 64K. One submission was recorded. Last durable sample was 27.82 s after submission, at 19.21 GiB available RAM, 26.44 GiB of commit headroom, 182.33 W and 188.01 W, and both GPUs at 99% utilization. No completed response or engine exception was captured.
- The peak sampled sum of GPU board power was 381 W at 32K and 390 W at 64K. Samples at or above 350 W were 6/18 and 16/20 respectively. GPU 1's startup host-to-device probe was 12.4 GB/s at 32K and 10.9 GB/s at 64K.
- Windows logged Kernel-Power Event 41 (
BugcheckCode=0,WHEABootErrorCount=0) and Event 6008. No matching WHEA, NVIDIA driver event, application crash, or new dump was captured. The failed run ended with these engine lines.
strata: prompt experts on the fused int8 kernels (STRATA_PF_FUSED=1, #136)
strata prefill: QSA layers: norm + rope in one pass on, attention gate in the attention epilogue off
Scope and question
The packed 64K reset has one observation. Direct GGUF loading previously reset on the saved 32K case after two shorter prompts. The packed 32K pass used a fresh engine and a single prompt. IQ3_S on the same engine and hardware passed 184,279 framed tokens in a separate run. This host also has an earlier hard-reset history under dual-GPU inference outside Strata, so power delivery or platform instability remains plausible.
Reports #7155 and #7131 cover related crashes. The failing packed run used experts.bin and the unbuffered file path. Its outcome was a system reset without a captured process exception. Can you reproduce the 64K case on a separate Windows CUDA rig, or recommend an engine trace that identifies the last completed prefill chunk and GPU synchronization before a reset? A comparison that changes only the engine build would help isolate the software path.
- 主要语言
- C++
- 星标
- 11.6k
- 派生
- 1k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Niko1221/Strata 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
Niko1221/Strata#7365 · 2 条评论 ·
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 4 天内回复
-
[GUI] Engine chip: move the breathing status dot to the right end of the quant line, inside the chip未关闭
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 4 天内回复
-
[GUI] The top horizontal stroke of 更 in the sidebar footer is never drawn (Windows, 125% scaling)未关闭
难度 2/5 1-3 小时 新手友好度 72/100
Niko1221/Strata#7276 · 1 条评论 ·
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
Niko1221/Strata#7230 · 1 条评论 ·
维护者通常 4 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
deepseek-ai/DeepGEMM#529 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
compiler-explorer/compiler-explorer#9710 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
ucb-bar/libgemmini#10 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs first未关闭
难度 2/5 1-3 小时 新手友好度 72/100
Quantinuum/tket#2282 ·
维护者通常 1 天内回复