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

Đang mở
#7,261 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
46/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
backend, performance

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
C++
Star
11.6k
Fork
1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Niko1221/Strata

Tất cả issue của Niko1221/Strata

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.