[Engine] Windows reboots on a 65,636-token UD-IQ4_XS-v31 prompt with dual RTX 3090 and CUDA 13 engine 0.1.69

Aperta
#7,339 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.exe SHA-256 fa1caa816595171164069dfedc0bc5549b43d87827f35ed6182775e10697858a.
  • Unsloth UD-IQ4_XS-v31, four GGUF shards. Pack built using tools/iq_pack.py --compat-bf16 --experts-bin. experts.bin SHA-256 50f0f4ae5c529be1c0a1ff02f1853d8dd451d3c47465388f0a4589a018ff44f7.
  • Official engine served by a local CoLO integration of serve.server with 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.

Lingua principale
C++
Stelle
11.6k
Fork
1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Niko1221/Strata

Tutte le issue di Niko1221/Strata

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.