[GH-ISSUE #3691] [Engine] [Help] Not filling whole GPU #1530

Closed
opened 2026-11-04 01:52:00 +07:00 by bsakaguchi · 7 comments
Owner

Originally created by @ukrolelo on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3691

Why it's not using whole GPU VRAM only 29.3/47.5 , maybe i can fill it more so i could have faster inference?

Image
 "exe": "A:\\0_strata\\engine\\strata.exe",
 "args": [
  "--pack",
  "A:\\Strata-data\\packs\\unsloth-ud-q5_k_xl",
  "--native",
  "A:\\Strata-data\\models\\unsloth-UD-Q5_K_XL\\Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf",
  "--expert-profile",
  "A:\\0_strata\\data\\expert-profile.bin",
  "--expert-cache",
  "auto",
  "--prefill",
  "auto",
  "--spec",
  "4",
  "--mtp",
  "A:\\Strata-data\\mtp\\rt",
  "--max-context",
  "262144",
  "--kv",
  "int8",
  "--kv-resident",
  "65536",
  "--vision",
  "--vram-reserve-mib",
  "700",
  "--pcie-frac",
  "0.00",
  "--spec-min-p",
  "0.50",
  "--adapt-every",
  "1",
  "--adapt-swaps",
  "80",
  "--adapt-decay",
  "0.97","--batch-mtp"
 ],
 "cwd": "A:\\0_strata",
 "tokenizer": "A:\\Strata-data\\packs\\unsloth-ud-q5_k_xl\\tokenizer",
 "model_name": "qwen3.8-flash-next-unsloth-ud-q5_k_xl",
 "log": "A:\\0_strata\\strata-unsloth-ud-q5_k_xl.log",
 "lib_dirs": [
  "a:\\0_strata\\.venv\\Lib\\site-packages\\nvidia\\cu13\\bin\\x86_64"
 ],
 "port": 8080,
 "reasoning_budget_tokens": 8192,
 "max_tokens": 15000,
 "env": {
  "STRATA_MMQ_KQ": "1",
  "STRATA_HC_Q8": "1",
  "STRATA_ROUTE_TAIL_SKIP": "0"
 },
 "gpu": 2,
 "parallel": 2,
 "gpus_asked": true,
 "vision": {
  "exe": "A:\\0_strata\\engine\\strata-vision.exe",
  "mmproj": "A:\\Strata-data\\models\\mmproj-Qwen3.8-Flash-Next-BF16.gguf",
  "model": "A:\\Strata-data\\models\\unsloth-UD-Q5_K_XL\\Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf",
  "gpu": false,
  "max_tokens": 1024
 }
}
ggml_cuda_init: failed to initialize CUDA: no CUDA-capable device is detected
load_hparams: Qwen-VL models require at minimum 1024 image tokens to function correctly on grounding tasks
load_hparams: if you encounter problems with accuracy, try adding --image-min-tokens 1024
load_hparams: more info: https://github.com/ggml-org/llama.cpp/issues/16842

strata-vision: model files loaded in 1.4 s
strata-vision: on the CPU, 16 threads, no warm-up
[strata] 2026-10-22 07:49:48 engine started: A:\0_strata\engine\strata.exe --serve --pack A:\Strata-data\packs\unsloth-ud-q5_k_xl --native A:\Strata-data\models\unsloth-UD-Q5_K_XL\Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf --expert-profile A:\0_strata\data\expert-profile.bin --expert-cache auto --prefill auto --spec 4 --mtp A:\Strata-data\mtp\rt --max-context 262144 --kv int8 --kv-resident 65536 --vision --vram-reserve-mib 700 --pcie-frac 0.00 --spec-min-p 0.50 --adapt-every 1 --adapt-swaps 80 --adapt-decay 0.97 --batch-mtp --batch 2
strata generate: memory guard: limit 255.9 GiB (source: meminfo), current 79.7 GiB, reclaimable cache credited 0.0 GiB; available 176.1 GiB (MemAvailable 176.1 GiB), floor 2560 MiB
strata: K-quant prompt kernels from A:\0_strata\engine\strata_kq.dll (STRATA_MMQ_KQ=1)
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: A:\Strata-data\packs\unsloth-ud-q5_k_xl experts (largest blob 4.43 MB), token embedding Q8_0 in mapped host memory (644 MiB, 1.2 s)
strata generate: 216 MiB of weights loaded from A:\Strata-data\packs\unsloth-ud-q5_k_xl in 0.1 s (495 canonical tensors skipped: served natively)
strata: STRATA_HC_Q8=1: 0.63 GiB of Q8_0 hyper-connection projections for the verify read
strata generate: 499 native projection matrices, 3619.14 MiB of weights, in 9.7 s
strata generate: PLE direct read probe: 39136 rows/s (fine)
strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off)
strata generate: profile A:\0_strata\data\expert-profile.bin: 24576 ranked pairs, built for 24576 slots
strata generate: KV streaming: 65536 of 262144 cells per QSA layer in VRAM, the K/V in 3.09 GiB of pinned RAM
strata generate: PLE on, table 320001536 rows of A:\Strata-data\models\unsloth-UD-Q5_K_XL\Qwen3.8-Flash-Next-UD-Q5_K_XL-00003-of-00006.gguf
strata generate: --batch: 2 slot sessions on CUDA0 (1.34 GiB each); 38.26 GiB free
strata generate: --batch 2: the slot sessions take 2.67 GiB of VRAM on CUDA0 that the expert cache would otherwise hold
strata mtp: draft layer loaded, 835 MiB of VRAM (experts 675, dense 111), files read in 0.37 s (2125 MiB/s)
strata mtp: shared draft weights, 50 MiB of private state and buffers
strata mtp: shared draft weights, 50 MiB of private state and buffers
strata generate: --batch-mtp: 2 slot drafters on CUDA0 (50 MiB of private K/V state and buffers each, sharing the solo drafter's weights); 37.34 GiB free there
strata generate: experimental native Q5_K head, 675430400 bytes, in 0.3 s
strata generate: GPU 0: NVIDIA RTX PRO 5000 Blackwell, compute capability 12.0
strata: pinned-memory headroom: holding 800 MiB for the buffers allocated after the expert arena (released after it: 640 MiB; kept until needed: 160 MiB; STRATA_PIN_RESERVE_MIB changes it)
strata generate: expert arena read unbuffered (3 of 48 probe reads from the file cache; 92.6 GiB available, 96.1 GiB of files)
strata: pinned-memory headroom: 640 MiB handed back after the expert arena
strata generate: expert arena: locked 4 MiB via working-set minimum + VirtualLock; cudaHostRegister of the whole arena FAILED (out of memory); 48 slices pinned (91 GiB); large pages refused for 98375303168 B (GetLargePageMinimum=2097152, VirtualAlloc error 1314); using 4 KB pages
strata generate: loaded 91.61 GiB at 1.56 GiB/s
strata generate: CPU pool tasks/phase: 69 (automatic), participating threads: 23
strata generate: CPU pool: 22 workers by default (24 physical cores, 48 logical processors; bounded by physical cores, one kept free)
strata generate: 22 pool workers on logical processors 2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44, the host thread on 0 (draining too) (--host-core first)
strata aux cpus: not available on this system
strata generate: expert cache auto: 18.89 GiB free, 700 MiB reserved (+293 MiB for the draft head) -> 4344 slots
strata generate: expert cache 4806 slots, 17.91 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 4806 of 4806 slots from the profile in 0.7 s (26318 MB/s); slot 0 verified
strata generate: R4 hit path ON - resident experts are computed on the GPU
strata generate: 22 expert-pool workers + the host thread
strata generate: session is up (engine 0.1.46)
strata generate: token graph hit path: 4806 resident experts, decided on the device
strata serve: Windows commit: 44.0 GiB left of a 255.9 GiB limit (RAM + page file)
strata serve: prompt chunk auto: 8192 tokens, a 384-slot ring
strata serve: the prompt path borrows 1350 CUDA0 cache slots (5.04 GiB)
strata hc: CUDA0: the hyper-connection read runs as staged (the norm per token and stream, the down projection's activations staged ahead by cp.async); checked bit for bit against the plain read on this card (STRATA_HC_SPLIT=1 or 0 for the earlier ones)
strata verify: window up to 8 tokens, 114.5 MiB of device buffers
strata mtp: draft head over 106299 tokens (275.7 MiB)
strata verify: batch windows of up to 2 sequences (layers [0, 48))
strata serve: adaptive overlap: off (STRATA_ADAPT_OVERLAP=1 turns it on)
strata serve: 18453 MiB of VRAM free with everything loaded
Originally created by @ukrolelo on GitHub (Oct 22, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3691 Why it's not using whole GPU VRAM only 29.3/47.5 , maybe i can fill it more so i could have faster inference? <img width="610" height="426" alt="Image" src="https://github.com/user-attachments/assets/b2c59bdb-c919-4096-a160-1a9ac475ba29" /> ```{ "exe": "A:\\0_strata\\engine\\strata.exe", "args": [ "--pack", "A:\\Strata-data\\packs\\unsloth-ud-q5_k_xl", "--native", "A:\\Strata-data\\models\\unsloth-UD-Q5_K_XL\\Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf", "--expert-profile", "A:\\0_strata\\data\\expert-profile.bin", "--expert-cache", "auto", "--prefill", "auto", "--spec", "4", "--mtp", "A:\\Strata-data\\mtp\\rt", "--max-context", "262144", "--kv", "int8", "--kv-resident", "65536", "--vision", "--vram-reserve-mib", "700", "--pcie-frac", "0.00", "--spec-min-p", "0.50", "--adapt-every", "1", "--adapt-swaps", "80", "--adapt-decay", "0.97","--batch-mtp" ], "cwd": "A:\\0_strata", "tokenizer": "A:\\Strata-data\\packs\\unsloth-ud-q5_k_xl\\tokenizer", "model_name": "qwen3.8-flash-next-unsloth-ud-q5_k_xl", "log": "A:\\0_strata\\strata-unsloth-ud-q5_k_xl.log", "lib_dirs": [ "a:\\0_strata\\.venv\\Lib\\site-packages\\nvidia\\cu13\\bin\\x86_64" ], "port": 8080, "reasoning_budget_tokens": 8192, "max_tokens": 15000, "env": { "STRATA_MMQ_KQ": "1", "STRATA_HC_Q8": "1", "STRATA_ROUTE_TAIL_SKIP": "0" }, "gpu": 2, "parallel": 2, "gpus_asked": true, "vision": { "exe": "A:\\0_strata\\engine\\strata-vision.exe", "mmproj": "A:\\Strata-data\\models\\mmproj-Qwen3.8-Flash-Next-BF16.gguf", "model": "A:\\Strata-data\\models\\unsloth-UD-Q5_K_XL\\Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf", "gpu": false, "max_tokens": 1024 } } ``` ``` ggml_cuda_init: failed to initialize CUDA: no CUDA-capable device is detected load_hparams: Qwen-VL models require at minimum 1024 image tokens to function correctly on grounding tasks load_hparams: if you encounter problems with accuracy, try adding --image-min-tokens 1024 load_hparams: more info: https://github.com/ggml-org/llama.cpp/issues/16842 strata-vision: model files loaded in 1.4 s strata-vision: on the CPU, 16 threads, no warm-up [strata] 2026-10-22 07:49:48 engine started: A:\0_strata\engine\strata.exe --serve --pack A:\Strata-data\packs\unsloth-ud-q5_k_xl --native A:\Strata-data\models\unsloth-UD-Q5_K_XL\Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf --expert-profile A:\0_strata\data\expert-profile.bin --expert-cache auto --prefill auto --spec 4 --mtp A:\Strata-data\mtp\rt --max-context 262144 --kv int8 --kv-resident 65536 --vision --vram-reserve-mib 700 --pcie-frac 0.00 --spec-min-p 0.50 --adapt-every 1 --adapt-swaps 80 --adapt-decay 0.97 --batch-mtp --batch 2 strata generate: memory guard: limit 255.9 GiB (source: meminfo), current 79.7 GiB, reclaimable cache credited 0.0 GiB; available 176.1 GiB (MemAvailable 176.1 GiB), floor 2560 MiB strata: K-quant prompt kernels from A:\0_strata\engine\strata_kq.dll (STRATA_MMQ_KQ=1) 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: A:\Strata-data\packs\unsloth-ud-q5_k_xl experts (largest blob 4.43 MB), token embedding Q8_0 in mapped host memory (644 MiB, 1.2 s) strata generate: 216 MiB of weights loaded from A:\Strata-data\packs\unsloth-ud-q5_k_xl in 0.1 s (495 canonical tensors skipped: served natively) strata: STRATA_HC_Q8=1: 0.63 GiB of Q8_0 hyper-connection projections for the verify read strata generate: 499 native projection matrices, 3619.14 MiB of weights, in 9.7 s strata generate: PLE direct read probe: 39136 rows/s (fine) strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off) strata generate: profile A:\0_strata\data\expert-profile.bin: 24576 ranked pairs, built for 24576 slots strata generate: KV streaming: 65536 of 262144 cells per QSA layer in VRAM, the K/V in 3.09 GiB of pinned RAM strata generate: PLE on, table 320001536 rows of A:\Strata-data\models\unsloth-UD-Q5_K_XL\Qwen3.8-Flash-Next-UD-Q5_K_XL-00003-of-00006.gguf strata generate: --batch: 2 slot sessions on CUDA0 (1.34 GiB each); 38.26 GiB free strata generate: --batch 2: the slot sessions take 2.67 GiB of VRAM on CUDA0 that the expert cache would otherwise hold strata mtp: draft layer loaded, 835 MiB of VRAM (experts 675, dense 111), files read in 0.37 s (2125 MiB/s) strata mtp: shared draft weights, 50 MiB of private state and buffers strata mtp: shared draft weights, 50 MiB of private state and buffers strata generate: --batch-mtp: 2 slot drafters on CUDA0 (50 MiB of private K/V state and buffers each, sharing the solo drafter's weights); 37.34 GiB free there strata generate: experimental native Q5_K head, 675430400 bytes, in 0.3 s strata generate: GPU 0: NVIDIA RTX PRO 5000 Blackwell, compute capability 12.0 strata: pinned-memory headroom: holding 800 MiB for the buffers allocated after the expert arena (released after it: 640 MiB; kept until needed: 160 MiB; STRATA_PIN_RESERVE_MIB changes it) strata generate: expert arena read unbuffered (3 of 48 probe reads from the file cache; 92.6 GiB available, 96.1 GiB of files) strata: pinned-memory headroom: 640 MiB handed back after the expert arena strata generate: expert arena: locked 4 MiB via working-set minimum + VirtualLock; cudaHostRegister of the whole arena FAILED (out of memory); 48 slices pinned (91 GiB); large pages refused for 98375303168 B (GetLargePageMinimum=2097152, VirtualAlloc error 1314); using 4 KB pages strata generate: loaded 91.61 GiB at 1.56 GiB/s strata generate: CPU pool tasks/phase: 69 (automatic), participating threads: 23 strata generate: CPU pool: 22 workers by default (24 physical cores, 48 logical processors; bounded by physical cores, one kept free) strata generate: 22 pool workers on logical processors 2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44, the host thread on 0 (draining too) (--host-core first) strata aux cpus: not available on this system strata generate: expert cache auto: 18.89 GiB free, 700 MiB reserved (+293 MiB for the draft head) -> 4344 slots strata generate: expert cache 4806 slots, 17.91 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 4806 of 4806 slots from the profile in 0.7 s (26318 MB/s); slot 0 verified strata generate: R4 hit path ON - resident experts are computed on the GPU strata generate: 22 expert-pool workers + the host thread strata generate: session is up (engine 0.1.46) strata generate: token graph hit path: 4806 resident experts, decided on the device strata serve: Windows commit: 44.0 GiB left of a 255.9 GiB limit (RAM + page file) strata serve: prompt chunk auto: 8192 tokens, a 384-slot ring strata serve: the prompt path borrows 1350 CUDA0 cache slots (5.04 GiB) strata hc: CUDA0: the hyper-connection read runs as staged (the norm per token and stream, the down projection's activations staged ahead by cp.async); checked bit for bit against the plain read on this card (STRATA_HC_SPLIT=1 or 0 for the earlier ones) strata verify: window up to 8 tokens, 114.5 MiB of device buffers strata mtp: draft head over 106299 tokens (275.7 MiB) strata verify: batch windows of up to 2 sequences (layers [0, 48)) strata serve: adaptive overlap: off (STRATA_ADAPT_OVERLAP=1 turns it on) strata serve: 18453 MiB of VRAM free with everything loaded ```
Author
Owner

@ukrolelo commented on GitHub (Oct 22, 2026):

forgot to paste bat file:

set STRATA_BF16_TC=0
set STRATA_SELECT_SIMT=0
set STRATA_SLOT_COPY_DIRECT=1
set STRATA_SLOT_COPY_BATCHSYNC=1
set STRATA_ADMIT_MERGE_FIRST=1
set STRATA_ROUTE_TAIL_SKIP=0
set STRATA_HC_Q8=1
<!-- gh-comment-id:6334492256 --> @ukrolelo commented on GitHub (Oct 22, 2026): forgot to paste bat file: ``` set STRATA_BF16_TC=0 set STRATA_SELECT_SIMT=0 set STRATA_SLOT_COPY_DIRECT=1 set STRATA_SLOT_COPY_BATCHSYNC=1 set STRATA_ADMIT_MERGE_FIRST=1 set STRATA_ROUTE_TAIL_SKIP=0 set STRATA_HC_Q8=1 ```
Author
Owner

@ukrolelo commented on GitHub (Oct 22, 2026):

If using other models like q4_k_xl, nvfp4, q1 coder it is filling full GPU

<!-- gh-comment-id:6334674899 --> @ukrolelo commented on GitHub (Oct 22, 2026): If using other models like q4_k_xl, nvfp4, q1 coder it is filling full GPU
Author
Owner

@ukrolelo commented on GitHub (Oct 23, 2026):

Still same problem with strata-engine-0.1.48 + Q5 unsloth

<!-- gh-comment-id:6364727770 --> @ukrolelo commented on GitHub (Oct 23, 2026): Still same problem with strata-engine-0.1.48 + Q5 unsloth
Author
Owner

@XTTGO commented on GitHub (Oct 24, 2026):

Reproduced locally on another Windows system with Strata engine 0.1.48. This may be related to the underfilled VRAM in this issue. I am adding a controlled Q8 comparison rather than opening a duplicate issue.

Environment: Strata 0.2.3, CUDA engine 0.1.48 (BUILD.json commit 6f8800aefe, CUDA 13.0); Windows 11 25H2 build 26200.9711; Threadripper 3960X; engine memory guard limit 255.9 GiB; NVIDIA driver 610.88; two RTX 3090 24 GiB cards. Only GPU 1 was enabled for the model; GPU 0 was off. GPU 1 started at 13 MiB used. Model: Qwen3.8-Flash-Next Unsloth Q8_0 native pack, expert-cache auto, vram-reserve-mib 3072, pcie-frac 0.00, KV int8 with 32768 resident cells, spec 4.

Reproduce: Start a fresh server with the Q8 config and no STRATA_ARENA_PIN_GIB in the config or parent environment: python serve/server.py --engine strata --config Q8-config.json --host 127.0.0.1 --port 18081. Wait until /health reports loaded=true; read GPU memory with nvidia-smi --query-gpu=index,pci.bus_id,memory.used --format=csv,noheader,nounits. Stop that process. Repeat with the only Q8 config difference env.STRATA_ARENA_PIN_GIB=60. In each run, one local /v1/chat/completions request (Reply only OK.; max_tokens 16) completed.

Expected: Comparable use of available device memory by expert-cache auto, or a clear reason for a reduced cache budget on the uncapped pinning path.

Actual (GPU 1 after load):

Q8 setting VRAM used Expert cache Arena registration
No pin cap 13,149 MiB 709 slots, 3.45 GiB Whole cudaHostRegister failed; 48 slices pinned (119 GiB)
STRATA_ARENA_PIN_GIB=60 21,243 MiB 2,334 slots, 11.35 GiB 24 slices pinned (59 GiB)

Both runs loaded and served the short request. That is 8,094 MiB more GPU use and 7.90 GiB more expert cache with the 60 GiB cap. I verified the two Q8 config snapshots differ only by the cap after excluding temporary port and log locations. A separate uncapped IQ3_S run used 20,377 MiB and had an 11.55 GiB cache, but it is not a controlled comparison because the model and several settings differ.

Relevant sanitized engine lines, uncapped Q8:

strata generate: expert arena: large pages are resident without a lock; cudaHostRegister of the whole arena FAILED (out of memory); 48 slices pinned (119 GiB); large pages (2097152 B)
strata generate: expert cache auto: 6.72 GiB free, 3072 MiB reserved (+281 MiB for the draft head) -> 709 slots
strata generate: expert cache 709 slots, 3.45 GiB of VRAM

Same Q8 with the 60 GiB cap:

strata generate: expert arena: large pages are resident without a lock; cudaHostRegister limited to 60 GiB by the engine (multi-GPU under WDDM, or remote experts); 24 slices pinned (59 GiB); large pages (2097152 B)
strata generate: expert cache auto: 15.45 GiB free, 3072 MiB reserved (+281 MiB for the draft head) -> 2502 slots
strata generate: expert cache 2334 slots, 11.35 GiB of VRAM

Reproduction status: Reproduced locally, one fresh process per Q8 setting. I did not measure this machine's DXGI NON_LOCAL budget, repeat runs for variability, or benchmark sustained throughput. I cannot identify which Windows or driver budget caused the registration failure. The observation resembles the budget analysis in #1846, which was on another machine. Is this fallback and cache sizing expected in 0.1.48 when two cards are installed but only one is enabled? If so, could the cap be documented as a workaround or surfaced as a warning?

Prepared with AI assistance from actual local runs. The numbers and log lines above were checked against saved outputs; no private paths or credentials are included.

<!-- gh-comment-id:6382091316 --> @XTTGO commented on GitHub (Oct 24, 2026): Reproduced locally on another Windows system with Strata engine 0.1.48. This may be related to the underfilled VRAM in this issue. I am adding a controlled Q8 comparison rather than opening a duplicate issue. **Environment:** Strata 0.2.3, CUDA engine 0.1.48 (BUILD.json commit 6f8800aefe27, CUDA 13.0); Windows 11 25H2 build 26200.9711; Threadripper 3960X; engine memory guard limit 255.9 GiB; NVIDIA driver 610.88; two RTX 3090 24 GiB cards. Only GPU 1 was enabled for the model; GPU 0 was off. GPU 1 started at 13 MiB used. Model: Qwen3.8-Flash-Next Unsloth Q8_0 native pack, expert-cache auto, vram-reserve-mib 3072, pcie-frac 0.00, KV int8 with 32768 resident cells, spec 4. **Reproduce:** Start a fresh server with the Q8 config and no STRATA_ARENA_PIN_GIB in the config or parent environment: python serve/server.py --engine strata --config Q8-config.json --host 127.0.0.1 --port 18081. Wait until /health reports loaded=true; read GPU memory with nvidia-smi --query-gpu=index,pci.bus_id,memory.used --format=csv,noheader,nounits. Stop that process. Repeat with the only Q8 config difference env.STRATA_ARENA_PIN_GIB=60. In each run, one local /v1/chat/completions request (Reply only OK.; max_tokens 16) completed. **Expected:** Comparable use of available device memory by expert-cache auto, or a clear reason for a reduced cache budget on the uncapped pinning path. **Actual (GPU 1 after load):** | Q8 setting | VRAM used | Expert cache | Arena registration | | --- | ---: | ---: | --- | | No pin cap | 13,149 MiB | 709 slots, 3.45 GiB | Whole cudaHostRegister failed; 48 slices pinned (119 GiB) | | STRATA_ARENA_PIN_GIB=60 | 21,243 MiB | 2,334 slots, 11.35 GiB | 24 slices pinned (59 GiB) | Both runs loaded and served the short request. That is 8,094 MiB more GPU use and 7.90 GiB more expert cache with the 60 GiB cap. I verified the two Q8 config snapshots differ only by the cap after excluding temporary port and log locations. A separate uncapped IQ3_S run used 20,377 MiB and had an 11.55 GiB cache, but it is not a controlled comparison because the model and several settings differ. **Relevant sanitized engine lines, uncapped Q8:** ~~~text strata generate: expert arena: large pages are resident without a lock; cudaHostRegister of the whole arena FAILED (out of memory); 48 slices pinned (119 GiB); large pages (2097152 B) strata generate: expert cache auto: 6.72 GiB free, 3072 MiB reserved (+281 MiB for the draft head) -> 709 slots strata generate: expert cache 709 slots, 3.45 GiB of VRAM ~~~ **Same Q8 with the 60 GiB cap:** ~~~text strata generate: expert arena: large pages are resident without a lock; cudaHostRegister limited to 60 GiB by the engine (multi-GPU under WDDM, or remote experts); 24 slices pinned (59 GiB); large pages (2097152 B) strata generate: expert cache auto: 15.45 GiB free, 3072 MiB reserved (+281 MiB for the draft head) -> 2502 slots strata generate: expert cache 2334 slots, 11.35 GiB of VRAM ~~~ **Reproduction status:** Reproduced locally, one fresh process per Q8 setting. I did not measure this machine's DXGI NON_LOCAL budget, repeat runs for variability, or benchmark sustained throughput. I cannot identify which Windows or driver budget caused the registration failure. The observation resembles the budget analysis in #1846, which was on another machine. Is this fallback and cache sizing expected in 0.1.48 when two cards are installed but only one is enabled? If so, could the cap be documented as a workaround or surfaced as a warning? Prepared with AI assistance from actual local runs. The numbers and log lines above were checked against saved outputs; no private paths or credentials are included.
Author
Owner

@ukrolelo commented on GitHub (Oct 24, 2026):

STRATA_ARENA_PIN_GIB=60 allow to fill full 48 GB VRAM.
Never the less it's now using ssd rather than RAM that i have a enough. need to disable ssd somehow.
When i set set STRATA_ARENA_PIN_GIB=100
VRAM is only 27.9 GB from 48 available

<!-- gh-comment-id:6388318782 --> @ukrolelo commented on GitHub (Oct 24, 2026): STRATA_ARENA_PIN_GIB=60 allow to fill full 48 GB VRAM. Never the less it's now using ssd rather than RAM that i have a enough. need to disable ssd somehow. When i set set STRATA_ARENA_PIN_GIB=100 VRAM is only 27.9 GB from 48 available
Author
Owner

@ukrolelo commented on GitHub (Oct 24, 2026):

Okay now it works perfectly, i don't know what helped. giving here bat and json. using 47/48 GB VRAM, no ssd streaming, pp +-2000 tg +- 80

@echo off
set STRATA_ARENA_PIN_GIB=none

title Strata unsloth-UD-Q5_K_XL

cd /d "A:\0_strata"

"a:\0_strata\.venv\Scripts\python.exe" "A:\0_strata\serve\server.py" "--engine" "strata" "--config" "A:\0_strata\strata-unsloth-ud-q5_k_xl.json" "--host" "0.0.0.0" "--port" "8082" "--api-key" "sk-my-super-secret-master-key"

if errorlevel 1 pause
{
 "exe": "A:\\0_strata\\engine\\strata.exe",
 "args": [
  "--pack",
  "A:\\Strata-data\\packs\\unsloth-ud-q5_k_xl",
  "--native",
  "A:\\Strata-data\\models\\unsloth-UD-Q5_K_XL\\Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf",
  "--expert-profile",
  "A:\\0_strata\\data\\expert-profile.bin",
  "--expert-cache",
  "auto",
  "--prefill",
  "auto",
  "--spec",
  "4",
  "--mtp",
  "A:\\Strata-data\\mtp\\rt",
  "--max-context",
  "300000",
  "--kv",
  "int8",
  "--kv-resident",
  "65536",
  "--vision",
  "--vram-reserve-mib",
  "700",
  "--pcie-frac",
  "0.00",
  "--spec-min-p",
  "0.50",
  "--adapt-every",
  "1",
  "--adapt-swaps",
  "80",
  "--adapt-decay",
  "0.97","--batch-mtp"
 ],
 "cwd": "A:\\0_strata",
 "tokenizer": "A:\\Strata-data\\packs\\unsloth-ud-q5_k_xl\\tokenizer",
 "model_name": "qwen3.8-flash-next-unsloth-ud-q5_k_xl",
 "log": "A:\\0_strata\\strata-unsloth-ud-q5_k_xl.log",
 "lib_dirs": [
  "a:\\0_strata\\.venv\\Lib\\site-packages\\nvidia\\cu13\\bin\\x86_64"
 ],
 "port": 8080,
 "reasoning_budget_tokens": 8192,
 "max_tokens": 15000,
 "env": {
   "STRATA_MMQ_KQ": "1",
   "STRATA_HC_Q8": "1",
   "STRATA_ROUTE_TAIL_SKIP": "0"
 },
 "gpu": 2,
 "parallel": 2,
 "gpus_asked": true,
 "vision": {
  "exe": "A:\\0_strata\\engine\\strata-vision.exe",
  "mmproj": "A:\\Strata-data\\models\\mmproj-Qwen3.8-Flash-Next-BF16.gguf",
  "model": "A:\\Strata-data\\models\\unsloth-UD-Q5_K_XL\\Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf",
  "gpu": false,
  "max_tokens": 1024
 }
}

Logs:

ggml_cuda_init: failed to initialize CUDA: no CUDA-capable device is detected
load_hparams: Qwen-VL models require at minimum 1024 image tokens to function correctly on grounding tasks
load_hparams: if you encounter problems with accuracy, try adding --image-min-tokens 1024
load_hparams: more info: https://github.com/ggml-org/llama.cpp/issues/16842

strata-vision: model files loaded in 1.5 s
strata-vision: on the CPU, 16 threads, no warm-up
[strata] 2026-10-24 21:32:20 engine started: A:\0_strata\engine\strata.exe --serve --pack A:\Strata-data\packs\unsloth-ud-q5_k_xl --native A:\Strata-data\models\unsloth-UD-Q5_K_XL\Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf --expert-profile A:\0_strata\data\expert-profile.bin --expert-cache auto --prefill auto --spec 4 --mtp A:\Strata-data\mtp\rt --max-context 300000 --kv int8 --kv-resident 65536 --vision --vram-reserve-mib 700 --pcie-frac 0.00 --spec-min-p 0.50 --adapt-every 1 --adapt-swaps 80 --adapt-decay 0.97 --batch-mtp --batch 2
strata generate: memory guard: limit 255.9 GiB (source: meminfo), current 73.2 GiB, reclaimable cache credited 0.0 GiB; available 182.7 GiB (MemAvailable 182.7 GiB), floor 2560 MiB
strata: K-quant prompt kernels from A:\0_strata\engine\strata_kq.dll (STRATA_MMQ_KQ=1)
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: A:\Strata-data\packs\unsloth-ud-q5_k_xl experts (largest blob 4.43 MB), token embedding Q8_0 in mapped host memory (644 MiB, 1.2 s)
strata generate: 216 MiB of weights loaded from A:\Strata-data\packs\unsloth-ud-q5_k_xl in 0.1 s (495 canonical tensors skipped: served natively)
strata: STRATA_HC_Q8=1: 0.63 GiB of Q8_0 hyper-connection projections for the verify read
strata generate: 499 native projection matrices, 3619.14 MiB of weights, in 9.7 s
strata generate: PLE direct read probe: 39138 rows/s (fine)
strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off)
strata generate: profile A:\0_strata\data\expert-profile.bin: 24576 ranked pairs, built for 24576 slots
strata generate: KV streaming: 65536 of 300000 cells per QSA layer in VRAM, the K/V in 3.54 GiB of pinned RAM
strata generate: PLE on, table 320001536 rows of A:\Strata-data\models\unsloth-UD-Q5_K_XL\Qwen3.8-Flash-Next-UD-Q5_K_XL-00003-of-00006.gguf
strata generate: --batch: 2 slot sessions on CUDA0 (1.40 GiB each); 38.06 GiB free
strata generate: --batch 2: the slot sessions take 2.80 GiB of VRAM on CUDA0 that the expert cache would otherwise hold
strata mtp: draft layer loaded, 835 MiB of VRAM (experts 675, dense 111), files read in 0.37 s (2128 MiB/s)
strata mtp: shared draft weights, 50 MiB of private state and buffers
strata mtp: shared draft weights, 50 MiB of private state and buffers
strata generate: --batch-mtp: 2 slot drafters on CUDA0 (50 MiB of private K/V state and buffers each, sharing the solo drafter's weights); 37.14 GiB free there
strata generate: experimental native Q5_K head, 675430400 bytes, in 0.3 s
strata generate: GPU 0: NVIDIA RTX PRO 5000 Blackwell, compute capability 12.0
strata: pinned-memory headroom: holding 800 MiB for the buffers allocated after the expert arena (released after it: 640 MiB; kept until needed: 160 MiB; STRATA_PIN_RESERVE_MIB changes it)
strata generate: expert arena read unbuffered (1 of 48 probe reads from the file cache; 86.2 GiB available, 96.1 GiB of files)
strata: pinned-memory headroom: 640 MiB handed back after the expert arena
strata generate: expert arena: NOT registered with the GPU driver (integrated GPU, UMA mode; STRATA_ARENA_PIN_GIB=0 registers it); locked 93816 MiB via working-set minimum + VirtualLock; large pages refused for 98375303168 B (GetLargePageMinimum=2097152, VirtualAlloc error 1314); using 4 KB pages
strata generate: loaded 91.61 GiB at 1.46 GiB/s
strata generate: CPU pool tasks/phase: 69 (automatic), participating threads: 23
strata generate: CPU pool: 22 workers by default (24 physical cores, 48 logical processors; bounded by physical cores, one kept free)
strata generate: 22 pool workers on logical processors 2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44, the host thread on 0 (draining too) (--host-core first)
strata generate: CPU workers on logical processors 2,4,...,44 (22 workers, one per physical core; host on 0)
strata aux cpus: not available on this system
strata generate: expert cache auto: 36.51 GiB free, 700 MiB reserved (+293 MiB for the draft head) -> 8616 slots
strata generate: expert cache 9528 slots, 35.53 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 9528 of 9528 slots from the profile in 3.2 s (12054 MB/s); slot 0 verified
strata generate: R4 hit path ON - resident experts are computed on the GPU
strata generate: 22 expert-pool workers + the host thread
strata generate: session is up (engine 0.1.48)
strata generate: token graph hit path: 9528 resident experts, decided on the device
strata serve: Windows commit: 32.2 GiB left of a 271.9 GiB limit (RAM + page file)
strata serve: prompt chunk auto: 8192 tokens, a 96-slot ring
strata serve: the prompt path borrows 1041 CUDA0 cache slots (3.88 GiB)
strata hc: CUDA0: the hyper-connection read runs as staged (the norm per token and stream, the down projection's activations staged ahead by cp.async); checked bit for bit against the plain read on this card (STRATA_HC_SPLIT=1 or 0 for the earlier ones)
strata verify: window up to 8 tokens, 114.8 MiB of device buffers
strata mtp: draft head over 106299 tokens (275.7 MiB)
strata verify: batch windows of up to 2 sequences (layers [0, 48))
strata serve: conversation cache sized from the free RAM: 8192 MiB for up to 4 parked conversations, so an agent's next turn reuses its prompt (--conversation-cache-mib N sets it, 0 turns it off)
strata serve: adaptive overlap: off (STRATA_ADAPT_OVERLAP=1 turns it on)
strata serve: 367 MiB of VRAM free with everything loaded
strata serve: that is little room for the verify windows' buffers under WDDM; if the engine exits right after this line, --prefill auto:8192 (a smaller prompt chunk borrows fewer cache slots) or a larger --vram-reserve-mib leaves more
strata serve: WARNING: only 367 MiB of VRAM free at the start of this request (below 1024 MiB): when the card is this full the driver can page GPU memory to system RAM, decode falls to a few tok/s and a window may never finish (#2065). Add --vram-reserve-mib 1408 to the config's args, or lower --max-context / --batch
strata verify: capturing the 4-token window (295 MiB of VRAM free)
strata verify: captured the 4-token window (upload no error, sync no error)
strata verify: capturing the 1-token window (291 MiB of VRAM free)
strata verify: captured the 1-token window (upload no error, sync no error)
strata verify: capturing the 2-token window (281 MiB of VRAM free)
strata verify: captured the 2-token window (upload no error, sync no error)
strata verify: capturing the 3-token window (277 MiB of VRAM free)
strata verify: captured the 3-token window (upload no error, sync no error)
strata verify: capturing the 5-token window (271 MiB of VRAM free)
strata verify: captured the 5-token window (upload no error, sync no error)
strata verify: capturing the 6-token window (265 MiB of VRAM free)
strata verify: captured the 6-token window (upload no error, sync no error)
strata serve: prompt 54372 tokens = 0 reused + 54372 read in 29501 ms (1843.1 tok/s), 5846 generated in 71595 ms (81.7 tok/s), drafts accepted 3255 of 5384, 4 checkpoints
strata serve: decode expert cache hit rate: 92.1% (3528618 hits / 3829440 lookups)
strata serve: KV streaming: 99.68% of 49185264 block reads hit VRAM, 635.0 MiB read from RAM
strata serve: suffix drafts: 320 windows, 632 of 806 drafts accepted
strata serve: conversation cache: parked 60220 tokens in 339.1 ms; parked=1 bytes=1510304844 evictions=0 snapshot_bytes=1510304844 reused_kv_bytes=0
strata serve: prompt 60297 tokens = 54367 reused + 5930 read in 3639 ms (1629.5 tok/s), 2315 generated in 24114 ms (96.0 tok/s), drafts accepted 1896 of 1952, 5 checkpoints
strata serve: decode expert cache hit rate: 84.7% (965347 hits / 1140000 lookups)
strata serve: KV streaming: 99.74% of 63844668 block reads hit VRAM, 676.5 MiB read from RAM
strata serve: suffix drafts: 377 windows, 1846 of 1851 drafts accepted
strata serve: prompt 62720 tokens = 62615 reused + 105 read in 1217 ms (86.3 tok/s), 3579 generated in 40715 ms (87.9 tok/s), drafts accepted 2594 of 3107, 6 checkpoints
strata serve: decode expert cache hit rate: 87.3% (1716797 hits / 1966080 lookups)
strata serve: KV streaming: 99.80% of 89108772 block reads hit VRAM, 734.6 MiB read from RAM
strata serve: suffix drafts: 480 windows, 1967 of 2033 drafts accepted
strata serve: prompt 66635 tokens = 66302 reused + 333 read in 1752 ms (190.1 tok/s), 1718 generated in 21056 ms (81.6 tok/s), drafts accepted 853 of 1696, 6 checkpoints
strata serve: decode expert cache hit rate: 93.4% (1147559 hits / 1229280 lookups)
strata serve: KV streaming: 99.82% of 104914212 block reads hit VRAM, 776.2 MiB read from RAM
strata serve: suffix drafts: 64 windows, 102 of 172 drafts accepted
strata serve: prompt 68797 tokens = 68352 reused + 445 read in 1633 ms (272.4 tok/s), 976 generated in 11691 ms (83.5 tok/s), drafts accepted 555 of 975, 6 checkpoints
strata serve: decode expert cache hit rate: 92.9% (622723 hits / 670080 lookups)
strata serve: KV streaming: 99.82% of 113541060 block reads hit VRAM, 805.8 MiB read from RAM
strata serve: suffix drafts: 32 windows, 48 of 64 drafts accepted
strata serve: conversation cache: parked 69772 tokens in 425.7 ms; parked=2 bytes=3403355796 evictions=0 snapshot_bytes=1893050952 reused_kv_bytes=0
strata serve: conversation cache: borrowed 23681 tokens from a parked conversation, which stays parked, in 129.2 ms; parked=2 bytes=3403355796 borrowed=1
strata serve: prompt 185570 tokens = 23681 reused + 161889 read in 78669 ms (2057.8 tok/s), 1572 generated in 21211 ms (74.1 tok/s), drafts accepted 906 of 1462, 6 checkpoints
strata serve: decode expert cache hit rate: 90.6% (925672 hits / 1021920 lookups)
strata serve: KV streaming: 96.73% of 13143552 block reads hit VRAM, 1732.1 MiB read from RAM
strata serve: suffix drafts: 145 windows, 313 of 387 drafts accepted
strata serve: prompt 187837 tokens = 187142 reused + 695 read in 2374 ms (292.7 tok/s), 619 generated in 11464 ms (54.0 tok/s), drafts accepted 356 of 604, 6 checkpoints
strata serve: decode expert cache hit rate: 84.7% (352841 hits / 416640 lookups)
strata serve: KV streaming: 96.67% of 18516864 block reads hit VRAM, 2483.1 MiB read from RAM
strata serve: suffix drafts: 55 windows, 129 of 157 drafts accepted
strata serve: prompt 189092 tokens = 188456 reused + 636 read in 2038 ms (312.1 tok/s), 992 generated in 13957 ms (71.1 tok/s), drafts accepted 578 of 925, 6 checkpoints
strata serve: decode expert cache hit rate: 89.9% (577922 hits / 642720 lookups)
strata serve: KV streaming: 97.06% of 26792388 block reads hit VRAM, 3168.4 MiB read from RAM
strata serve: suffix drafts: 41 windows, 77 of 104 drafts accepted
<!-- gh-comment-id:6388701002 --> @ukrolelo commented on GitHub (Oct 24, 2026): Okay now it works perfectly, i don't know what helped. giving here bat and json. using 47/48 GB VRAM, no ssd streaming, pp +-2000 tg +- 80 ``` @echo off set STRATA_ARENA_PIN_GIB=none title Strata unsloth-UD-Q5_K_XL cd /d "A:\0_strata" "a:\0_strata\.venv\Scripts\python.exe" "A:\0_strata\serve\server.py" "--engine" "strata" "--config" "A:\0_strata\strata-unsloth-ud-q5_k_xl.json" "--host" "0.0.0.0" "--port" "8082" "--api-key" "sk-my-super-secret-master-key" if errorlevel 1 pause ``` ``` { "exe": "A:\\0_strata\\engine\\strata.exe", "args": [ "--pack", "A:\\Strata-data\\packs\\unsloth-ud-q5_k_xl", "--native", "A:\\Strata-data\\models\\unsloth-UD-Q5_K_XL\\Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf", "--expert-profile", "A:\\0_strata\\data\\expert-profile.bin", "--expert-cache", "auto", "--prefill", "auto", "--spec", "4", "--mtp", "A:\\Strata-data\\mtp\\rt", "--max-context", "300000", "--kv", "int8", "--kv-resident", "65536", "--vision", "--vram-reserve-mib", "700", "--pcie-frac", "0.00", "--spec-min-p", "0.50", "--adapt-every", "1", "--adapt-swaps", "80", "--adapt-decay", "0.97","--batch-mtp" ], "cwd": "A:\\0_strata", "tokenizer": "A:\\Strata-data\\packs\\unsloth-ud-q5_k_xl\\tokenizer", "model_name": "qwen3.8-flash-next-unsloth-ud-q5_k_xl", "log": "A:\\0_strata\\strata-unsloth-ud-q5_k_xl.log", "lib_dirs": [ "a:\\0_strata\\.venv\\Lib\\site-packages\\nvidia\\cu13\\bin\\x86_64" ], "port": 8080, "reasoning_budget_tokens": 8192, "max_tokens": 15000, "env": { "STRATA_MMQ_KQ": "1", "STRATA_HC_Q8": "1", "STRATA_ROUTE_TAIL_SKIP": "0" }, "gpu": 2, "parallel": 2, "gpus_asked": true, "vision": { "exe": "A:\\0_strata\\engine\\strata-vision.exe", "mmproj": "A:\\Strata-data\\models\\mmproj-Qwen3.8-Flash-Next-BF16.gguf", "model": "A:\\Strata-data\\models\\unsloth-UD-Q5_K_XL\\Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf", "gpu": false, "max_tokens": 1024 } } ``` Logs: ``` ggml_cuda_init: failed to initialize CUDA: no CUDA-capable device is detected load_hparams: Qwen-VL models require at minimum 1024 image tokens to function correctly on grounding tasks load_hparams: if you encounter problems with accuracy, try adding --image-min-tokens 1024 load_hparams: more info: https://github.com/ggml-org/llama.cpp/issues/16842 strata-vision: model files loaded in 1.5 s strata-vision: on the CPU, 16 threads, no warm-up [strata] 2026-10-24 21:32:20 engine started: A:\0_strata\engine\strata.exe --serve --pack A:\Strata-data\packs\unsloth-ud-q5_k_xl --native A:\Strata-data\models\unsloth-UD-Q5_K_XL\Qwen3.8-Flash-Next-UD-Q5_K_XL-00001-of-00006.gguf --expert-profile A:\0_strata\data\expert-profile.bin --expert-cache auto --prefill auto --spec 4 --mtp A:\Strata-data\mtp\rt --max-context 300000 --kv int8 --kv-resident 65536 --vision --vram-reserve-mib 700 --pcie-frac 0.00 --spec-min-p 0.50 --adapt-every 1 --adapt-swaps 80 --adapt-decay 0.97 --batch-mtp --batch 2 strata generate: memory guard: limit 255.9 GiB (source: meminfo), current 73.2 GiB, reclaimable cache credited 0.0 GiB; available 182.7 GiB (MemAvailable 182.7 GiB), floor 2560 MiB strata: K-quant prompt kernels from A:\0_strata\engine\strata_kq.dll (STRATA_MMQ_KQ=1) 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: A:\Strata-data\packs\unsloth-ud-q5_k_xl experts (largest blob 4.43 MB), token embedding Q8_0 in mapped host memory (644 MiB, 1.2 s) strata generate: 216 MiB of weights loaded from A:\Strata-data\packs\unsloth-ud-q5_k_xl in 0.1 s (495 canonical tensors skipped: served natively) strata: STRATA_HC_Q8=1: 0.63 GiB of Q8_0 hyper-connection projections for the verify read strata generate: 499 native projection matrices, 3619.14 MiB of weights, in 9.7 s strata generate: PLE direct read probe: 39138 rows/s (fine) strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off) strata generate: profile A:\0_strata\data\expert-profile.bin: 24576 ranked pairs, built for 24576 slots strata generate: KV streaming: 65536 of 300000 cells per QSA layer in VRAM, the K/V in 3.54 GiB of pinned RAM strata generate: PLE on, table 320001536 rows of A:\Strata-data\models\unsloth-UD-Q5_K_XL\Qwen3.8-Flash-Next-UD-Q5_K_XL-00003-of-00006.gguf strata generate: --batch: 2 slot sessions on CUDA0 (1.40 GiB each); 38.06 GiB free strata generate: --batch 2: the slot sessions take 2.80 GiB of VRAM on CUDA0 that the expert cache would otherwise hold strata mtp: draft layer loaded, 835 MiB of VRAM (experts 675, dense 111), files read in 0.37 s (2128 MiB/s) strata mtp: shared draft weights, 50 MiB of private state and buffers strata mtp: shared draft weights, 50 MiB of private state and buffers strata generate: --batch-mtp: 2 slot drafters on CUDA0 (50 MiB of private K/V state and buffers each, sharing the solo drafter's weights); 37.14 GiB free there strata generate: experimental native Q5_K head, 675430400 bytes, in 0.3 s strata generate: GPU 0: NVIDIA RTX PRO 5000 Blackwell, compute capability 12.0 strata: pinned-memory headroom: holding 800 MiB for the buffers allocated after the expert arena (released after it: 640 MiB; kept until needed: 160 MiB; STRATA_PIN_RESERVE_MIB changes it) strata generate: expert arena read unbuffered (1 of 48 probe reads from the file cache; 86.2 GiB available, 96.1 GiB of files) strata: pinned-memory headroom: 640 MiB handed back after the expert arena strata generate: expert arena: NOT registered with the GPU driver (integrated GPU, UMA mode; STRATA_ARENA_PIN_GIB=0 registers it); locked 93816 MiB via working-set minimum + VirtualLock; large pages refused for 98375303168 B (GetLargePageMinimum=2097152, VirtualAlloc error 1314); using 4 KB pages strata generate: loaded 91.61 GiB at 1.46 GiB/s strata generate: CPU pool tasks/phase: 69 (automatic), participating threads: 23 strata generate: CPU pool: 22 workers by default (24 physical cores, 48 logical processors; bounded by physical cores, one kept free) strata generate: 22 pool workers on logical processors 2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44, the host thread on 0 (draining too) (--host-core first) strata generate: CPU workers on logical processors 2,4,...,44 (22 workers, one per physical core; host on 0) strata aux cpus: not available on this system strata generate: expert cache auto: 36.51 GiB free, 700 MiB reserved (+293 MiB for the draft head) -> 8616 slots strata generate: expert cache 9528 slots, 35.53 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 9528 of 9528 slots from the profile in 3.2 s (12054 MB/s); slot 0 verified strata generate: R4 hit path ON - resident experts are computed on the GPU strata generate: 22 expert-pool workers + the host thread strata generate: session is up (engine 0.1.48) strata generate: token graph hit path: 9528 resident experts, decided on the device strata serve: Windows commit: 32.2 GiB left of a 271.9 GiB limit (RAM + page file) strata serve: prompt chunk auto: 8192 tokens, a 96-slot ring strata serve: the prompt path borrows 1041 CUDA0 cache slots (3.88 GiB) strata hc: CUDA0: the hyper-connection read runs as staged (the norm per token and stream, the down projection's activations staged ahead by cp.async); checked bit for bit against the plain read on this card (STRATA_HC_SPLIT=1 or 0 for the earlier ones) strata verify: window up to 8 tokens, 114.8 MiB of device buffers strata mtp: draft head over 106299 tokens (275.7 MiB) strata verify: batch windows of up to 2 sequences (layers [0, 48)) strata serve: conversation cache sized from the free RAM: 8192 MiB for up to 4 parked conversations, so an agent's next turn reuses its prompt (--conversation-cache-mib N sets it, 0 turns it off) strata serve: adaptive overlap: off (STRATA_ADAPT_OVERLAP=1 turns it on) strata serve: 367 MiB of VRAM free with everything loaded strata serve: that is little room for the verify windows' buffers under WDDM; if the engine exits right after this line, --prefill auto:8192 (a smaller prompt chunk borrows fewer cache slots) or a larger --vram-reserve-mib leaves more strata serve: WARNING: only 367 MiB of VRAM free at the start of this request (below 1024 MiB): when the card is this full the driver can page GPU memory to system RAM, decode falls to a few tok/s and a window may never finish (#2065). Add --vram-reserve-mib 1408 to the config's args, or lower --max-context / --batch strata verify: capturing the 4-token window (295 MiB of VRAM free) strata verify: captured the 4-token window (upload no error, sync no error) strata verify: capturing the 1-token window (291 MiB of VRAM free) strata verify: captured the 1-token window (upload no error, sync no error) strata verify: capturing the 2-token window (281 MiB of VRAM free) strata verify: captured the 2-token window (upload no error, sync no error) strata verify: capturing the 3-token window (277 MiB of VRAM free) strata verify: captured the 3-token window (upload no error, sync no error) strata verify: capturing the 5-token window (271 MiB of VRAM free) strata verify: captured the 5-token window (upload no error, sync no error) strata verify: capturing the 6-token window (265 MiB of VRAM free) strata verify: captured the 6-token window (upload no error, sync no error) strata serve: prompt 54372 tokens = 0 reused + 54372 read in 29501 ms (1843.1 tok/s), 5846 generated in 71595 ms (81.7 tok/s), drafts accepted 3255 of 5384, 4 checkpoints strata serve: decode expert cache hit rate: 92.1% (3528618 hits / 3829440 lookups) strata serve: KV streaming: 99.68% of 49185264 block reads hit VRAM, 635.0 MiB read from RAM strata serve: suffix drafts: 320 windows, 632 of 806 drafts accepted strata serve: conversation cache: parked 60220 tokens in 339.1 ms; parked=1 bytes=1510304844 evictions=0 snapshot_bytes=1510304844 reused_kv_bytes=0 strata serve: prompt 60297 tokens = 54367 reused + 5930 read in 3639 ms (1629.5 tok/s), 2315 generated in 24114 ms (96.0 tok/s), drafts accepted 1896 of 1952, 5 checkpoints strata serve: decode expert cache hit rate: 84.7% (965347 hits / 1140000 lookups) strata serve: KV streaming: 99.74% of 63844668 block reads hit VRAM, 676.5 MiB read from RAM strata serve: suffix drafts: 377 windows, 1846 of 1851 drafts accepted strata serve: prompt 62720 tokens = 62615 reused + 105 read in 1217 ms (86.3 tok/s), 3579 generated in 40715 ms (87.9 tok/s), drafts accepted 2594 of 3107, 6 checkpoints strata serve: decode expert cache hit rate: 87.3% (1716797 hits / 1966080 lookups) strata serve: KV streaming: 99.80% of 89108772 block reads hit VRAM, 734.6 MiB read from RAM strata serve: suffix drafts: 480 windows, 1967 of 2033 drafts accepted strata serve: prompt 66635 tokens = 66302 reused + 333 read in 1752 ms (190.1 tok/s), 1718 generated in 21056 ms (81.6 tok/s), drafts accepted 853 of 1696, 6 checkpoints strata serve: decode expert cache hit rate: 93.4% (1147559 hits / 1229280 lookups) strata serve: KV streaming: 99.82% of 104914212 block reads hit VRAM, 776.2 MiB read from RAM strata serve: suffix drafts: 64 windows, 102 of 172 drafts accepted strata serve: prompt 68797 tokens = 68352 reused + 445 read in 1633 ms (272.4 tok/s), 976 generated in 11691 ms (83.5 tok/s), drafts accepted 555 of 975, 6 checkpoints strata serve: decode expert cache hit rate: 92.9% (622723 hits / 670080 lookups) strata serve: KV streaming: 99.82% of 113541060 block reads hit VRAM, 805.8 MiB read from RAM strata serve: suffix drafts: 32 windows, 48 of 64 drafts accepted strata serve: conversation cache: parked 69772 tokens in 425.7 ms; parked=2 bytes=3403355796 evictions=0 snapshot_bytes=1893050952 reused_kv_bytes=0 strata serve: conversation cache: borrowed 23681 tokens from a parked conversation, which stays parked, in 129.2 ms; parked=2 bytes=3403355796 borrowed=1 strata serve: prompt 185570 tokens = 23681 reused + 161889 read in 78669 ms (2057.8 tok/s), 1572 generated in 21211 ms (74.1 tok/s), drafts accepted 906 of 1462, 6 checkpoints strata serve: decode expert cache hit rate: 90.6% (925672 hits / 1021920 lookups) strata serve: KV streaming: 96.73% of 13143552 block reads hit VRAM, 1732.1 MiB read from RAM strata serve: suffix drafts: 145 windows, 313 of 387 drafts accepted strata serve: prompt 187837 tokens = 187142 reused + 695 read in 2374 ms (292.7 tok/s), 619 generated in 11464 ms (54.0 tok/s), drafts accepted 356 of 604, 6 checkpoints strata serve: decode expert cache hit rate: 84.7% (352841 hits / 416640 lookups) strata serve: KV streaming: 96.67% of 18516864 block reads hit VRAM, 2483.1 MiB read from RAM strata serve: suffix drafts: 55 windows, 129 of 157 drafts accepted strata serve: prompt 189092 tokens = 188456 reused + 636 read in 2038 ms (312.1 tok/s), 992 generated in 13957 ms (71.1 tok/s), drafts accepted 578 of 925, 6 checkpoints strata serve: decode expert cache hit rate: 89.9% (577922 hits / 642720 lookups) strata serve: KV streaming: 97.06% of 26792388 block reads hit VRAM, 3168.4 MiB read from RAM strata serve: suffix drafts: 41 windows, 77 of 104 drafts accepted ```
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thanks for taking the time to report this.

Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.11. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6659617109 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thanks for taking the time to report this. Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.11. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
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#1530
No description provided.