[GH-ISSUE #40] Intermittent hang on the first prompt after a start (Windows, RTX 4000 Ada): 'reading the prompt' stalls forever, GPU idle, last line is the mma.sync prompt attention #18

Closed
opened 2026-10-29 21:19:11 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @pietroMastro92 on GitHub (Oct 9, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/40

## What happens

On Windows (native, not WSL2), the engine sometimes hangs on the first real prompt after a start: the server keeps logging

[strata] reading the prompt: 1,221 tokens, 1081 s so far
[strata] reading the prompt: 1,221 tokens, 1091 s so far
...

for 20+ minutes, the GPU sits at 1-4% utilization (nvidia-smi), and the request never returns (the client eventually gets a connection reset when the engine is killed). Restarting the server fixes it every time, and the very same configuration completes the same request fine on other runs.

It reproduced 3 times out of ~10 engine starts, on two different quants and with vision both on and off, so it does not look tied to one configuration.

Where it stops

The last line the engine writes before going quiet is always the same:

glm_batch: CUDA0 prompt attention on the tensor cores (mma.sync, 32 heads a block)

so it looks like the prompt-attention kernel (or the handoff around it) never completes. Full engine-log tail of a hung start:

glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 23 s (3.69 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.215 ms on the CPU vs 0.307 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5
strata generate: glm5-next serve (M3.1): GEN <max_new> [keys] <ids>, GENI <max_new> [keys] <embeddings> <ids>; QUIT to end
glm_batch: CUDA0 prompt attention on the tensor cores (mma.sync, 32 heads a block)

Runs (same machine, same build)

# Model Context Vision Result
1 Maya-S 131072 off ok (1.2k / 32k / 128k prompts, tool calls)
2 Maya-S 131072 off ok
3-5 Maya-S 131072 off ok (three --bench runs)
6 Maya-S 131072 off hang on a 1,221-token prompt
7 Maya-S 131072 off hang on a 1,221-token prompt
8 Maya-S 131072 off ok (full battery again)
9 Maya-M 131072 off ok (full battery)
10 Maya-M 131072 on hang on a 1,221-token prompt
11 Maya-S 98304 / 114688 / 122880 on (GPU lend) ok (image read verified)

The hang is not related to STRATA_GLM_PROMOTE_MIN / STRATA_GLM_RAM_RESIDENT / STRATA_GLM_PCIE_SHARE: run 10 was a stock config, never tuned.

--calibrate (v1.0.16) on the same machine:

    the engine's own split (PCIe share 0.36): 14.2 tok/s
    PCIe share 0.00: 13.4 tok/s
    PCIe share 0.10: 14.4 tok/s
    PCIe share 0.25: 14.7 tok/s
    PCIe share 0.50: 13.1 tok/s
  [!]  the tuning did not finish (glm fast: an illegal memory access was encountered): the engine's own settings stay

An illegal memory access in the same area (prompt path / pool tail), which makes me think the two reports may share a cause. PCIE_SHARE=0.25 alone (set by hand) then ran a clean --bench, so it is intermittent here too.

This machine

  • Windows 11 Pro for Workstations (build 26200), native — not WSL2
  • 1x NVIDIA RTX 4000 Ada Generation, 20 GB (sm_89), driver 597.06
  • CUDA 13.0.88 + MSVC 19.44 (VS 2022 Build Tools); engine built locally for sm_89 (MAYA-BUILD.json: "archs": [89])
  • Intel Xeon w7-3455 (24c/48t, AVX-512), 255 GB RAM, NVMe SSD
  • Project Maya v1.0.16, Maya-S (Maya-S-v2-IQ2_XXS, sha256 verified) and Maya-M

Config used in run 10 (the stock one that hung)

"args": ["--glm-pack", "...\\glm-5.3-flash-maya-m\\pack", "--max-context", "131072", "--vision", "--vram-reserve-mib", "700"],
"env": {"STRATA_GLM_RAM_GB": "110", "STRATA_GLM_VISION_LEND_MB": "2900"}

How to reproduce (best guess)

Start the server, then send one chat completion with a ~1,200-token prompt, on Windows + Ada. It happens on maybe one start in three; repeating the start/send cycle a few times should hit it. Nothing in the logs marks it as an error — the engine simply stops after printing the prompt-attention line.

Attached

maya-report.txt from START-MAYA.bat --report (hardware, setup, engine speed lines) is below.

maya-report.txt
## Maya
version 1.0.16, commit 746ee3f 2026-10-08, Python 3.14.7, win32

## System
Windows-11-10.0.26200-SP0

## GPUs
index, name, memory.total [MiB], memory.used [MiB], driver_version, pcie.link.gen.max, pcie.link.width.current, pcie.link.width.max, power.limit [W], temperature.gpu
0, NVIDIA RTX 4000 Ada Generation, 20475 MiB, 16399 MiB, 597.06, 4, 16, 16, 130.00 W, 35

## CPU and RAM
Intel(R) Xeon(R) w7-3455, 48 threads, AVX-512
RAM 255.2 GB, 154.6 GB available now, page file 64 GB

## Disks

FriendlyName          MediaType   BusType           Size
------------          ---------   -------           ----
NVMe PC811 SK hynix 2 SSD         RAID     2048408248320
BROADCOM MR9540-8i    Unspecified RAID    11999601754112
BROADCOM MR9540-8i    Unspecified RAID    11999601754112
BROADCOM MR9540-8i    Unspecified RAID    11999601754112
BROADCOM MR9540-8i    Unspecified RAID    11999601754112

## Engine build
{"archs": [89], "nvcc": "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.0\\bin\\nvcc.EXE", "host_compiler": null, "date": "2026-10-09 01:14"}

## Setup maya-maya-m.json
model Maya-M, context 122880, GPUs [0], images on, settings {"STRATA_GLM_RAM_GB": "110", "STRATA_GLM_VISION_LEND_MB": "2900"}
model folder C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-m: 116.0 GB of GGUF, 1087 GB free, not a hard disk

## Engine log maya-maya-m.log: the speed and memory lines (last 80 of 39)
glm prefill: CUDA0 chunks of 17472 tokens (mixer sub-batches of 1024), borrowing 4490 MB of the expert pool while a prompt runs (activations 2904, weight scratch 96, expert staging 103, prestage 1371: 160 experts); disk landing ring 96 experts (823 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 11.41 of 19.99 GB in use - dense weights 6.86, state/KV (131072 ctx) 3.06, activations 0.07, other (context, MTP, scratch, prompt path) 1.42
glm prefill: CUDA0 prestage buffer 160 -> 41 experts (what the pool can lend)
glm fast: CUDA0 layers [0,45) expert pool 7.81 GB, 23-23 slots/layer (966 total)
glm fast: CUDA0 RAM tier 95.11 GB pinned, 11792 slots
glm fast: CUDA0 tiers warm: 12096 experts (104.8 GB) in 25 s (4.13 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.272 ms on the CPU vs 0.374 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 3 4 5
glm stat: decode 109.38 ms/tok (9.14 tok/s) | vram hit 31.27% | ram fetches 95.80/tok | disk 0.00 reads/tok in 6.47 waits/tok, 0.04 ms/tok | promotions 59.35/tok | cpu lane 122.47/tok in 30.40 ms/tok | prompt 11.4 ms/tok | vram 896/966 ram 11139/11792
glm stat: decode 106.75 ms/tok (9.37 tok/s) | vram hit 37.70% | ram fetches 85.92/tok | disk 0.00 reads/tok in 8.39 waits/tok, 0.05 ms/tok | promotions 59.43/tok | cpu lane 110.39/tok in 27.41 ms/tok | prompt 3.9 ms/tok | vram 900/966 ram 11144/11792
glm stat: decode 90.67 ms/tok (11.03 tok/s) | vram hit 37.49% | ram fetches 86.86/tok | disk 0.00 reads/tok in 6.68 waits/tok, 0.03 ms/tok | promotions 60.86/tok | cpu lane 112.26/tok in 27.34 ms/tok | prompt 1.4 ms/tok | vram 905/966 ram 11148/11792
glm stat: decode 94.34 ms/tok (10.60 tok/s) | vram hit 37.68% | ram fetches 87.60/tok | disk 0.00 reads/tok in 6.68 waits/tok, 0.03 ms/tok | promotions 61.20/tok | cpu lane 111.31/tok in 27.04 ms/tok | prompt 1.4 ms/tok | vram 903/966 ram 11137/11792
glm stat: decode 86.12 ms/tok (11.61 tok/s) | vram hit 40.37% | ram fetches 80.96/tok | disk 0.00 reads/tok in 7.15 waits/tok, 0.03 ms/tok | promotions 56.88/tok | cpu lane 104.19/tok in 25.05 ms/tok | prompt 3.6 ms/tok | vram 907/966 ram 11152/11792
glm stat: decode 84.99 ms/tok (11.77 tok/s) | vram hit 33.93% | ram fetches 87.00/tok | disk 0.00 reads/tok in 4.15 waits/tok, 0.02 ms/tok | promotions 53.77/tok | cpu lane 113.31/tok in 27.65 ms/tok | prompt 19.2 ms/tok | vram 898/966 ram 11154/11792
glm prefill: CUDA0 chunks of 17472 tokens (mixer sub-batches of 1024), borrowing 4490 MB of the expert pool while a prompt runs (activations 2904, weight scratch 96, expert staging 103, prestage 1371: 160 experts); disk landing ring 96 experts (823 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 11.41 of 19.99 GB in use - dense weights 6.86, state/KV (131072 ctx) 3.06, activations 0.07, other (context, MTP, scratch, prompt path) 1.42
glm prefill: CUDA0 prestage buffer 160 -> 41 experts (what the pool can lend)
glm fast: CUDA0 layers [0,45) expert pool 7.81 GB, 23-23 slots/layer (966 total)
glm fast: CUDA0 RAM tier 95.11 GB pinned, 11792 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-m\pack/expert_usage.txt, 42 layers)
glm fast: CUDA0 tiers warm: 12096 experts (104.8 GB) in 26 s (3.99 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.267 ms on the CPU vs 0.361 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 3 4 5
glm fast: CUDA0 VRAM before the expert pool: 11.23 of 19.99 GB in use - dense weights 6.86, state/KV (122880 ctx) 2.88, activations 0.07, other (context, MTP, scratch, prompt path) 1.42
glm prefill: CUDA0 prestage buffer 160 -> 34 experts (what the pool can lend)
glm fast: CUDA0 the pool (23 slots/layer) cannot lend 2849 MB to the vision encoder
glm fast: CUDA0 layers [0,45) expert pool 7.81 GB, 23-23 slots/layer (966 total)
glm fast: CUDA0 RAM tier 95.11 GB pinned, 11792 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-m\pack/expert_usage.txt, 42 layers)
glm fast: CUDA0 tiers warm: 12096 experts (104.8 GB) in 26 s (4.01 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.274 ms on the CPU vs 0.362 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 3 4 5
glm stat: decode 74.31 ms/tok (13.46 tok/s) | vram hit 33.50% | ram fetches 82.25/tok | disk 0.00 reads/tok in 3.25 waits/tok, 0.02 ms/tok | promotions 35.75/tok | cpu lane 109.75/tok in 26.08 ms/tok | prompt 23.2 ms/tok | vram 873/966 ram 11190/11792
glm stat: decode 65.96 ms/tok (15.16 tok/s) | vram hit 47.58% | ram fetches 62.75/tok | disk 0.00 reads/tok in 4.25 waits/tok, 0.01 ms/tok | promotions 30.12/tok | cpu lane 87.12/tok in 20.71 ms/tok | prompt 0.6 ms/tok | vram 866/966 ram 11215/11792
glm fast: CUDA0 VRAM before the expert pool: 10.68 of 19.99 GB in use - dense weights 6.86, state/KV (98304 ctx) 2.33, activations 0.07, other (context, MTP, scratch, prompt path) 1.42
glm prefill: CUDA0 prestage buffer 160 -> 88 experts (what the pool can lend)
glm fast: CUDA0 the pool (25 slots/layer) cannot lend 2849 MB to the vision encoder
glm fast: CUDA0 layers [0,45) expert pool 8.49 GB, 25-25 slots/layer (1050 total)
glm fast: CUDA0 RAM tier 95.11 GB pinned, 11792 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-m\pack/expert_usage.txt, 42 layers)
glm fast: CUDA0 tiers warm: 12096 experts (104.8 GB) in 26 s (4.03 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.241 ms on the CPU vs 0.362 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5

## Engine log maya-maya-m.log: the last 25 lines
glm stat: decode 74.31 ms/tok (13.46 tok/s) | vram hit 33.50% | ram fetches 82.25/tok | disk 0.00 reads/tok in 3.25 waits/tok, 0.02 ms/tok | promotions 35.75/tok | cpu lane 109.75/tok in 26.08 ms/tok | prompt 23.2 ms/tok | vram 873/966 ram 11190/11792
glm stat: decode 65.96 ms/tok (15.16 tok/s) | vram hit 47.58% | ram fetches 62.75/tok | disk 0.00 reads/tok in 4.25 waits/tok, 0.01 ms/tok | promotions 30.12/tok | cpu lane 87.12/tok in 20.71 ms/tok | prompt 0.6 ms/tok | vram 866/966 ram 11215/11792
load: special_eot_id is not in special_eog_ids - the tokenizer config may be incorrect
load: special_eom_id is not in special_eog_ids - the tokenizer config may be incorrect
strata-vision: warmed up at 1024 image tokens
ding ring 96 experts (823 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 10.68 of 19.99 GB in use - dense weights 6.86, state/KV (98304 ctx) 2.33, activations 0.07, other (context, MTP, scratch, prompt path) 1.42
glm prefill: CUDA0 prestage buffer 160 -> 88 experts (what the pool can lend)
glm fast: CUDA0 the pool (25 slots/layer) cannot lend 2849 MB to the vision encoder
glm fast: CUDA0 layers [0,45) expert pool 8.49 GB, 25-25 slots/layer (1050 total)
glm fast: CUDA0 RAM tier 95.11 GB pinned, 11792 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-m\pack/expert_usage.txt, 42 layers)
glm fast: CUDA0 warming the expert tiers 10% (10.5 of 104.8 GB, 7 s)
glm fast: CUDA0 warming the expert tiers 20% (21.0 of 104.8 GB, 9 s)
glm fast: CUDA0 warming the expert tiers 30% (31.5 of 104.8 GB, 12 s)
glm fast: CUDA0 warming the expert tiers 40% (41.9 of 104.8 GB, 14 s)
glm fast: CUDA0 warming the expert tiers 50% (52.4 of 104.8 GB, 16 s)
glm fast: CUDA0 warming the expert tiers 60% (62.9 of 104.8 GB, 18 s)
glm fast: CUDA0 warming the expert tiers 70% (73.4 of 104.8 GB, 20 s)
glm fast: CUDA0 warming the expert tiers 80% (83.8 of 104.8 GB, 22 s)
glm fast: CUDA0 warming the expert tiers 90% (94.3 of 104.8 GB, 24 s)
glm fast: CUDA0 warming the expert tiers 100% (104.8 of 104.8 GB, 26 s)
glm fast: CUDA0 tiers warm: 12096 experts (104.8 GB) in 26 s (4.03 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.241 ms on the CPU vs 0.362 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5
strata generate: glm5-next serve (M3.1): GEN <max_new> [keys] <ids>, GENI <max_new> [keys] <embeddings> <ids>; QUIT to end

## Setup maya-maya-s-v2-iq2_xxs.json
model Maya-S-v2-IQ2_XXS, context 122880, GPUs [0], images on, settings {"STRATA_GLM_RAM_GB": "110", "STRATA_GLM_VISION_LEND_MB": "2900"}
model folder C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs: 96.5 GB of GGUF, 1087 GB free, not a hard disk

## Engine log maya-maya-s-v2-iq2_xxs.log: the speed and memory lines (last 80 of 144)
glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 23 s (3.69 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.215 ms on the CPU vs 0.307 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5
glm prefill: CUDA0 chunks of 17600 tokens (mixer sub-batches of 1024), borrowing 4270 MB of the expert pool while a prompt runs (activations 2919, weight scratch 96, expert staging 86, prestage 1153: 160 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 11.40 of 19.99 GB in use - dense weights 6.86, state/KV (131072 ctx) 3.06, activations 0.06, other (context, MTP, scratch, prompt path) 1.42
glm fast: CUDA0 layers [0,45) expert pool 7.79 GB, 28-28 slots/layer (1176 total)
glm fast: CUDA0 RAM tier 78.11 GB pinned, 11792 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs\pack/expert_usage.txt, 42 layers)
glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 23 s (3.68 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.144 ms on the CPU vs 0.304 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 5 6
glm stat: decode 75.97 ms/tok (13.16 tok/s) | vram hit 37.49% | ram fetches 63.67/tok | disk 0.00 reads/tok in 8.81 waits/tok, 0.03 ms/tok | promotions 56.74/tok | cpu lane 133.43/tok in 27.79 ms/tok | prompt 6.2 ms/tok | vram 1102/1176 ram 10941/11792
glm stat: decode 75.39 ms/tok (13.26 tok/s) | vram hit 39.72% | ram fetches 62.65/tok | disk 0.00 reads/tok in 6.86 waits/tok, 0.02 ms/tok | promotions 56.55/tok | cpu lane 130.14/tok in 27.34 ms/tok | prompt 2.7 ms/tok | vram 1111/1176 ram 10929/11792
glm stat: decode 76.57 ms/tok (13.06 tok/s) | vram hit 42.94% | ram fetches 59.47/tok | disk 0.00 reads/tok in 5.20 waits/tok, 0.02 ms/tok | promotions 55.54/tok | cpu lane 123.54/tok in 26.05 ms/tok | prompt 1.3 ms/tok | vram 1103/1176 ram 10953/11792
glm stat: decode 74.90 ms/tok (13.35 tok/s) | vram hit 41.16% | ram fetches 61.51/tok | disk 0.00 reads/tok in 6.96 waits/tok, 0.02 ms/tok | promotions 55.91/tok | cpu lane 126.79/tok in 26.52 ms/tok | prompt 2.6 ms/tok | vram 1105/1176 ram 10932/11792
glm stat: decode 72.38 ms/tok (13.82 tok/s) | vram hit 34.35% | ram fetches 64.62/tok | disk 0.00 reads/tok in 2.31 waits/tok, 0.01 ms/tok | promotions 54.00/tok | cpu lane 136.69/tok in 28.79 ms/tok | prompt 9.1 ms/tok | vram 1102/1176 ram 10947/11792
glm fast: CUDA0 VRAM before the expert pool: 10.66 of 19.99 GB in use - dense weights 6.86, state/KV (98304 ctx) 2.33, activations 0.06, other (context, MTP, scratch, prompt path) 1.42
glm fast: CUDA0 the vision encoder borrows the pool's tail (4.73 GB) while it encodes
glm fast: CUDA0 layers [0,45) expert pool 8.63 GB, 31-31 slots/layer (1302 total)
glm fast: CUDA0 RAM tier 77.83 GB pinned, 11750 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs\pack/expert_usage.txt, 42 layers)
glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 24 s (3.61 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.208 ms on the CPU vs 0.305 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5
glm fast: CUDA0 4.73 GB lent to the vision encoder (0 experts moved to colder slots, 588 dropped)
glm fast: CUDA0 the vision encoder's 4.73 GB are back in the expert pool
glm stat: decode 52.05 ms/tok (19.21 tok/s) | vram hit 44.56% | ram fetches 64.00/tok | disk 0.00 reads/tok in 0.62 waits/tok, 0.00 ms/tok | promotions 63.25/tok | cpu lane 98.25/tok in 20.55 ms/tok | prompt 18.7 ms/tok | vram 1163/1302 ram 10919/11750
glm stat: decode 49.51 ms/tok (20.20 tok/s) | vram hit 71.13% | ram fetches 29.12/tok | disk 0.00 reads/tok in 4.38 waits/tok, 0.01 ms/tok | promotions 29.38/tok | cpu lane 51.25/tok in 11.15 ms/tok | prompt 0.5 ms/tok | vram 1193/1302 ram 10889/11750
glm stat: decode 74.41 ms/tok (13.44 tok/s) | vram hit 41.29% | ram fetches 74.73/tok | disk 0.00 reads/tok in 6.17 waits/tok, 0.02 ms/tok | promotions 57.27/tok | cpu lane 111.07/tok in 23.07 ms/tok | prompt 8.4 ms/tok | vram 1235/1302 ram 10810/11750
glm stat: decode 76.24 ms/tok (13.12 tok/s) | vram hit 41.86% | ram fetches 74.55/tok | disk 0.00 reads/tok in 7.21 waits/tok, 0.02 ms/tok | promotions 59.00/tok | cpu lane 110.83/tok in 23.36 ms/tok | prompt 3.1 ms/tok | vram 1236/1302 ram 10816/11750
glm stat: decode 76.85 ms/tok (13.01 tok/s) | vram hit 45.36% | ram fetches 70.79/tok | disk 0.00 reads/tok in 5.64 waits/tok, 0.02 ms/tok | promotions 58.48/tok | cpu lane 104.64/tok in 21.82 ms/tok | prompt 1.2 ms/tok | vram 1237/1302 ram 10810/11750
glm stat: decode 73.66 ms/tok (13.58 tok/s) | vram hit 44.51% | ram fetches 70.39/tok | disk 0.00 reads/tok in 6.16 waits/tok, 0.02 ms/tok | promotions 57.31/tok | cpu lane 105.71/tok in 22.25 ms/tok | prompt 3.0 ms/tok | vram 1238/1302 ram 10812/11750
glm stat: decode 71.14 ms/tok (14.06 tok/s) | vram hit 38.57% | ram fetches 74.85/tok | disk 0.00 reads/tok in 1.23 waits/tok, 0.01 ms/tok | promotions 53.77/tok | cpu lane 114.46/tok in 24.39 ms/tok | prompt 15.5 ms/tok | vram 1231/1302 ram 10816/11750
glm fast: CUDA0 VRAM before the expert pool: 11.03 of 19.99 GB in use - dense weights 6.86, state/KV (114688 ctx) 2.70, activations 0.06, other (context, MTP, scratch, prompt path) 1.42
glm fast: CUDA0 the vision encoder borrows the pool's tail (4.45 GB) while it encodes
glm fast: CUDA0 layers [0,45) expert pool 8.07 GB, 29-29 slots/layer (1218 total)
glm fast: CUDA0 RAM tier 78.11 GB pinned, 11792 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs\pack/expert_usage.txt, 42 layers)
glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 23 s (3.68 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.206 ms on the CPU vs 0.305 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5
glm fast: CUDA0 4.45 GB lent to the vision encoder (0 experts moved to colder slots, 546 dropped)
glm fast: CUDA0 the vision encoder's 4.45 GB are back in the expert pool
glm stat: decode 53.10 ms/tok (18.83 tok/s) | vram hit 44.30% | ram fetches 65.50/tok | disk 0.00 reads/tok in 0.50 waits/tok, 0.00 ms/tok | promotions 63.50/tok | cpu lane 97.75/tok in 21.05 ms/tok | prompt 18.7 ms/tok | vram 1110/1218 ram 10965/11792
glm stat: decode 50.47 ms/tok (19.81 tok/s) | vram hit 70.41% | ram fetches 31.25/tok | disk 0.00 reads/tok in 3.88 waits/tok, 0.01 ms/tok | promotions 30.50/tok | cpu lane 51.88/tok in 11.13 ms/tok | prompt 0.5 ms/tok | vram 1115/1218 ram 10961/11792
glm prefill: CUDA0 chunks of 18240 tokens (mixer sub-batches of 1024), borrowing 4346 MB of the expert pool while a prompt runs (activations 2995, weight scratch 96, expert staging 86, prestage 1153: 160 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 11.21 of 19.99 GB in use - dense weights 6.86, state/KV (122880 ctx) 2.88, activations 0.06, other (context, MTP, scratch, prompt path) 1.42
glm fast: CUDA0 the vision encoder borrows the pool's tail (4.45 GB) while it encodes
glm fast: CUDA0 layers [0,45) expert pool 8.07 GB, 29-29 slots/layer (1218 total)
glm fast: CUDA0 RAM tier 78.11 GB pinned, 11792 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs\pack/expert_usage.txt, 42 layers)
glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 23 s (3.68 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.200 ms on the CPU vs 0.305 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5
glm fast: CUDA0 VRAM before the expert pool: 11.40 of 19.99 GB in use - dense weights 6.86, state/KV (131072 ctx) 3.06, activations 0.06, other (context, MTP, scratch, prompt path) 1.42
glm fast: CUDA0 the pool (28 slots/layer) cannot lend 2849 MB to the vision encoder
glm fast: CUDA0 layers [0,45) expert pool 7.79 GB, 28-28 slots/layer (1176 total)
glm fast: CUDA0 RAM tier 78.11 GB pinned, 11792 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs\pack/expert_usage.txt, 42 layers)
glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 23 s (3.69 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.131 ms on the CPU vs 0.306 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 2 2 3 4 4 5 6
glm fast: CUDA0 VRAM before the expert pool: 11.21 of 19.99 GB in use - dense weights 6.86, state/KV (122880 ctx) 2.88, activations 0.06, other (context, MTP, scratch, prompt path) 1.42
glm fast: CUDA0 the vision encoder borrows the pool's tail (4.45 GB) while it encodes
glm fast: CUDA0 layers [0,45) expert pool 8.07 GB, 29-29 slots/layer (1218 total)
glm fast: CUDA0 RAM tier 78.11 GB pinned, 11792 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs\pack/expert_usage.txt, 42 layers)
glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 24 s (3.65 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.136 ms on the CPU vs 0.305 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 4 4 5 6
glm fast: CUDA0 4.45 GB lent to the vision encoder (0 experts moved to colder slots, 546 dropped)
glm fast: CUDA0 the vision encoder's 4.45 GB are back in the expert pool
glm stat: decode 52.55 ms/tok (19.03 tok/s) | vram hit 39.41% | ram fetches 50.25/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 50.25/tok | cpu lane 127.88/tok in 26.02 ms/tok | prompt 10.4 ms/tok | vram 1018/1218 ram 11076/11792
glm stat: decode 49.15 ms/tok (20.35 tok/s) | vram hit 67.47% | ram fetches 27.75/tok | disk 0.00 reads/tok in 2.88 waits/tok, 0.01 ms/tok | promotions 29.62/tok | cpu lane 65.00/tok in 14.13 ms/tok | prompt 0.4 ms/tok | vram 1111/1218 ram 10969/11792
glm stat: decode 74.50 ms/tok (13.42 tok/s) | vram hit 38.39% | ram fetches 53.91/tok | disk 0.00 reads/tok in 6.35 waits/tok, 0.02 ms/tok | promotions 52.58/tok | cpu lane 142.79/tok in 29.78 ms/tok | prompt 5.1 ms/tok | vram 1143/1218 ram 10909/11792
glm stat: decode 74.07 ms/tok (13.50 tok/s) | vram hit 41.14% | ram fetches 52.48/tok | disk 0.00 reads/tok in 5.90 waits/tok, 0.02 ms/tok | promotions 51.84/tok | cpu lane 136.78/tok in 28.89 ms/tok | prompt 2.7 ms/tok | vram 1146/1218 ram 10903/11792
glm stat: decode 77.74 ms/tok (12.86 tok/s) | vram hit 40.99% | ram fetches 52.41/tok | disk 0.00 reads/tok in 5.58 waits/tok, 0.02 ms/tok | promotions 52.20/tok | cpu lane 138.02/tok in 28.94 ms/tok | prompt 1.2 ms/tok | vram 1152/1218 ram 10899/11792
glm stat: decode 72.92 ms/tok (13.71 tok/s) | vram hit 42.65% | ram fetches 51.56/tok | disk 0.00 reads/tok in 6.01 waits/tok, 0.02 ms/tok | promotions 51.49/tok | cpu lane 132.71/tok in 27.46 ms/tok | prompt 2.7 ms/tok | vram 1152/1218 ram 10905/11792
glm stat: decode 73.04 ms/tok (13.69 tok/s) | vram hit 33.83% | ram fetches 57.31/tok | disk 0.00 reads/tok in 1.38 waits/tok, 0.01 ms/tok | promotions 51.15/tok | cpu lane 146.46/tok in 31.64 ms/tok | prompt 9.0 ms/tok | vram 1137/1218 ram 10906/11792
glm prefill: CUDA0 chunks of 18240 tokens (mixer sub-batches of 1024), borrowing 4346 MB of the expert pool while a prompt runs (activations 2995, weight scratch 96, expert staging 86, prestage 1153: 160 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 11.21 of 19.99 GB in use - dense weights 6.86, state/KV (122880 ctx) 2.88, activations 0.06, other (context, MTP, scratch, prompt path) 1.42
glm fast: CUDA0 the vision encoder borrows the pool's tail (4.45 GB) while it encodes
glm fast: CUDA0 layers [0,45) expert pool 8.07 GB, 29-29 slots/layer (1218 total)
glm fast: CUDA0 RAM tier 78.11 GB pinned, 11792 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs\pack/expert_usage.txt, 42 layers)
glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 24 s (3.59 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.187 ms on the CPU vs 0.304 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 4 5

## Engine log maya-maya-s-v2-iq2_xxs.log: the last 25 lines
glm stat: decode 49.15 ms/tok (20.35 tok/s) | vram hit 67.47% | ram fetches 27.75/tok | disk 0.00 reads/tok in 2.88 waits/tok, 0.01 ms/tok | promotions 29.62/tok | cpu lane 65.00/tok in 14.13 ms/tok | prompt 0.4 ms/tok | vram 1111/1218 ram 10969/11792
glm stat: decode 74.50 ms/tok (13.42 tok/s) | vram hit 38.39% | ram fetches 53.91/tok | disk 0.00 reads/tok in 6.35 waits/tok, 0.02 ms/tok | promotions 52.58/tok | cpu lane 142.79/tok in 29.78 ms/tok | prompt 5.1 ms/tok | vram 1143/1218 ram 10909/11792
glm stat: decode 74.07 ms/tok (13.50 tok/s) | vram hit 41.14% | ram fetches 52.48/tok | disk 0.00 reads/tok in 5.90 waits/tok, 0.02 ms/tok | promotions 51.84/tok | cpu lane 136.78/tok in 28.89 ms/tok | prompt 2.7 ms/tok | vram 1146/1218 ram 10903/11792
glm stat: decode 77.74 ms/tok (12.86 tok/s) | vram hit 40.99% | ram fetches 52.41/tok | disk 0.00 reads/tok in 5.58 waits/tok, 0.02 ms/tok | promotions 52.20/tok | cpu lane 138.02/tok in 28.94 ms/tok | prompt 1.2 ms/tok | vram 1152/1218 ram 10899/11792
glm stat: decode 72.92 ms/tok (13.71 tok/s) | vram hit 42.65% | ram fetches 51.56/tok | disk 0.00 reads/tok in 6.01 waits/tok, 0.02 ms/tok | promotions 51.49/tok | cpu lane 132.71/tok in 27.46 ms/tok | prompt 2.7 ms/tok | vram 1152/1218 ram 10905/11792
glm stat: decode 73.04 ms/tok (13.69 tok/s) | vram hit 33.83% | ram fetches 57.31/tok | disk 0.00 reads/tok in 1.38 waits/tok, 0.01 ms/tok | promotions 51.15/tok | cpu lane 146.46/tok in 31.64 ms/tok | prompt 9.0 ms/tok | vram 1137/1218 ram 10906/11792
glm prefill: CUDA0 chunks of 18240 tokens (mixer sub-batches of 1024), borrowing 4346 MB of the expert pool while a prompt runs (activations 2995, weight scratch 96, expert staging 86, prestage 1153: 160 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 11.21 of 19.99 GB in use - dense weights 6.86, state/KV (122880 ctx) 2.88, activations 0.06, other (context, MTP, scratch, prompt path) 1.42
glm fast: CUDA0 the vision encoder borrows the pool's tail (4.45 GB) while it encodes
glm fast: CUDA0 layers [0,45) expert pool 8.07 GB, 29-29 slots/layer (1218 total)
glm fast: CUDA0 RAM tier 78.11 GB pinned, 11792 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs\pack/expert_usage.txt, 42 layers)
glm fast: CUDA0 warming the expert tiers 10% (8.6 of 86.0 GB, 7 s)
glm fast: CUDA0 warming the expert tiers 20% (17.2 of 86.0 GB, 9 s)
glm fast: CUDA0 warming the expert tiers 30% (25.8 of 86.0 GB, 11 s)
glm fast: CUDA0 warming the expert tiers 40% (34.4 of 86.0 GB, 13 s)
glm fast: CUDA0 warming the expert tiers 50% (43.0 of 86.0 GB, 15 s)
glm fast: CUDA0 warming the expert tiers 60% (51.7 of 86.0 GB, 16 s)
glm fast: CUDA0 warming the expert tiers 70% (60.3 of 86.0 GB, 18 s)
glm fast: CUDA0 warming the expert tiers 80% (68.8 of 86.0 GB, 20 s)
glm fast: CUDA0 warming the expert tiers 90% (77.4 of 86.0 GB, 22 s)
glm fast: CUDA0 warming the expert tiers 100% (86.0 of 86.0 GB, 24 s)
glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 24 s (3.59 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.187 ms on the CPU vs 0.304 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 4 5
strata generate: glm5-next serve (M3.1): GEN <max_new> [keys] <ids>, GENI <max_new> [keys] <embeddings> <ids>; QUIT to end

## Benchmark (maya-bench.txt, from --bench)
Project Maya v1.0.16 benchmark, 2026-10-09 02:34
GPUs: NVIDIA RTX 4000 Ada Generation 20 GB; RAM 255 GB; CPU Intel(R) Xeon(R) w7-3455
setup: maya-maya-s-v2-iq2_xxs.json, context 131072, GPUs [0]
decode (writing the answer): mean 13.3 tokens/s over 3 answers of 256 tokens (greedy, thinking off)
    12.9 tokens/s  Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring.
    14.1 tokens/s  Explain how photosynthesis works, step by step, for a high-school student.
    13.0 tokens/s  Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript.
prefill (reading the prompt): 484 tokens/s, 2048 tokens
prefill (reading the prompt): 782 tokens/s, 8192 tokens

engine lines:
glm prefill: CUDA0 chunks of 17600 tokens (mixer sub-batches of 1024), borrowing 4270 MB of the expert pool while a prompt runs (activations 2919, weight scratch 96, expert staging 86, prestage 1153: 160 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 11.40 of 19.99 GB in use - dense weights 6.86, state/KV (131072 ctx) 3.06, activations 0.06, other (context, MTP, scratch, prompt path) 1.42
glm fast: CUDA0 layers [0,45) expert pool 7.79 GB, 28-28 slots/layer (1176 total)
glm fast: CUDA0 RAM tier 78.11 GB pinned, 11792 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs\pack/expert_usage.txt, 42 layers)
glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 23 s (3.68 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.191 ms on the CPU vs 0.303 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5
glm stat: decode 72.98 ms/tok (13.70 tok/s) | vram hit 41.21% | ram fetches 74.67/tok | disk 0.00 reads/tok in 7.42 waits/tok, 0.03 ms/tok | promotions 47.84/tok | cpu lane 111.86/tok in 23.42 ms/tok | prompt 74.8 ms/tok | vram 1112/1176 ram 10954/11792
glm stat: decode 77.67 ms/tok (12.88 tok/s) | vram hit 34.66% | ram fetches 83.75/tok | disk 0.00 reads/tok in 8.01 waits/tok, 0.03 ms/tok | promotions 52.64/tok | cpu lane 126.33/tok in 26.44 ms/tok | prompt 79.6 ms/tok | vram 1105/1176 ram 10946/11792
glm stat: decode 70.89 ms/tok (14.11 tok/s) | vram hit 45.85% | ram fetches 70.16/tok | disk 0.00 reads/tok in 6.38 waits/tok, 0.02 ms/tok | promotions 44.21/tok | cpu lane 104.28/tok in 21.93 ms/tok | prompt 84.4 ms/tok | vram 1086/1176 ram 10974/11792
glm stat: decode 76.87 ms/tok (13.01 tok/s) | vram hit 35.51% | ram fetches 82.91/tok | disk 0.00 reads/tok in 7.18 waits/tok, 0.02 ms/tok | promotions 51.63/tok | cpu lane 125.20/tok in 25.93 ms/tok | prompt 84.4 ms/tok | vram 1100/1176 ram 10956/11792
glm stat (prompt only): prompt 2.2 ms/tok | vram 808/1176 ram 11288/11792
glm slots: set aside a conversation of 2047 tokens (0.19 GB, 0.16 s); 1 kept, 0.2 GB
glm stat (prompt only): prompt 2.1 ms/tok | vram 851/1176 ram 11245/11792
glm slots: set aside a conversation of 2047 tokens (0.19 GB, 0.15 s); 2 kept, 0.4 GB
glm stat (prompt only): prompt 1.3 ms/tok | vram 727/1176 ram 11369/11792


Originally created by @pietroMastro92 on GitHub (Oct 9, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/40 ## What happens On Windows (native, not WSL2), the engine sometimes **hangs on the first real prompt after a start**: the server keeps logging ``` [strata] reading the prompt: 1,221 tokens, 1081 s so far [strata] reading the prompt: 1,221 tokens, 1091 s so far ... ``` for 20+ minutes, the GPU sits at **1-4% utilization** (`nvidia-smi`), and the request never returns (the client eventually gets a connection reset when the engine is killed). Restarting the server fixes it every time, and the very same configuration completes the same request fine on other runs. It reproduced **3 times out of ~10 engine starts**, on two different quants and with vision both on and off, so it does not look tied to one configuration. ## Where it stops The last line the engine writes before going quiet is always the same: ``` glm_batch: CUDA0 prompt attention on the tensor cores (mma.sync, 32 heads a block) ``` so it looks like the prompt-attention kernel (or the handoff around it) never completes. Full engine-log tail of a hung start: ``` glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 23 s (3.69 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.215 ms on the CPU vs 0.307 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5 strata generate: glm5-next serve (M3.1): GEN <max_new> [keys] <ids>, GENI <max_new> [keys] <embeddings> <ids>; QUIT to end glm_batch: CUDA0 prompt attention on the tensor cores (mma.sync, 32 heads a block) ``` ## Runs (same machine, same build) | # | Model | Context | Vision | Result | |---|---|---|---|---| | 1 | Maya-S | 131072 | off | ok (1.2k / 32k / 128k prompts, tool calls) | | 2 | Maya-S | 131072 | off | ok | | 3-5 | Maya-S | 131072 | off | ok (three `--bench` runs) | | **6** | Maya-S | 131072 | off | **hang** on a 1,221-token prompt | | **7** | Maya-S | 131072 | off | **hang** on a 1,221-token prompt | | 8 | Maya-S | 131072 | off | ok (full battery again) | | 9 | Maya-M | 131072 | off | ok (full battery) | | **10** | Maya-M | 131072 | on | **hang** on a 1,221-token prompt | | 11 | Maya-S | 98304 / 114688 / 122880 | on (GPU lend) | ok (image read verified) | The hang is not related to `STRATA_GLM_PROMOTE_MIN` / `STRATA_GLM_RAM_RESIDENT` / `STRATA_GLM_PCIE_SHARE`: run 10 was a stock config, never tuned. ## Possibly related: `--calibrate` crashed `--calibrate` (v1.0.16) on the same machine: ``` the engine's own split (PCIe share 0.36): 14.2 tok/s PCIe share 0.00: 13.4 tok/s PCIe share 0.10: 14.4 tok/s PCIe share 0.25: 14.7 tok/s PCIe share 0.50: 13.1 tok/s [!] the tuning did not finish (glm fast: an illegal memory access was encountered): the engine's own settings stay ``` An illegal memory access in the same area (prompt path / pool tail), which makes me think the two reports may share a cause. `PCIE_SHARE=0.25` alone (set by hand) then ran a clean `--bench`, so it is intermittent here too. ## This machine - **Windows 11 Pro for Workstations** (build 26200), native — not WSL2 - **1x NVIDIA RTX 4000 Ada Generation, 20 GB** (sm_89), driver 597.06 - **CUDA 13.0.88** + **MSVC 19.44** (VS 2022 Build Tools); engine built locally for sm_89 (`MAYA-BUILD.json`: `"archs": [89]`) - Intel Xeon w7-3455 (24c/48t, AVX-512), **255 GB RAM**, NVMe SSD - Project Maya **v1.0.16**, Maya-S (`Maya-S-v2-IQ2_XXS`, sha256 verified) and Maya-M ## Config used in run 10 (the stock one that hung) ```json "args": ["--glm-pack", "...\\glm-5.3-flash-maya-m\\pack", "--max-context", "131072", "--vision", "--vram-reserve-mib", "700"], "env": {"STRATA_GLM_RAM_GB": "110", "STRATA_GLM_VISION_LEND_MB": "2900"} ``` ## How to reproduce (best guess) Start the server, then send one chat completion with a ~1,200-token prompt, on Windows + Ada. It happens on maybe one start in three; repeating the start/send cycle a few times should hit it. Nothing in the logs marks it as an error — the engine simply stops after printing the prompt-attention line. ## Attached `maya-report.txt` from `START-MAYA.bat --report` (hardware, setup, engine speed lines) is below. <details> <summary>maya-report.txt</summary> ``` ## Maya version 1.0.16, commit 746ee3f 2026-10-08, Python 3.14.7, win32 ## System Windows-11-10.0.26200-SP0 ## GPUs index, name, memory.total [MiB], memory.used [MiB], driver_version, pcie.link.gen.max, pcie.link.width.current, pcie.link.width.max, power.limit [W], temperature.gpu 0, NVIDIA RTX 4000 Ada Generation, 20475 MiB, 16399 MiB, 597.06, 4, 16, 16, 130.00 W, 35 ## CPU and RAM Intel(R) Xeon(R) w7-3455, 48 threads, AVX-512 RAM 255.2 GB, 154.6 GB available now, page file 64 GB ## Disks FriendlyName MediaType BusType Size ------------ --------- ------- ---- NVMe PC811 SK hynix 2 SSD RAID 2048408248320 BROADCOM MR9540-8i Unspecified RAID 11999601754112 BROADCOM MR9540-8i Unspecified RAID 11999601754112 BROADCOM MR9540-8i Unspecified RAID 11999601754112 BROADCOM MR9540-8i Unspecified RAID 11999601754112 ## Engine build {"archs": [89], "nvcc": "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.0\\bin\\nvcc.EXE", "host_compiler": null, "date": "2026-10-09 01:14"} ## Setup maya-maya-m.json model Maya-M, context 122880, GPUs [0], images on, settings {"STRATA_GLM_RAM_GB": "110", "STRATA_GLM_VISION_LEND_MB": "2900"} model folder C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-m: 116.0 GB of GGUF, 1087 GB free, not a hard disk ## Engine log maya-maya-m.log: the speed and memory lines (last 80 of 39) glm prefill: CUDA0 chunks of 17472 tokens (mixer sub-batches of 1024), borrowing 4490 MB of the expert pool while a prompt runs (activations 2904, weight scratch 96, expert staging 103, prestage 1371: 160 experts); disk landing ring 96 experts (823 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 11.41 of 19.99 GB in use - dense weights 6.86, state/KV (131072 ctx) 3.06, activations 0.07, other (context, MTP, scratch, prompt path) 1.42 glm prefill: CUDA0 prestage buffer 160 -> 41 experts (what the pool can lend) glm fast: CUDA0 layers [0,45) expert pool 7.81 GB, 23-23 slots/layer (966 total) glm fast: CUDA0 RAM tier 95.11 GB pinned, 11792 slots glm fast: CUDA0 tiers warm: 12096 experts (104.8 GB) in 25 s (4.13 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.272 ms on the CPU vs 0.374 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 3 4 5 glm stat: decode 109.38 ms/tok (9.14 tok/s) | vram hit 31.27% | ram fetches 95.80/tok | disk 0.00 reads/tok in 6.47 waits/tok, 0.04 ms/tok | promotions 59.35/tok | cpu lane 122.47/tok in 30.40 ms/tok | prompt 11.4 ms/tok | vram 896/966 ram 11139/11792 glm stat: decode 106.75 ms/tok (9.37 tok/s) | vram hit 37.70% | ram fetches 85.92/tok | disk 0.00 reads/tok in 8.39 waits/tok, 0.05 ms/tok | promotions 59.43/tok | cpu lane 110.39/tok in 27.41 ms/tok | prompt 3.9 ms/tok | vram 900/966 ram 11144/11792 glm stat: decode 90.67 ms/tok (11.03 tok/s) | vram hit 37.49% | ram fetches 86.86/tok | disk 0.00 reads/tok in 6.68 waits/tok, 0.03 ms/tok | promotions 60.86/tok | cpu lane 112.26/tok in 27.34 ms/tok | prompt 1.4 ms/tok | vram 905/966 ram 11148/11792 glm stat: decode 94.34 ms/tok (10.60 tok/s) | vram hit 37.68% | ram fetches 87.60/tok | disk 0.00 reads/tok in 6.68 waits/tok, 0.03 ms/tok | promotions 61.20/tok | cpu lane 111.31/tok in 27.04 ms/tok | prompt 1.4 ms/tok | vram 903/966 ram 11137/11792 glm stat: decode 86.12 ms/tok (11.61 tok/s) | vram hit 40.37% | ram fetches 80.96/tok | disk 0.00 reads/tok in 7.15 waits/tok, 0.03 ms/tok | promotions 56.88/tok | cpu lane 104.19/tok in 25.05 ms/tok | prompt 3.6 ms/tok | vram 907/966 ram 11152/11792 glm stat: decode 84.99 ms/tok (11.77 tok/s) | vram hit 33.93% | ram fetches 87.00/tok | disk 0.00 reads/tok in 4.15 waits/tok, 0.02 ms/tok | promotions 53.77/tok | cpu lane 113.31/tok in 27.65 ms/tok | prompt 19.2 ms/tok | vram 898/966 ram 11154/11792 glm prefill: CUDA0 chunks of 17472 tokens (mixer sub-batches of 1024), borrowing 4490 MB of the expert pool while a prompt runs (activations 2904, weight scratch 96, expert staging 103, prestage 1371: 160 experts); disk landing ring 96 experts (823 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 11.41 of 19.99 GB in use - dense weights 6.86, state/KV (131072 ctx) 3.06, activations 0.07, other (context, MTP, scratch, prompt path) 1.42 glm prefill: CUDA0 prestage buffer 160 -> 41 experts (what the pool can lend) glm fast: CUDA0 layers [0,45) expert pool 7.81 GB, 23-23 slots/layer (966 total) glm fast: CUDA0 RAM tier 95.11 GB pinned, 11792 slots glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-m\pack/expert_usage.txt, 42 layers) glm fast: CUDA0 tiers warm: 12096 experts (104.8 GB) in 26 s (3.99 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.267 ms on the CPU vs 0.361 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 3 4 5 glm fast: CUDA0 VRAM before the expert pool: 11.23 of 19.99 GB in use - dense weights 6.86, state/KV (122880 ctx) 2.88, activations 0.07, other (context, MTP, scratch, prompt path) 1.42 glm prefill: CUDA0 prestage buffer 160 -> 34 experts (what the pool can lend) glm fast: CUDA0 the pool (23 slots/layer) cannot lend 2849 MB to the vision encoder glm fast: CUDA0 layers [0,45) expert pool 7.81 GB, 23-23 slots/layer (966 total) glm fast: CUDA0 RAM tier 95.11 GB pinned, 11792 slots glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-m\pack/expert_usage.txt, 42 layers) glm fast: CUDA0 tiers warm: 12096 experts (104.8 GB) in 26 s (4.01 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.274 ms on the CPU vs 0.362 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 3 4 5 glm stat: decode 74.31 ms/tok (13.46 tok/s) | vram hit 33.50% | ram fetches 82.25/tok | disk 0.00 reads/tok in 3.25 waits/tok, 0.02 ms/tok | promotions 35.75/tok | cpu lane 109.75/tok in 26.08 ms/tok | prompt 23.2 ms/tok | vram 873/966 ram 11190/11792 glm stat: decode 65.96 ms/tok (15.16 tok/s) | vram hit 47.58% | ram fetches 62.75/tok | disk 0.00 reads/tok in 4.25 waits/tok, 0.01 ms/tok | promotions 30.12/tok | cpu lane 87.12/tok in 20.71 ms/tok | prompt 0.6 ms/tok | vram 866/966 ram 11215/11792 glm fast: CUDA0 VRAM before the expert pool: 10.68 of 19.99 GB in use - dense weights 6.86, state/KV (98304 ctx) 2.33, activations 0.07, other (context, MTP, scratch, prompt path) 1.42 glm prefill: CUDA0 prestage buffer 160 -> 88 experts (what the pool can lend) glm fast: CUDA0 the pool (25 slots/layer) cannot lend 2849 MB to the vision encoder glm fast: CUDA0 layers [0,45) expert pool 8.49 GB, 25-25 slots/layer (1050 total) glm fast: CUDA0 RAM tier 95.11 GB pinned, 11792 slots glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-m\pack/expert_usage.txt, 42 layers) glm fast: CUDA0 tiers warm: 12096 experts (104.8 GB) in 26 s (4.03 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.241 ms on the CPU vs 0.362 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5 ## Engine log maya-maya-m.log: the last 25 lines glm stat: decode 74.31 ms/tok (13.46 tok/s) | vram hit 33.50% | ram fetches 82.25/tok | disk 0.00 reads/tok in 3.25 waits/tok, 0.02 ms/tok | promotions 35.75/tok | cpu lane 109.75/tok in 26.08 ms/tok | prompt 23.2 ms/tok | vram 873/966 ram 11190/11792 glm stat: decode 65.96 ms/tok (15.16 tok/s) | vram hit 47.58% | ram fetches 62.75/tok | disk 0.00 reads/tok in 4.25 waits/tok, 0.01 ms/tok | promotions 30.12/tok | cpu lane 87.12/tok in 20.71 ms/tok | prompt 0.6 ms/tok | vram 866/966 ram 11215/11792 load: special_eot_id is not in special_eog_ids - the tokenizer config may be incorrect load: special_eom_id is not in special_eog_ids - the tokenizer config may be incorrect strata-vision: warmed up at 1024 image tokens ding ring 96 experts (823 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 10.68 of 19.99 GB in use - dense weights 6.86, state/KV (98304 ctx) 2.33, activations 0.07, other (context, MTP, scratch, prompt path) 1.42 glm prefill: CUDA0 prestage buffer 160 -> 88 experts (what the pool can lend) glm fast: CUDA0 the pool (25 slots/layer) cannot lend 2849 MB to the vision encoder glm fast: CUDA0 layers [0,45) expert pool 8.49 GB, 25-25 slots/layer (1050 total) glm fast: CUDA0 RAM tier 95.11 GB pinned, 11792 slots glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-m\pack/expert_usage.txt, 42 layers) glm fast: CUDA0 warming the expert tiers 10% (10.5 of 104.8 GB, 7 s) glm fast: CUDA0 warming the expert tiers 20% (21.0 of 104.8 GB, 9 s) glm fast: CUDA0 warming the expert tiers 30% (31.5 of 104.8 GB, 12 s) glm fast: CUDA0 warming the expert tiers 40% (41.9 of 104.8 GB, 14 s) glm fast: CUDA0 warming the expert tiers 50% (52.4 of 104.8 GB, 16 s) glm fast: CUDA0 warming the expert tiers 60% (62.9 of 104.8 GB, 18 s) glm fast: CUDA0 warming the expert tiers 70% (73.4 of 104.8 GB, 20 s) glm fast: CUDA0 warming the expert tiers 80% (83.8 of 104.8 GB, 22 s) glm fast: CUDA0 warming the expert tiers 90% (94.3 of 104.8 GB, 24 s) glm fast: CUDA0 warming the expert tiers 100% (104.8 of 104.8 GB, 26 s) glm fast: CUDA0 tiers warm: 12096 experts (104.8 GB) in 26 s (4.03 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.241 ms on the CPU vs 0.362 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5 strata generate: glm5-next serve (M3.1): GEN <max_new> [keys] <ids>, GENI <max_new> [keys] <embeddings> <ids>; QUIT to end ## Setup maya-maya-s-v2-iq2_xxs.json model Maya-S-v2-IQ2_XXS, context 122880, GPUs [0], images on, settings {"STRATA_GLM_RAM_GB": "110", "STRATA_GLM_VISION_LEND_MB": "2900"} model folder C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs: 96.5 GB of GGUF, 1087 GB free, not a hard disk ## Engine log maya-maya-s-v2-iq2_xxs.log: the speed and memory lines (last 80 of 144) glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 23 s (3.69 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.215 ms on the CPU vs 0.307 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5 glm prefill: CUDA0 chunks of 17600 tokens (mixer sub-batches of 1024), borrowing 4270 MB of the expert pool while a prompt runs (activations 2919, weight scratch 96, expert staging 86, prestage 1153: 160 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 11.40 of 19.99 GB in use - dense weights 6.86, state/KV (131072 ctx) 3.06, activations 0.06, other (context, MTP, scratch, prompt path) 1.42 glm fast: CUDA0 layers [0,45) expert pool 7.79 GB, 28-28 slots/layer (1176 total) glm fast: CUDA0 RAM tier 78.11 GB pinned, 11792 slots glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs\pack/expert_usage.txt, 42 layers) glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 23 s (3.68 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.144 ms on the CPU vs 0.304 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 5 6 glm stat: decode 75.97 ms/tok (13.16 tok/s) | vram hit 37.49% | ram fetches 63.67/tok | disk 0.00 reads/tok in 8.81 waits/tok, 0.03 ms/tok | promotions 56.74/tok | cpu lane 133.43/tok in 27.79 ms/tok | prompt 6.2 ms/tok | vram 1102/1176 ram 10941/11792 glm stat: decode 75.39 ms/tok (13.26 tok/s) | vram hit 39.72% | ram fetches 62.65/tok | disk 0.00 reads/tok in 6.86 waits/tok, 0.02 ms/tok | promotions 56.55/tok | cpu lane 130.14/tok in 27.34 ms/tok | prompt 2.7 ms/tok | vram 1111/1176 ram 10929/11792 glm stat: decode 76.57 ms/tok (13.06 tok/s) | vram hit 42.94% | ram fetches 59.47/tok | disk 0.00 reads/tok in 5.20 waits/tok, 0.02 ms/tok | promotions 55.54/tok | cpu lane 123.54/tok in 26.05 ms/tok | prompt 1.3 ms/tok | vram 1103/1176 ram 10953/11792 glm stat: decode 74.90 ms/tok (13.35 tok/s) | vram hit 41.16% | ram fetches 61.51/tok | disk 0.00 reads/tok in 6.96 waits/tok, 0.02 ms/tok | promotions 55.91/tok | cpu lane 126.79/tok in 26.52 ms/tok | prompt 2.6 ms/tok | vram 1105/1176 ram 10932/11792 glm stat: decode 72.38 ms/tok (13.82 tok/s) | vram hit 34.35% | ram fetches 64.62/tok | disk 0.00 reads/tok in 2.31 waits/tok, 0.01 ms/tok | promotions 54.00/tok | cpu lane 136.69/tok in 28.79 ms/tok | prompt 9.1 ms/tok | vram 1102/1176 ram 10947/11792 glm fast: CUDA0 VRAM before the expert pool: 10.66 of 19.99 GB in use - dense weights 6.86, state/KV (98304 ctx) 2.33, activations 0.06, other (context, MTP, scratch, prompt path) 1.42 glm fast: CUDA0 the vision encoder borrows the pool's tail (4.73 GB) while it encodes glm fast: CUDA0 layers [0,45) expert pool 8.63 GB, 31-31 slots/layer (1302 total) glm fast: CUDA0 RAM tier 77.83 GB pinned, 11750 slots glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs\pack/expert_usage.txt, 42 layers) glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 24 s (3.61 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.208 ms on the CPU vs 0.305 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5 glm fast: CUDA0 4.73 GB lent to the vision encoder (0 experts moved to colder slots, 588 dropped) glm fast: CUDA0 the vision encoder's 4.73 GB are back in the expert pool glm stat: decode 52.05 ms/tok (19.21 tok/s) | vram hit 44.56% | ram fetches 64.00/tok | disk 0.00 reads/tok in 0.62 waits/tok, 0.00 ms/tok | promotions 63.25/tok | cpu lane 98.25/tok in 20.55 ms/tok | prompt 18.7 ms/tok | vram 1163/1302 ram 10919/11750 glm stat: decode 49.51 ms/tok (20.20 tok/s) | vram hit 71.13% | ram fetches 29.12/tok | disk 0.00 reads/tok in 4.38 waits/tok, 0.01 ms/tok | promotions 29.38/tok | cpu lane 51.25/tok in 11.15 ms/tok | prompt 0.5 ms/tok | vram 1193/1302 ram 10889/11750 glm stat: decode 74.41 ms/tok (13.44 tok/s) | vram hit 41.29% | ram fetches 74.73/tok | disk 0.00 reads/tok in 6.17 waits/tok, 0.02 ms/tok | promotions 57.27/tok | cpu lane 111.07/tok in 23.07 ms/tok | prompt 8.4 ms/tok | vram 1235/1302 ram 10810/11750 glm stat: decode 76.24 ms/tok (13.12 tok/s) | vram hit 41.86% | ram fetches 74.55/tok | disk 0.00 reads/tok in 7.21 waits/tok, 0.02 ms/tok | promotions 59.00/tok | cpu lane 110.83/tok in 23.36 ms/tok | prompt 3.1 ms/tok | vram 1236/1302 ram 10816/11750 glm stat: decode 76.85 ms/tok (13.01 tok/s) | vram hit 45.36% | ram fetches 70.79/tok | disk 0.00 reads/tok in 5.64 waits/tok, 0.02 ms/tok | promotions 58.48/tok | cpu lane 104.64/tok in 21.82 ms/tok | prompt 1.2 ms/tok | vram 1237/1302 ram 10810/11750 glm stat: decode 73.66 ms/tok (13.58 tok/s) | vram hit 44.51% | ram fetches 70.39/tok | disk 0.00 reads/tok in 6.16 waits/tok, 0.02 ms/tok | promotions 57.31/tok | cpu lane 105.71/tok in 22.25 ms/tok | prompt 3.0 ms/tok | vram 1238/1302 ram 10812/11750 glm stat: decode 71.14 ms/tok (14.06 tok/s) | vram hit 38.57% | ram fetches 74.85/tok | disk 0.00 reads/tok in 1.23 waits/tok, 0.01 ms/tok | promotions 53.77/tok | cpu lane 114.46/tok in 24.39 ms/tok | prompt 15.5 ms/tok | vram 1231/1302 ram 10816/11750 glm fast: CUDA0 VRAM before the expert pool: 11.03 of 19.99 GB in use - dense weights 6.86, state/KV (114688 ctx) 2.70, activations 0.06, other (context, MTP, scratch, prompt path) 1.42 glm fast: CUDA0 the vision encoder borrows the pool's tail (4.45 GB) while it encodes glm fast: CUDA0 layers [0,45) expert pool 8.07 GB, 29-29 slots/layer (1218 total) glm fast: CUDA0 RAM tier 78.11 GB pinned, 11792 slots glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs\pack/expert_usage.txt, 42 layers) glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 23 s (3.68 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.206 ms on the CPU vs 0.305 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5 glm fast: CUDA0 4.45 GB lent to the vision encoder (0 experts moved to colder slots, 546 dropped) glm fast: CUDA0 the vision encoder's 4.45 GB are back in the expert pool glm stat: decode 53.10 ms/tok (18.83 tok/s) | vram hit 44.30% | ram fetches 65.50/tok | disk 0.00 reads/tok in 0.50 waits/tok, 0.00 ms/tok | promotions 63.50/tok | cpu lane 97.75/tok in 21.05 ms/tok | prompt 18.7 ms/tok | vram 1110/1218 ram 10965/11792 glm stat: decode 50.47 ms/tok (19.81 tok/s) | vram hit 70.41% | ram fetches 31.25/tok | disk 0.00 reads/tok in 3.88 waits/tok, 0.01 ms/tok | promotions 30.50/tok | cpu lane 51.88/tok in 11.13 ms/tok | prompt 0.5 ms/tok | vram 1115/1218 ram 10961/11792 glm prefill: CUDA0 chunks of 18240 tokens (mixer sub-batches of 1024), borrowing 4346 MB of the expert pool while a prompt runs (activations 2995, weight scratch 96, expert staging 86, prestage 1153: 160 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 11.21 of 19.99 GB in use - dense weights 6.86, state/KV (122880 ctx) 2.88, activations 0.06, other (context, MTP, scratch, prompt path) 1.42 glm fast: CUDA0 the vision encoder borrows the pool's tail (4.45 GB) while it encodes glm fast: CUDA0 layers [0,45) expert pool 8.07 GB, 29-29 slots/layer (1218 total) glm fast: CUDA0 RAM tier 78.11 GB pinned, 11792 slots glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs\pack/expert_usage.txt, 42 layers) glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 23 s (3.68 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.200 ms on the CPU vs 0.305 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5 glm fast: CUDA0 VRAM before the expert pool: 11.40 of 19.99 GB in use - dense weights 6.86, state/KV (131072 ctx) 3.06, activations 0.06, other (context, MTP, scratch, prompt path) 1.42 glm fast: CUDA0 the pool (28 slots/layer) cannot lend 2849 MB to the vision encoder glm fast: CUDA0 layers [0,45) expert pool 7.79 GB, 28-28 slots/layer (1176 total) glm fast: CUDA0 RAM tier 78.11 GB pinned, 11792 slots glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs\pack/expert_usage.txt, 42 layers) glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 23 s (3.69 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.131 ms on the CPU vs 0.306 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 2 2 3 4 4 5 6 glm fast: CUDA0 VRAM before the expert pool: 11.21 of 19.99 GB in use - dense weights 6.86, state/KV (122880 ctx) 2.88, activations 0.06, other (context, MTP, scratch, prompt path) 1.42 glm fast: CUDA0 the vision encoder borrows the pool's tail (4.45 GB) while it encodes glm fast: CUDA0 layers [0,45) expert pool 8.07 GB, 29-29 slots/layer (1218 total) glm fast: CUDA0 RAM tier 78.11 GB pinned, 11792 slots glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs\pack/expert_usage.txt, 42 layers) glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 24 s (3.65 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.136 ms on the CPU vs 0.305 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 4 4 5 6 glm fast: CUDA0 4.45 GB lent to the vision encoder (0 experts moved to colder slots, 546 dropped) glm fast: CUDA0 the vision encoder's 4.45 GB are back in the expert pool glm stat: decode 52.55 ms/tok (19.03 tok/s) | vram hit 39.41% | ram fetches 50.25/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 50.25/tok | cpu lane 127.88/tok in 26.02 ms/tok | prompt 10.4 ms/tok | vram 1018/1218 ram 11076/11792 glm stat: decode 49.15 ms/tok (20.35 tok/s) | vram hit 67.47% | ram fetches 27.75/tok | disk 0.00 reads/tok in 2.88 waits/tok, 0.01 ms/tok | promotions 29.62/tok | cpu lane 65.00/tok in 14.13 ms/tok | prompt 0.4 ms/tok | vram 1111/1218 ram 10969/11792 glm stat: decode 74.50 ms/tok (13.42 tok/s) | vram hit 38.39% | ram fetches 53.91/tok | disk 0.00 reads/tok in 6.35 waits/tok, 0.02 ms/tok | promotions 52.58/tok | cpu lane 142.79/tok in 29.78 ms/tok | prompt 5.1 ms/tok | vram 1143/1218 ram 10909/11792 glm stat: decode 74.07 ms/tok (13.50 tok/s) | vram hit 41.14% | ram fetches 52.48/tok | disk 0.00 reads/tok in 5.90 waits/tok, 0.02 ms/tok | promotions 51.84/tok | cpu lane 136.78/tok in 28.89 ms/tok | prompt 2.7 ms/tok | vram 1146/1218 ram 10903/11792 glm stat: decode 77.74 ms/tok (12.86 tok/s) | vram hit 40.99% | ram fetches 52.41/tok | disk 0.00 reads/tok in 5.58 waits/tok, 0.02 ms/tok | promotions 52.20/tok | cpu lane 138.02/tok in 28.94 ms/tok | prompt 1.2 ms/tok | vram 1152/1218 ram 10899/11792 glm stat: decode 72.92 ms/tok (13.71 tok/s) | vram hit 42.65% | ram fetches 51.56/tok | disk 0.00 reads/tok in 6.01 waits/tok, 0.02 ms/tok | promotions 51.49/tok | cpu lane 132.71/tok in 27.46 ms/tok | prompt 2.7 ms/tok | vram 1152/1218 ram 10905/11792 glm stat: decode 73.04 ms/tok (13.69 tok/s) | vram hit 33.83% | ram fetches 57.31/tok | disk 0.00 reads/tok in 1.38 waits/tok, 0.01 ms/tok | promotions 51.15/tok | cpu lane 146.46/tok in 31.64 ms/tok | prompt 9.0 ms/tok | vram 1137/1218 ram 10906/11792 glm prefill: CUDA0 chunks of 18240 tokens (mixer sub-batches of 1024), borrowing 4346 MB of the expert pool while a prompt runs (activations 2995, weight scratch 96, expert staging 86, prestage 1153: 160 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 11.21 of 19.99 GB in use - dense weights 6.86, state/KV (122880 ctx) 2.88, activations 0.06, other (context, MTP, scratch, prompt path) 1.42 glm fast: CUDA0 the vision encoder borrows the pool's tail (4.45 GB) while it encodes glm fast: CUDA0 layers [0,45) expert pool 8.07 GB, 29-29 slots/layer (1218 total) glm fast: CUDA0 RAM tier 78.11 GB pinned, 11792 slots glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs\pack/expert_usage.txt, 42 layers) glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 24 s (3.59 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.187 ms on the CPU vs 0.304 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 4 5 ## Engine log maya-maya-s-v2-iq2_xxs.log: the last 25 lines glm stat: decode 49.15 ms/tok (20.35 tok/s) | vram hit 67.47% | ram fetches 27.75/tok | disk 0.00 reads/tok in 2.88 waits/tok, 0.01 ms/tok | promotions 29.62/tok | cpu lane 65.00/tok in 14.13 ms/tok | prompt 0.4 ms/tok | vram 1111/1218 ram 10969/11792 glm stat: decode 74.50 ms/tok (13.42 tok/s) | vram hit 38.39% | ram fetches 53.91/tok | disk 0.00 reads/tok in 6.35 waits/tok, 0.02 ms/tok | promotions 52.58/tok | cpu lane 142.79/tok in 29.78 ms/tok | prompt 5.1 ms/tok | vram 1143/1218 ram 10909/11792 glm stat: decode 74.07 ms/tok (13.50 tok/s) | vram hit 41.14% | ram fetches 52.48/tok | disk 0.00 reads/tok in 5.90 waits/tok, 0.02 ms/tok | promotions 51.84/tok | cpu lane 136.78/tok in 28.89 ms/tok | prompt 2.7 ms/tok | vram 1146/1218 ram 10903/11792 glm stat: decode 77.74 ms/tok (12.86 tok/s) | vram hit 40.99% | ram fetches 52.41/tok | disk 0.00 reads/tok in 5.58 waits/tok, 0.02 ms/tok | promotions 52.20/tok | cpu lane 138.02/tok in 28.94 ms/tok | prompt 1.2 ms/tok | vram 1152/1218 ram 10899/11792 glm stat: decode 72.92 ms/tok (13.71 tok/s) | vram hit 42.65% | ram fetches 51.56/tok | disk 0.00 reads/tok in 6.01 waits/tok, 0.02 ms/tok | promotions 51.49/tok | cpu lane 132.71/tok in 27.46 ms/tok | prompt 2.7 ms/tok | vram 1152/1218 ram 10905/11792 glm stat: decode 73.04 ms/tok (13.69 tok/s) | vram hit 33.83% | ram fetches 57.31/tok | disk 0.00 reads/tok in 1.38 waits/tok, 0.01 ms/tok | promotions 51.15/tok | cpu lane 146.46/tok in 31.64 ms/tok | prompt 9.0 ms/tok | vram 1137/1218 ram 10906/11792 glm prefill: CUDA0 chunks of 18240 tokens (mixer sub-batches of 1024), borrowing 4346 MB of the expert pool while a prompt runs (activations 2995, weight scratch 96, expert staging 86, prestage 1153: 160 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 11.21 of 19.99 GB in use - dense weights 6.86, state/KV (122880 ctx) 2.88, activations 0.06, other (context, MTP, scratch, prompt path) 1.42 glm fast: CUDA0 the vision encoder borrows the pool's tail (4.45 GB) while it encodes glm fast: CUDA0 layers [0,45) expert pool 8.07 GB, 29-29 slots/layer (1218 total) glm fast: CUDA0 RAM tier 78.11 GB pinned, 11792 slots glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs\pack/expert_usage.txt, 42 layers) glm fast: CUDA0 warming the expert tiers 10% (8.6 of 86.0 GB, 7 s) glm fast: CUDA0 warming the expert tiers 20% (17.2 of 86.0 GB, 9 s) glm fast: CUDA0 warming the expert tiers 30% (25.8 of 86.0 GB, 11 s) glm fast: CUDA0 warming the expert tiers 40% (34.4 of 86.0 GB, 13 s) glm fast: CUDA0 warming the expert tiers 50% (43.0 of 86.0 GB, 15 s) glm fast: CUDA0 warming the expert tiers 60% (51.7 of 86.0 GB, 16 s) glm fast: CUDA0 warming the expert tiers 70% (60.3 of 86.0 GB, 18 s) glm fast: CUDA0 warming the expert tiers 80% (68.8 of 86.0 GB, 20 s) glm fast: CUDA0 warming the expert tiers 90% (77.4 of 86.0 GB, 22 s) glm fast: CUDA0 warming the expert tiers 100% (86.0 of 86.0 GB, 24 s) glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 24 s (3.59 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.187 ms on the CPU vs 0.304 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 4 5 strata generate: glm5-next serve (M3.1): GEN <max_new> [keys] <ids>, GENI <max_new> [keys] <embeddings> <ids>; QUIT to end ## Benchmark (maya-bench.txt, from --bench) Project Maya v1.0.16 benchmark, 2026-10-09 02:34 GPUs: NVIDIA RTX 4000 Ada Generation 20 GB; RAM 255 GB; CPU Intel(R) Xeon(R) w7-3455 setup: maya-maya-s-v2-iq2_xxs.json, context 131072, GPUs [0] decode (writing the answer): mean 13.3 tokens/s over 3 answers of 256 tokens (greedy, thinking off) 12.9 tokens/s Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring. 14.1 tokens/s Explain how photosynthesis works, step by step, for a high-school student. 13.0 tokens/s Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript. prefill (reading the prompt): 484 tokens/s, 2048 tokens prefill (reading the prompt): 782 tokens/s, 8192 tokens engine lines: glm prefill: CUDA0 chunks of 17600 tokens (mixer sub-batches of 1024), borrowing 4270 MB of the expert pool while a prompt runs (activations 2919, weight scratch 96, expert staging 86, prestage 1153: 160 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 11.40 of 19.99 GB in use - dense weights 6.86, state/KV (131072 ctx) 3.06, activations 0.06, other (context, MTP, scratch, prompt path) 1.42 glm fast: CUDA0 layers [0,45) expert pool 7.79 GB, 28-28 slots/layer (1176 total) glm fast: CUDA0 RAM tier 78.11 GB pinned, 11792 slots glm fast: CUDA0 the tiers follow this machine's usage profile (C:\LocalAI\Maya-data\models\glm-5.3-flash-maya-s-v2-iq2_xxs\pack/expert_usage.txt, 42 layers) glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 23 s (3.68 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.191 ms on the CPU vs 0.303 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5 glm stat: decode 72.98 ms/tok (13.70 tok/s) | vram hit 41.21% | ram fetches 74.67/tok | disk 0.00 reads/tok in 7.42 waits/tok, 0.03 ms/tok | promotions 47.84/tok | cpu lane 111.86/tok in 23.42 ms/tok | prompt 74.8 ms/tok | vram 1112/1176 ram 10954/11792 glm stat: decode 77.67 ms/tok (12.88 tok/s) | vram hit 34.66% | ram fetches 83.75/tok | disk 0.00 reads/tok in 8.01 waits/tok, 0.03 ms/tok | promotions 52.64/tok | cpu lane 126.33/tok in 26.44 ms/tok | prompt 79.6 ms/tok | vram 1105/1176 ram 10946/11792 glm stat: decode 70.89 ms/tok (14.11 tok/s) | vram hit 45.85% | ram fetches 70.16/tok | disk 0.00 reads/tok in 6.38 waits/tok, 0.02 ms/tok | promotions 44.21/tok | cpu lane 104.28/tok in 21.93 ms/tok | prompt 84.4 ms/tok | vram 1086/1176 ram 10974/11792 glm stat: decode 76.87 ms/tok (13.01 tok/s) | vram hit 35.51% | ram fetches 82.91/tok | disk 0.00 reads/tok in 7.18 waits/tok, 0.02 ms/tok | promotions 51.63/tok | cpu lane 125.20/tok in 25.93 ms/tok | prompt 84.4 ms/tok | vram 1100/1176 ram 10956/11792 glm stat (prompt only): prompt 2.2 ms/tok | vram 808/1176 ram 11288/11792 glm slots: set aside a conversation of 2047 tokens (0.19 GB, 0.16 s); 1 kept, 0.2 GB glm stat (prompt only): prompt 2.1 ms/tok | vram 851/1176 ram 11245/11792 glm slots: set aside a conversation of 2047 tokens (0.19 GB, 0.15 s); 2 kept, 0.4 GB glm stat (prompt only): prompt 1.3 ms/tok | vram 727/1176 ram 11369/11792 ``` </details>
Author
Owner

@mw00 commented on GitHub (Oct 9, 2026):

Thank you for the detailed report. v1.0.27 has two changes for it:

  • The races behind your --calibrate crash are fixed (#39). The illegal memory access you saw there came from the expert tiers' prompt lending, and so did #50 and #53. A hang in that same handoff may have shared the cause.

  • A stuck prompt can no longer wait forever. The engine's watchdog now covers the GLM engine too. When a request finishes no prompt layer and no token for 3 minutes, the engine stops with an error, and the next request starts it again. It writes two things:

    • a no progress for 180 s during a request (<stage>) line in its log, which names the stage it was stuck in;
    • on Windows, a strata-stall-<pid>.dmp file in the engine's folder, with every thread's stack.

    The server's own stall check had not fired because it treats a spinning CPU thread as work.

Please update (About > Update, or git pull and START-MAYA.bat). If a start still hangs, please attach that log line and the .dmp here. Keeping this open until we hear back.

<!-- gh-comment-id:6088023117 --> @mw00 commented on GitHub (Oct 9, 2026): Thank you for the detailed report. v1.0.27 has two changes for it: - **The races behind your `--calibrate` crash are fixed** (#39). The illegal memory access you saw there came from the expert tiers' prompt lending, and so did #50 and #53. A hang in that same handoff may have shared the cause. - **A stuck prompt can no longer wait forever.** The engine's watchdog now covers the GLM engine too. When a request finishes no prompt layer and no token for 3 minutes, the engine stops with an error, and the next request starts it again. It writes two things: - a `no progress for 180 s during a request (<stage>)` line in its log, which names the stage it was stuck in; - on Windows, a `strata-stall-<pid>.dmp` file in the engine's folder, with every thread's stack. The server's own stall check had not fired because it treats a spinning CPU thread as work. Please update (About > Update, or `git pull` and `START-MAYA.bat`). If a start still hangs, please attach that log line and the `.dmp` here. Keeping this open until we hear back.
Author
Owner

@mw00 commented on GitHub (Oct 12, 2026):

Closing: since then the engine's watchdog stops a prompt that makes no progress for 3 minutes, names the stage it was stuck in, and on Windows writes a .dmp of every thread. If a first prompt hangs again on v1.1.3, please attach that log line and the .dmp here and we'll reopen.

<!-- gh-comment-id:6125946916 --> @mw00 commented on GitHub (Oct 12, 2026): Closing: since then the engine's watchdog stops a prompt that makes no progress for 3 minutes, names the stage it was stuck in, and on Windows writes a `.dmp` of every thread. If a first prompt hangs again on v1.1.3, please attach that log line and the `.dmp` here and we'll reopen.
Sign in to join this conversation.
No labels
pull-request
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
mw00/project-maya#18
No description provided.