[GH-ISSUE #70] Crash mid-decode #38

Closed
opened 2026-11-04 01:39:13 +07:00 by bsakaguchi · 6 comments
Owner

Originally created by @dandandelion on GitHub (Sep 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/70

First, my setup:

Core i9-12900hk
RTX 3080 Ti (16GB)
64GB DDR5-4800 (~55GiB free after OS)
Fedora Workstation (44)

Trying to use GSQ-RCO IQ3_S @ Q4 kv cache @ 262144 (tho I saw it crash also on 32k and 128k)

This keeps happening mid decode (sometimes it even crashes my GPU):

[strata] thinking: 3601 of max 131072 tokens, 35.0 tok/s, 104 s
[strata] thinking: 3632 of max 131072 tokens, 34.9 tok/s, 105 s
[strata] the engine reported an error: verify: layer 3 never rang (an illegal instruction was encountered)
[strata] done: 3671 tokens in 106 s (35.0 tok/s) (error, cancel=False)

The log doesn't seem to provide much but here:

strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows)
strata generate: native pack: /home/dandandelion/AI/Inference/Strata-data/packs/iq3_s experts (largest blob 2.66 MB), token embedding type 23 in mapped host memory (322 MiB)
strata generate: 1466 MiB of weights loaded from /home/dandandelion/AI/Inference/Strata-data/packs/iq3_s (302 canonical tensors skipped: served natively)
strata generate: 300 native projection matrices, 2018.88 MiB of weights
strata generate: PLE on, table 320001536 rows of /home/dandandelion/AI/Inference/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf
strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (no hugetlb pool configured?); using 4 KB pages
strata generate: loaded 46.84 GiB at 6.62 GiB/s
strata mtp: draft layer loaded, 876 MiB of VRAM (experts 675, dense 111)
strata generate: profile /home/dandandelion/AI/Inference/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots
strata generate: experimental native Q5_K head, 521472000 bytes
strata generate: expert cache auto: 9.36 GiB free, 700 MiB reserved -> 3497 slots
strata generate: expert cache 4547 slots, 8.67 GiB of VRAM; policy is
strata generate: the GPU computes the experts in the cache; it rounds differently from the CPU,
                 so a reply can differ slightly from a run without the cache (same quality:
                 bench/results/2026-09-27-cache-parity).
                 PROFILE, ranked by routing frequency, no eviction.
strata generate: pre-filled 4547 of 4547 slots from the profile; slot 0 verified
strata generate: R4 hit path ON - resident experts are computed on the GPU
strata generate: 13 expert-pool workers + the host thread
strata generate: session is up (engine 0.1.18)
strata generate: token graph hit path: 4547 resident experts, decided on the device
strata serve: prompt chunk auto: 8192 tokens
strata serve: the prompt path borrows 2341 cache slots (4.43 GiB)
strata verify: window up to 6 tokens, 74.3 MiB of device buffers
strata mtp: draft head over 40525 tokens (81.2 MiB)
strata serve: 342 MiB of VRAM free with everything loaded
strata verify: captured the 6-token window (upload no error, sync no error)
strata verify: captured the 5-token window (upload no error, sync no error)
strata verify: captured the 4-token window (upload no error, sync no error)
strata verify: captured the 1-token window (upload no error, sync no error)
strata verify: captured the 3-token window (upload no error, sync no error)
strata verify: captured the 2-token window (upload no error, sync no error)
strata serve: prompt 58 tokens = 0 reused + 58 read in 1605 ms (36.1 tok/s), 100 generated in 3300 ms (30.3 tok/s), drafts accepted 62 of 84, 1 checkpoints
strata serve: prompt 133 tokens = 53 reused + 80 read in 1333 ms (60.0 tok/s), 9490 generated in 236955 ms (40.0 tok/s), drafts accepted 6122 of 7364, 2 checkpoints
strata serve: suffix drafts: 193 windows, 475 of 552 drafts accepted
strata serve: prompt 1757 tokens = 128 reused + 1629 read in 3779 ms (431.0 tok/s), 6128 generated in 149233 ms (41.1 tok/s), drafts accepted 4071 of 4642, 3 checkpoints
strata serve: suffix drafts: 153 windows, 387 of 416 drafts accepted
strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows)
strata generate: native embedding: cannot pin 322 MiB
strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows)
strata generate: native embedding: cannot pin 322 MiB
strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows)
strata generate: native embedding: cannot pin 322 MiB
strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows)
strata generate: native pack: /home/dandandelion/AI/Inference/Strata-data/packs/iq3_s experts (largest blob 2.66 MB), token embedding type 23 in mapped host memory (322 MiB)
strata generate: 1466 MiB of weights loaded from /home/dandandelion/AI/Inference/Strata-data/packs/iq3_s (302 canonical tensors skipped: served natively)
strata generate: 300 native projection matrices, 2018.88 MiB of weights
strata generate: PLE on, table 320001536 rows of /home/dandandelion/AI/Inference/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf
strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (no hugetlb pool configured?); using 4 KB pages
strata generate: loaded 46.84 GiB at 6.59 GiB/s
strata mtp: draft layer loaded, 890 MiB of VRAM (experts 675, dense 111)
strata generate: profile /home/dandandelion/AI/Inference/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots
strata generate: experimental native Q5_K head, 521472000 bytes
strata generate: expert cache auto: 9.16 GiB free, 700 MiB reserved -> 3419 slots
strata generate: expert cache 4443 slots, 8.48 GiB of VRAM; policy is
strata generate: the GPU computes the experts in the cache; it rounds differently from the CPU,
                 so a reply can differ slightly from a run without the cache (same quality:
                 bench/results/2026-09-27-cache-parity).
                 PROFILE, ranked by routing frequency, no eviction.
strata generate: pre-filled 4443 of 4443 slots from the profile; slot 0 verified
strata generate: R4 hit path ON - resident experts are computed on the GPU
strata generate: 13 expert-pool workers + the host thread
strata generate: session is up (engine 0.1.18)
strata generate: token graph hit path: 4443 resident experts, decided on the device
strata serve: prompt chunk auto: 8192 tokens
strata serve: the prompt path borrows 2338 cache slots (4.43 GiB)
strata verify: window up to 6 tokens, 74.7 MiB of device buffers
strata mtp: draft head over 40525 tokens (81.2 MiB)
strata serve: 344 MiB of VRAM free with everything loaded
strata verify: captured the 6-token window (upload no error, sync no error)
strata verify: captured the 2-token window (upload no error, sync no error)
strata verify: captured the 4-token window (upload no error, sync no error)
strata verify: captured the 1-token window (upload no error, sync no error)
strata verify: captured the 3-token window (upload no error, sync no error)
strata serve: prompt 55 tokens = 0 reused + 55 read in 1570 ms (35.0 tok/s), 29 generated in 1229 ms (23.6 tok/s), drafts accepted 18 of 29, 1 checkpoints
strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows)
strata generate: native pack: /home/dandandelion/AI/Inference/Strata-data/packs/iq3_s experts (largest blob 2.66 MB), token embedding type 23 in mapped host memory (322 MiB)
strata generate: 1466 MiB of weights loaded from /home/dandandelion/AI/Inference/Strata-data/packs/iq3_s (302 canonical tensors skipped: served natively)
strata generate: 300 native projection matrices, 2018.88 MiB of weights
strata generate: PLE on, table 320001536 rows of /home/dandandelion/AI/Inference/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf
strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (no hugetlb pool configured?); using 4 KB pages
strata generate: loaded 46.84 GiB at 6.28 GiB/s
strata mtp: draft layer loaded, 978 MiB of VRAM (experts 675, dense 111)
strata generate: profile /home/dandandelion/AI/Inference/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots
strata generate: experimental native Q5_K head, 521472000 bytes
strata generate: expert cache auto: 8.01 GiB free, 700 MiB reserved -> 2955 slots
strata generate: expert cache 3836 slots, 7.33 GiB of VRAM; policy is
strata generate: the GPU computes the experts in the cache; it rounds differently from the CPU,
                 so a reply can differ slightly from a run without the cache (same quality:
                 bench/results/2026-09-27-cache-parity).
                 PROFILE, ranked by routing frequency, no eviction.
strata generate: pre-filled 3836 of 3836 slots from the profile; slot 0 verified
strata generate: R4 hit path ON - resident experts are computed on the GPU
strata generate: 13 expert-pool workers + the host thread
strata generate: session is up (engine 0.1.18)
strata generate: token graph hit path: 3836 resident experts, decided on the device
strata serve: prompt chunk auto: 8192 tokens
strata serve: the prompt path borrows 2333 cache slots (4.43 GiB)
strata verify: window up to 6 tokens, 75.4 MiB of device buffers
strata mtp: draft head over 40525 tokens (81.2 MiB)
strata serve: 342 MiB of VRAM free with everything loaded
strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows)
strata generate: native pack: /home/dandandelion/AI/Inference/Strata-data/packs/iq3_s experts (largest blob 2.66 MB), token embedding type 23 in mapped host memory (322 MiB)
strata generate: 1466 MiB of weights loaded from /home/dandandelion/AI/Inference/Strata-data/packs/iq3_s (302 canonical tensors skipped: served natively)
strata generate: 300 native projection matrices, 2018.88 MiB of weights
strata generate: PLE on, table 320001536 rows of /home/dandandelion/AI/Inference/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf
strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (no hugetlb pool configured?); using 4 KB pages
strata generate: loaded 46.84 GiB at 6.57 GiB/s
strata mtp: draft layer loaded, 978 MiB of VRAM (experts 675, dense 111)
strata generate: profile /home/dandandelion/AI/Inference/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots
strata generate: experimental native Q5_K head, 521472000 bytes
strata generate: expert cache auto: 8.01 GiB free, 700 MiB reserved -> 2955 slots
strata generate: expert cache 3836 slots, 7.33 GiB of VRAM; policy is
strata generate: the GPU computes the experts in the cache; it rounds differently from the CPU,
                 so a reply can differ slightly from a run without the cache (same quality:
                 bench/results/2026-09-27-cache-parity).
                 PROFILE, ranked by routing frequency, no eviction.
strata generate: pre-filled 3836 of 3836 slots from the profile; slot 0 verified
strata generate: R4 hit path ON - resident experts are computed on the GPU
strata generate: 13 expert-pool workers + the host thread
strata generate: session is up (engine 0.1.18)
strata generate: token graph hit path: 3836 resident experts, decided on the device
strata serve: prompt chunk auto: 8192 tokens
strata serve: the prompt path borrows 2333 cache slots (4.43 GiB)
strata verify: window up to 6 tokens, 75.4 MiB of device buffers
strata mtp: draft head over 40525 tokens (81.2 MiB)
strata serve: 342 MiB of VRAM free with everything loaded
strata verify: captured the 4-token window (upload no error, sync no error)
strata verify: captured the 1-token window (upload no error, sync no error)
strata verify: captured the 3-token window (upload no error, sync no error)
strata verify: captured the 2-token window (upload no error, sync no error)
strata verify: captured the 6-token window (upload no error, sync no error)
strata verify: captured the 5-token window (upload no error, sync no error)
strata serve: prompt 3187 tokens = 0 reused + 3187 read in 7023 ms (453.8 tok/s), 150 generated in 5099 ms (29.4 tok/s), drafts accepted 100 of 134, 1 checkpoints
strata serve: suffix drafts: 3 windows, 9 of 12 drafts accepted

Also here's the model's json config:

{
 "exe": "/home/dandandelion/AI/Inference/Strata/engine/strata",
 "args": [
  "--pack",
  "/home/dandandelion/AI/Inference/Strata-data/packs/iq3_s",
  "--native",
  "/home/dandandelion/AI/Inference/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf",
  "--ple-gguf",
  "/home/dandandelion/AI/Inference/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf",
  "--expert-profile",
  "/home/dandandelion/AI/Inference/Strata/data/expert-profile.bin",
  "--expert-cache",
  "auto",
  "--prefill",
  "auto",
  "--spec",
  "4",
  "--spec-min-p",
  "0.5",
  "--mtp",
  "/home/dandandelion/AI/Inference/Strata-data/mtp/rt",
  "--max-context",
  "262144",
  "--kv",
  "q4_0"
 ],
 "cwd": "/home/dandandelion/AI/Inference/Strata",
 "tokenizer": "/home/dandandelion/AI/Inference/Strata-data/packs/iq3_s/tokenizer",
 "model_name": "qwen3.8-flash-next-iq3_s",
 "log": "/home/dandandelion/AI/Inference/Strata/strata-iq3_s.log",
 "lib_dirs": [
  "/usr/local/cuda-13.4/bin",
  "/usr/local/cuda-13.4/lib64"
 ],
 "port": 8080
}
Originally created by @dandandelion on GitHub (Sep 28, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/70 **First, my setup:** Core i9-12900hk RTX 3080 Ti (16GB) 64GB DDR5-4800 (~55GiB free after OS) Fedora Workstation (44) Trying to use GSQ-RCO IQ3_S @ Q4 kv cache @ 262144 (tho I saw it crash also on 32k and 128k) This keeps happening mid decode (sometimes it even crashes my GPU): ```console [strata] thinking: 3601 of max 131072 tokens, 35.0 tok/s, 104 s [strata] thinking: 3632 of max 131072 tokens, 34.9 tok/s, 105 s [strata] the engine reported an error: verify: layer 3 never rang (an illegal instruction was encountered) [strata] done: 3671 tokens in 106 s (35.0 tok/s) (error, cancel=False) ``` The log doesn't seem to provide much but here: ```console strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows) strata generate: native pack: /home/dandandelion/AI/Inference/Strata-data/packs/iq3_s experts (largest blob 2.66 MB), token embedding type 23 in mapped host memory (322 MiB) strata generate: 1466 MiB of weights loaded from /home/dandandelion/AI/Inference/Strata-data/packs/iq3_s (302 canonical tensors skipped: served natively) strata generate: 300 native projection matrices, 2018.88 MiB of weights strata generate: PLE on, table 320001536 rows of /home/dandandelion/AI/Inference/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (no hugetlb pool configured?); using 4 KB pages strata generate: loaded 46.84 GiB at 6.62 GiB/s strata mtp: draft layer loaded, 876 MiB of VRAM (experts 675, dense 111) strata generate: profile /home/dandandelion/AI/Inference/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots strata generate: experimental native Q5_K head, 521472000 bytes strata generate: expert cache auto: 9.36 GiB free, 700 MiB reserved -> 3497 slots strata generate: expert cache 4547 slots, 8.67 GiB of VRAM; policy is strata generate: the GPU computes the experts in the cache; it rounds differently from the CPU, so a reply can differ slightly from a run without the cache (same quality: bench/results/2026-09-27-cache-parity). PROFILE, ranked by routing frequency, no eviction. strata generate: pre-filled 4547 of 4547 slots from the profile; slot 0 verified strata generate: R4 hit path ON - resident experts are computed on the GPU strata generate: 13 expert-pool workers + the host thread strata generate: session is up (engine 0.1.18) strata generate: token graph hit path: 4547 resident experts, decided on the device strata serve: prompt chunk auto: 8192 tokens strata serve: the prompt path borrows 2341 cache slots (4.43 GiB) strata verify: window up to 6 tokens, 74.3 MiB of device buffers strata mtp: draft head over 40525 tokens (81.2 MiB) strata serve: 342 MiB of VRAM free with everything loaded strata verify: captured the 6-token window (upload no error, sync no error) strata verify: captured the 5-token window (upload no error, sync no error) strata verify: captured the 4-token window (upload no error, sync no error) strata verify: captured the 1-token window (upload no error, sync no error) strata verify: captured the 3-token window (upload no error, sync no error) strata verify: captured the 2-token window (upload no error, sync no error) strata serve: prompt 58 tokens = 0 reused + 58 read in 1605 ms (36.1 tok/s), 100 generated in 3300 ms (30.3 tok/s), drafts accepted 62 of 84, 1 checkpoints strata serve: prompt 133 tokens = 53 reused + 80 read in 1333 ms (60.0 tok/s), 9490 generated in 236955 ms (40.0 tok/s), drafts accepted 6122 of 7364, 2 checkpoints strata serve: suffix drafts: 193 windows, 475 of 552 drafts accepted strata serve: prompt 1757 tokens = 128 reused + 1629 read in 3779 ms (431.0 tok/s), 6128 generated in 149233 ms (41.1 tok/s), drafts accepted 4071 of 4642, 3 checkpoints strata serve: suffix drafts: 153 windows, 387 of 416 drafts accepted strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows) strata generate: native embedding: cannot pin 322 MiB strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows) strata generate: native embedding: cannot pin 322 MiB strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows) strata generate: native embedding: cannot pin 322 MiB strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows) strata generate: native pack: /home/dandandelion/AI/Inference/Strata-data/packs/iq3_s experts (largest blob 2.66 MB), token embedding type 23 in mapped host memory (322 MiB) strata generate: 1466 MiB of weights loaded from /home/dandandelion/AI/Inference/Strata-data/packs/iq3_s (302 canonical tensors skipped: served natively) strata generate: 300 native projection matrices, 2018.88 MiB of weights strata generate: PLE on, table 320001536 rows of /home/dandandelion/AI/Inference/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (no hugetlb pool configured?); using 4 KB pages strata generate: loaded 46.84 GiB at 6.59 GiB/s strata mtp: draft layer loaded, 890 MiB of VRAM (experts 675, dense 111) strata generate: profile /home/dandandelion/AI/Inference/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots strata generate: experimental native Q5_K head, 521472000 bytes strata generate: expert cache auto: 9.16 GiB free, 700 MiB reserved -> 3419 slots strata generate: expert cache 4443 slots, 8.48 GiB of VRAM; policy is strata generate: the GPU computes the experts in the cache; it rounds differently from the CPU, so a reply can differ slightly from a run without the cache (same quality: bench/results/2026-09-27-cache-parity). PROFILE, ranked by routing frequency, no eviction. strata generate: pre-filled 4443 of 4443 slots from the profile; slot 0 verified strata generate: R4 hit path ON - resident experts are computed on the GPU strata generate: 13 expert-pool workers + the host thread strata generate: session is up (engine 0.1.18) strata generate: token graph hit path: 4443 resident experts, decided on the device strata serve: prompt chunk auto: 8192 tokens strata serve: the prompt path borrows 2338 cache slots (4.43 GiB) strata verify: window up to 6 tokens, 74.7 MiB of device buffers strata mtp: draft head over 40525 tokens (81.2 MiB) strata serve: 344 MiB of VRAM free with everything loaded strata verify: captured the 6-token window (upload no error, sync no error) strata verify: captured the 2-token window (upload no error, sync no error) strata verify: captured the 4-token window (upload no error, sync no error) strata verify: captured the 1-token window (upload no error, sync no error) strata verify: captured the 3-token window (upload no error, sync no error) strata serve: prompt 55 tokens = 0 reused + 55 read in 1570 ms (35.0 tok/s), 29 generated in 1229 ms (23.6 tok/s), drafts accepted 18 of 29, 1 checkpoints strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows) strata generate: native pack: /home/dandandelion/AI/Inference/Strata-data/packs/iq3_s experts (largest blob 2.66 MB), token embedding type 23 in mapped host memory (322 MiB) strata generate: 1466 MiB of weights loaded from /home/dandandelion/AI/Inference/Strata-data/packs/iq3_s (302 canonical tensors skipped: served natively) strata generate: 300 native projection matrices, 2018.88 MiB of weights strata generate: PLE on, table 320001536 rows of /home/dandandelion/AI/Inference/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (no hugetlb pool configured?); using 4 KB pages strata generate: loaded 46.84 GiB at 6.28 GiB/s strata mtp: draft layer loaded, 978 MiB of VRAM (experts 675, dense 111) strata generate: profile /home/dandandelion/AI/Inference/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots strata generate: experimental native Q5_K head, 521472000 bytes strata generate: expert cache auto: 8.01 GiB free, 700 MiB reserved -> 2955 slots strata generate: expert cache 3836 slots, 7.33 GiB of VRAM; policy is strata generate: the GPU computes the experts in the cache; it rounds differently from the CPU, so a reply can differ slightly from a run without the cache (same quality: bench/results/2026-09-27-cache-parity). PROFILE, ranked by routing frequency, no eviction. strata generate: pre-filled 3836 of 3836 slots from the profile; slot 0 verified strata generate: R4 hit path ON - resident experts are computed on the GPU strata generate: 13 expert-pool workers + the host thread strata generate: session is up (engine 0.1.18) strata generate: token graph hit path: 3836 resident experts, decided on the device strata serve: prompt chunk auto: 8192 tokens strata serve: the prompt path borrows 2333 cache slots (4.43 GiB) strata verify: window up to 6 tokens, 75.4 MiB of device buffers strata mtp: draft head over 40525 tokens (81.2 MiB) strata serve: 342 MiB of VRAM free with everything loaded strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows) strata generate: native pack: /home/dandandelion/AI/Inference/Strata-data/packs/iq3_s experts (largest blob 2.66 MB), token embedding type 23 in mapped host memory (322 MiB) strata generate: 1466 MiB of weights loaded from /home/dandandelion/AI/Inference/Strata-data/packs/iq3_s (302 canonical tensors skipped: served natively) strata generate: 300 native projection matrices, 2018.88 MiB of weights strata generate: PLE on, table 320001536 rows of /home/dandandelion/AI/Inference/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (no hugetlb pool configured?); using 4 KB pages strata generate: loaded 46.84 GiB at 6.57 GiB/s strata mtp: draft layer loaded, 978 MiB of VRAM (experts 675, dense 111) strata generate: profile /home/dandandelion/AI/Inference/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots strata generate: experimental native Q5_K head, 521472000 bytes strata generate: expert cache auto: 8.01 GiB free, 700 MiB reserved -> 2955 slots strata generate: expert cache 3836 slots, 7.33 GiB of VRAM; policy is strata generate: the GPU computes the experts in the cache; it rounds differently from the CPU, so a reply can differ slightly from a run without the cache (same quality: bench/results/2026-09-27-cache-parity). PROFILE, ranked by routing frequency, no eviction. strata generate: pre-filled 3836 of 3836 slots from the profile; slot 0 verified strata generate: R4 hit path ON - resident experts are computed on the GPU strata generate: 13 expert-pool workers + the host thread strata generate: session is up (engine 0.1.18) strata generate: token graph hit path: 3836 resident experts, decided on the device strata serve: prompt chunk auto: 8192 tokens strata serve: the prompt path borrows 2333 cache slots (4.43 GiB) strata verify: window up to 6 tokens, 75.4 MiB of device buffers strata mtp: draft head over 40525 tokens (81.2 MiB) strata serve: 342 MiB of VRAM free with everything loaded strata verify: captured the 4-token window (upload no error, sync no error) strata verify: captured the 1-token window (upload no error, sync no error) strata verify: captured the 3-token window (upload no error, sync no error) strata verify: captured the 2-token window (upload no error, sync no error) strata verify: captured the 6-token window (upload no error, sync no error) strata verify: captured the 5-token window (upload no error, sync no error) strata serve: prompt 3187 tokens = 0 reused + 3187 read in 7023 ms (453.8 tok/s), 150 generated in 5099 ms (29.4 tok/s), drafts accepted 100 of 134, 1 checkpoints strata serve: suffix drafts: 3 windows, 9 of 12 drafts accepted ``` Also here's the model's json config: ```console { "exe": "/home/dandandelion/AI/Inference/Strata/engine/strata", "args": [ "--pack", "/home/dandandelion/AI/Inference/Strata-data/packs/iq3_s", "--native", "/home/dandandelion/AI/Inference/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf", "--ple-gguf", "/home/dandandelion/AI/Inference/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf", "--expert-profile", "/home/dandandelion/AI/Inference/Strata/data/expert-profile.bin", "--expert-cache", "auto", "--prefill", "auto", "--spec", "4", "--spec-min-p", "0.5", "--mtp", "/home/dandandelion/AI/Inference/Strata-data/mtp/rt", "--max-context", "262144", "--kv", "q4_0" ], "cwd": "/home/dandandelion/AI/Inference/Strata", "tokenizer": "/home/dandandelion/AI/Inference/Strata-data/packs/iq3_s/tokenizer", "model_name": "qwen3.8-flash-next-iq3_s", "log": "/home/dandandelion/AI/Inference/Strata/strata-iq3_s.log", "lib_dirs": [ "/usr/local/cuda-13.4/bin", "/usr/local/cuda-13.4/lib64" ], "port": 8080 } ```
Author
Owner

@Marshal-Douglas-3rd commented on GitHub (Sep 28, 2026):

There is no:
"--vram-reserve-mib",
"700"

There was such an option in my .json
But I had to increase it to "1200" to make those crashes stop.

<!-- gh-comment-id:5874630578 --> @Marshal-Douglas-3rd commented on GitHub (Sep 28, 2026): There is no: "--vram-reserve-mib", "700" There was such an option in my .json But I had to increase it to "1200" to make those crashes stop.
Author
Owner

@Niko1221 commented on GitHub (Sep 28, 2026):

Thanks for the detailed log! It says engine 0.1.18, and 0.1.19 (out today) fixes a sampler bug inside exactly this verify step: when a client sends repetition/presence/frequency penalties, the drafted rows read past their buffers, which can fault the GPU.

Could you update (git pull, then ./setup.sh, which compiles the new engine) and tell me whether it still crashes? If it does, please also say whether your client sends any penalties, and paste sudo dmesg | grep -i xid plus the nvidia-smi driver version. Raising --vram-reserve-mib to 1200 as suggested above is a fine stopgap meanwhile.

<!-- gh-comment-id:5875079921 --> @Niko1221 commented on GitHub (Sep 28, 2026): Thanks for the detailed log! It says engine 0.1.18, and [0.1.19](https://github.com/Niko1221/Strata/releases/tag/v0.1.19) (out today) fixes a sampler bug inside exactly this verify step: when a client sends repetition/presence/frequency penalties, the drafted rows read past their buffers, which can fault the GPU. Could you update (`git pull`, then `./setup.sh`, which compiles the new engine) and tell me whether it still crashes? If it does, please also say whether your client sends any penalties, and paste `sudo dmesg | grep -i xid` plus the `nvidia-smi` driver version. Raising `--vram-reserve-mib` to 1200 as suggested above is a fine stopgap meanwhile.
Author
Owner

@dandandelion commented on GitHub (Sep 29, 2026):

Thanks to both of you. The crash was fixed by adding --vram-reserve-mib 1200 and I updated to 0.1.19, re-setup (which removed the --vram-reserve-mib 1200 line), and it's not crashing at long generation anymore, in fact, it seems to be alot faster.

[strata] answering: 45932 of max 131001 tokens, 48.4 tok/s, 949 s
[strata] answering: 45963 of max 131001 tokens, 48.4 tok/s, 951 s
[strata] done: 45968 tokens in 951 s (48.4 tok/s) (stop, cancel=False), expert cache 73.2% hit

Prefill is around ~880 t/s at 46k which seems to be also faster.

I think this can be closed now. Thank you @Marshal-Douglas-3rd @Niko1221

<!-- gh-comment-id:5883919427 --> @dandandelion commented on GitHub (Sep 29, 2026): Thanks to both of you. The crash was fixed by adding `--vram-reserve-mib 1200` and I updated to 0.1.19, re-setup (which removed the `--vram-reserve-mib 1200` line), and it's not crashing at long generation anymore, in fact, it seems to be alot faster. ```console [strata] answering: 45932 of max 131001 tokens, 48.4 tok/s, 949 s [strata] answering: 45963 of max 131001 tokens, 48.4 tok/s, 951 s [strata] done: 45968 tokens in 951 s (48.4 tok/s) (stop, cancel=False), expert cache 73.2% hit ``` Prefill is around ~880 t/s at 46k which seems to be also faster. I think this can be closed now. Thank you @Marshal-Douglas-3rd @Niko1221
Author
Owner

@Niko1221 commented on GitHub (Sep 29, 2026):

Closing as fixed, as @dandandelion confirmed on 0.1.19 (a verify-window read past its buffer, fixed in 0.1.19). Thanks for the detailed logs! If it ever comes back, please reopen with dmesg | grep -i xid and the engine log.

<!-- gh-comment-id:5887676211 --> @Niko1221 commented on GitHub (Sep 29, 2026): Closing as fixed, as @dandandelion confirmed on 0.1.19 (a verify-window read past its buffer, fixed in 0.1.19). Thanks for the detailed logs! If it ever comes back, please reopen with `dmesg | grep -i xid` and the engine log.
Author
Owner

@ikirsh commented on GitHub (Oct 3, 2026):

I am getting similar crash errors with v0.1.38 (IQ3_S, on 4 x RTX 5060 Ti 16GB):

[strata] the engine reported an error: verify: layer 29 never rang (an illegal memory access was encountered)

<!-- gh-comment-id:5971943217 --> @ikirsh commented on GitHub (Oct 3, 2026): I am getting similar crash errors with v0.1.38 (IQ3_S, on 4 x RTX 5060 Ti 16GB): `[strata] the engine reported an error: verify: layer 29 never rang (an illegal memory access was encountered) `
Author
Owner

@dandandelion commented on GitHub (Oct 3, 2026):

Started happening again too at 0.1.23. But not as often as it was pre-0.1.19 versions but yeah it does happen especially at very long context + multi conversation where I am swapping chat UI and pi rapidly. This might need to be reopened

<!-- gh-comment-id:5972166013 --> @dandandelion commented on GitHub (Oct 3, 2026): Started happening again too at `0.1.23`. But not as often as it was `pre-0.1.19` versions but yeah it does happen especially at very long context + multi conversation where I am swapping chat UI and pi rapidly. This might need to be reopened
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#38
No description provided.