[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)

Aperta
#7,261 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
46/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp

Direzione di ricerca

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.

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

Descrizione

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
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.