[GH-ISSUE #89] Speed report: 4x RTX 4090 24 GB, Xeon w7-3445, 62 GB RAM - Maya-S24, 118 tok/s decode / 4129 tok/s prefill (8K), 262K context runs + question about an uncensored variant #34

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

Originally created by @0xPreDa on GitHub (Oct 10, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/89

Following the README's "Measured by users" section and CONTRIBUTING.md, here is a speed report for a machine that is not in the table yet: 4x RTX 4090 24 GB, Maya-S24, 118 tok/s decode / 4129 tok/s prefill (8K) on v1.0.31. maya-bench.txt and maya-report.txt are attached. At the end there is also a question about an uncensored variant.

Hardware

GPU 4x NVIDIA RTX 4090 24 GB (sm_89), PCIe 4.0 x16 each, no P2P. A GTX 1080 Ti in the box is not used.
CPU Intel Xeon w7-3445 (20 cores / 40 threads, AVX-512), one socket
RAM 62 GB
Disk No NVMe. The model is on a ZFS raidz1 of 3x Samsung 870 QVO 8 TB (SATA)
OS Debian 13, kernel 6.12, driver 580.178.04, CUDA 12.9
Model Maya-S24, layer split auto over the four 4090s ([0,13) [13,24) [24,35) [35,45))

./maya.sh --bench (131K context, STRATA_GLM_RAM_GB=40)

Setting Decode Prefill 2K Prefill 8K
v1.0.20, default prefill (512-token chunks) 76.0 tok/s 2478 tok/s 3480 tok/s
v1.0.27, --prefill auto (8192-token chunks on the split) 117.0 tok/s 1823 tok/s 1962 tok/s
v1.0.27, --prefill 512 117.0 tok/s 2463 tok/s 3487 tok/s
v1.0.27, --prefill 2048 118.0 tok/s 1984 tok/s 4227 tok/s
v1.0.27, --prefill 2048, measured again the next day 110.8 tok/s 1823 tok/s 3769 tok/s
v1.0.31, --prefill 2048 (same session as the row above) 118.0 tok/s 1935 tok/s 4129 tok/s
v1.0.31, --prefill 2048 + PREFETCH_N=1 AT=fetch BLOCKS=4 RANK=2 116.8 tok/s 1976 tok/s 4206 tok/s
  • The decode gain from v1.0.20 to v1.0.27 comes from the MTP NextN block, which v1.0.27 now loads from the GGUF. With v1.0.20 the pack builder logged "NextN/MTP: dropped 26 tensors".
  • Engine stats: about 99% VRAM hit, 0.00 disk reads per token, and a load in 85-93 s.
  • v1.0.31 compared with v1.0.27 in the same session: decode +6%, 8K prefill +10%. The tunable prefetch (#84) brings nothing here, which makes sense with about 99% of the experts already in VRAM.
  • Possible finding: on this 4-GPU split, --prefill auto chooses 8192-token chunks that borrow about 2 GB of each card's expert pool. That roughly halves prefill compared with 512 or 2048. On 24 GB cards, the auto setting may be too aggressive for a split.

Rows from the README table, for comparison (the models differ):

Machine Model Decode Prefill 8K
2x CMP 170HX 64 GB (#22) Maya-M 61.3 tok/s 514 tok/s
RTX 4090 24 GB + 192 GB DDR5 (#63) Maya-L 16.4 tok/s 1371 tok/s
2x Tesla V100 32 GB (maintainer) Maya-S up to 40 tok/s up to 670 tok/s
4x RTX 4090 24 GB (this report, v1.0.31) Maya-S24 118.0 tok/s 4129 tok/s

Real workload (OpenAI API, temperature 1.0, thinking on)

Maya's serve/server.py runs behind our own model manager. A fixed set of 4 agent-style coding prompts (150 to 13K tokens) was run with a warm cache:

Generation TTFT p50 Requests/s
v1.0.20, 32K context 65.3 tok/s 334 ms 0.07
v1.0.27, 131K, --prefill 2048 98.3 tok/s 308 ms 0.11
v1.0.27, 262K, --prefill 2048 96.8 tok/s 308 ms 0.11

The instance now runs v1.0.31 at 262K.

262K context, which is above the 131072 maximum that setup offers but well inside the 1M training context:

  • KV went from 1.92 to 3.62 GB, and VRAM for experts from 80.4 to 79.1 GB.
  • A real 200K-token code prompt was read cold in 39 s (about 5.1K tok/s). Decode at 200K ran at 84 tok/s.
  • The follow-up turn was served from the saved slot (TTFT 0.3 s), and the answers were correct.
  • There were no engine errors. A saved slot takes about 15 KB per token.

Two notes from the setup

  1. ZFS hides free RAM from MemAvailable. After the 95 GB download, the ZFS ARC held 54 GB, and MemAvailable reported about 5 GB, even though the ARC gives memory back under pressure. Because the RAM tier is sized from MemAvailable, I pinned it with STRATA_GLM_RAM_GB=40 (this may be related to #77). The installer or the README could mention it for ZFS users.
  2. Downloads: the single-stream curl reached about 4 MB/s here. When I switched to hf download (xet), it did not resume from its own .incomplete files after an interruption, so I renamed the partial files and resumed them with curl -C -. All sha256 checks passed.

Question: an uncensored GLM-5.3-Flash variant for red-team / penetration-testing use

We use Maya for authorized security work: internal red-team exercises, penetration-test reporting and exploit analysis on systems we are contracted to test. On these topics the stock model sometimes refuses or hedges, even when the context makes clear that the work is authorized.

  • Would you consider publishing an uncensored or abliterated variant of GLM-5.3-Flash in Maya's quant formats (Maya-S24 would be ideal for 24 GB cards)?
  • If that is out of scope for the project, can a community abliterated GLM-5.3-Flash GGUF be used with --gguf-dir? Does it need to follow a particular quant layout, such as IQ2_XXS experts with Q4_K attention, to work with the GLM pack and MTP?

Thanks for Maya. Going from a 27B dense model to a 321B MoE at about 100 tok/s on this machine is impressive.

maya-bench.txt (v1.0.31, 131K, --prefill 2048)
Project Maya v1.0.31 benchmark, 2026-10-10 17:20
GPUs: NVIDIA GeForce RTX 4090 24 GB, NVIDIA GeForce RTX 4090 24 GB, NVIDIA GeForce RTX 4090 24 GB, NVIDIA GeForce RTX 4090 24 GB, NVIDIA GeForce GTX 1080 Ti 11 GB; RAM 62 GB; CPU Intel(R) Xeon(R) w7-3445
setup: maya-p2048.json, context 131072, GPUs [0, 1, 2, 3]
decode (writing the answer): mean 118.0 tokens/s over 3 answers of 256 tokens (greedy, thinking off)
   122.2 tokens/s  Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring.
   109.7 tokens/s  Explain how photosynthesis works, step by step, for a high-school student.
   122.1 tokens/s  Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript.
prefill (reading the prompt): 1935 tokens/s, 2048 tokens
prefill (reading the prompt): 4129 tokens/s, 8192 tokens

engine lines:
glm split auto: the host reads RAM at 60 GB/s (a part's CPU lane: 15); the routes from the usage counts; a token costs the parts added
glm split auto: layers [0, 13) on CUDA0, [13, 24) on CUDA1, [24, 35) on CUDA2, [35, 45) on CUDA3 - a token 8.5 ms predicted (CUDA0 2.4 ms, 288 slots a layer | CUDA1 2.1 ms, 280 slots a layer | CUDA2 1.9 ms, 284 slots a layer | CUDA3 2.2 ms, 288 slots a layer), 100% of the routed experts in VRAM
glm prefill: CUDA0 chunks of 2048 tokens (--prefill 2048; mixer sub-batches of 1024), borrowing 1067 MB of the expert pool while a prompt runs (activations 868, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 2.83 of 23.51 GB in use - dense weights 1.58, state/KV (131072 ctx) 0.49, activations 0.06, other (context, MTP, scratch, prompt path) 0.70
glm fast: CUDA0 layers [0,13) expert pool 19.39 GB, 288-288 slots/layer (2880 total)
glm fast: CUDA0 RAM tier 1.63 GB pinned, 242 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (/data/models-ple/maya/Maya-S24/pack/expert_usage.txt, 10 layers)
glm fast: CUDA0 tiers warm: 2880 experts (20.8 GB) in 17 s (1.23 GB/s)
glm fast: CUDA0 CPU lane: 17 threads (one pool, shared by the split's GPUs), an expert 0.162 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 5
glm prefill: CUDA1 chunks of 2048 tokens (--prefill 2048; mixer sub-batches of 1024), borrowing 1060 MB of the expert pool while a prompt runs (activations 868, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned)
glm fast: CUDA1 VRAM before the expert pool: 2.29 of 23.52 GB in use - dense weights 1.10, state/KV (131072 ctx) 0.48, activations 0.05, other (context, MTP, scratch, prompt path) 0.66
glm fast: CUDA1 layers [13,24) expert pool 20.48 GB, 285-285 slots/layer (3135 total)
glm fast: CUDA1 RAM tier 1.76 GB pinned, 269 slots
glm fast: CUDA1 the tiers follow this machine's usage profile (/data/models-ple/maya/Maya-S24/pack/expert_usage.txt, 11 layers)
glm fast: CUDA1 tiers warm: 3168 experts (22.2 GB) in 18 s (1.24 GB/s)
glm fast: CUDA1 CPU lane: 17 threads (one pool, shared by the split's GPUs), an expert 0.130 ms on the CPU vs 0.283 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 4 4 5 6
glm prefill: CUDA2 chunks of 2048 tokens (--prefill 2048; mixer sub-batches of 1024), borrowing 1060 MB of the expert pool while a prompt runs (activations 868, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned)
glm fast: CUDA2 VRAM before the expert pool: 2.13 of 23.52 GB in use - dense weights 1.08, state/KV (131072 ctx) 0.33, activations 0.05, other (context, MTP, scratch, prompt path) 0.67
glm fast: CUDA2 layers [24,35) expert pool 20.69 GB, 288-288 slots/layer (3168 total)
glm fast: CUDA2 RAM tier 1.54 GB pinned, 236 slots
glm fast: CUDA2 the tiers follow this machine's usage profile (/data/models-ple/maya/Maya-S24/pack/expert_usage.txt, 11 layers)
glm fast: CUDA2 tiers warm: 3168 experts (22.2 GB) in 19 s (1.16 GB/s)
glm fast: CUDA2 CPU lane: 17 threads (one pool, shared by the split's GPUs), an expert 0.128 ms on the CPU vs 0.282 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 4 4 5 6
glm prefill: CUDA3 chunks of 2048 tokens (--prefill 2048; mixer sub-batches of 1024), borrowing 1067 MB of the expert pool while a prompt runs (activations 868, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA3 VRAM before the expert pool: 2.99 of 23.52 GB in use - dense weights 1.49, state/KV (131072 ctx) 0.62, activations 0.07, other (context, MTP, scratch, prompt path) 0.81
glm fast: CUDA3 layers [35,45) expert pool 19.79 GB, 261-261 slots/layer (2871 total)
glm fast: CUDA3 RAM tier 3.84 GB pinned, 554 slots
glm fast: CUDA3 the tiers follow this machine's usage profile (/data/models-ple/maya/Maya-S24/pack/expert_usage.txt, 11 layers)
glm fast: CUDA3 tiers warm: 3168 experts (23.4 GB) in 19 s (1.25 GB/s)
glm fast: CUDA3 CPU lane: 17 threads (one pool, shared by the split's GPUs), an expert 0.139 ms on the CPU vs 0.285 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 5 5
glm split: layers [0, 13) on CUDA0, [13, 24) on CUDA1, [24, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token)
glm stat: decode 8.90 ms/tok (112.34 tok/s) | vram hit 98.65% | ram fetches 0.50/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.50/tok | cpu lane 4.38/tok in 1.08 ms/tok | prompt 13.7 ms/tok | vram 11925/12054 ram 459/1301
glm stat: decode 8.19 ms/tok (122.17 tok/s) | vram hit 99.22% | ram fetches 0.24/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.24/tok | cpu lane 2.52/tok in 0.62 ms/tok | prompt 13.5 ms/tok | vram 11925/12054 ram 459/1301
glm stat: decode 9.11 ms/tok (109.74 tok/s) | vram hit 98.86% | ram fetches 0.22/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.22/tok | cpu lane 3.95/tok in 0.89 ms/tok | prompt 13.6 ms/tok | vram 11925/12054 ram 459/1301
glm stat: decode 8.19 ms/tok (122.06 tok/s) | vram hit 98.50% | ram fetches 0.36/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.37/tok | cpu lane 4.89/tok in 1.05 ms/tok | prompt 13.7 ms/tok | vram 11925/12054 ram 459/1301
glm stat (prompt only): prompt 0.7 ms/tok | vram 11394/12054 ram 990/1301
glm slots: saved a 2047-token conversation (0.18 GB in 0.1 s); 1 kept, 0.18 GB
glm stat (prompt only): prompt 0.5 ms/tok | vram 11397/12054 ram 987/1301
glm slots: saved a 2047-token conversation (0.18 GB in 0.1 s); 2 kept, 0.36 GB
glm stat (prompt only): prompt 0.2 ms/tok | vram 11397/12054 ram 987/1301
maya-report.txt
## Maya
version 1.0.31, commit 823ddda 2026-10-10, Python 3.13.5, linux

## System
Linux-6.12.48+deb13-amd64-x86_64-with-glibc2.41

## 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 GeForce RTX 4090, 24564 MiB, 23317 MiB, 580.178.04, 4, 16, 16, 500.00 W, 33
1, NVIDIA GeForce RTX 4090, 24564 MiB, 23415 MiB, 580.178.04, 4, 16, 16, 500.00 W, 35
2, NVIDIA GeForce RTX 4090, 24564 MiB, 23437 MiB, 580.178.04, 4, 16, 16, 500.00 W, 34
3, NVIDIA GeForce RTX 4090, 24564 MiB, 23419 MiB, 580.178.04, 4, 16, 16, 500.00 W, 38
4, NVIDIA GeForce GTX 1080 Ti, 11264 MiB, 7 MiB, 580.178.04, 3, 16, 16, 250.00 W, 20

## CPU and RAM
Intel(R) Xeon(R) w7-3445, 40 threads, AVX-512
RAM 62.3 GB, 32.5 GB available now

## Disks
NAME MODEL                   ROTA TRAN     SIZE
sda  Samsung SSD 870 QVO 8TB    0 sata     7.3T
sdb  Samsung SSD 870 QVO 8TB    0 sata     7.3T
sdc  Samsung SSD 870 QVO 8TB    0 sata     7.3T
sdd  CT250MX500SSD1             0 sata   232.9G
sde  Virtual HDisk0             0 usb        0B
sr0  Virtual CDROM0             0 usb     1024M

## Engine build
{"archs": [89], "nvcc": "/usr/local/cuda/bin/nvcc", "host_compiler": null, "date": "2026-10-10 17:09"}

## Setup maya-p2048.json
model Maya-S24, context 131072, GPUs [0, 1, 2, 3], images off, settings {"STRATA_GLM_RAM_GB": "40"}
model folder /data/models-ple/maya/Maya-S24: 94.7 GB of GGUF, 7645 GB free, not a hard disk

## Engine log maya-maya-s24.log
not written yet (start Maya once and ask it something)

## Benchmark (maya-bench.txt, from --bench)
Project Maya v1.0.31 benchmark, 2026-10-10 17:20
GPUs: NVIDIA GeForce RTX 4090 24 GB, NVIDIA GeForce RTX 4090 24 GB, NVIDIA GeForce RTX 4090 24 GB, NVIDIA GeForce RTX 4090 24 GB, NVIDIA GeForce GTX 1080 Ti 11 GB; RAM 62 GB; CPU Intel(R) Xeon(R) w7-3445
setup: maya-p2048.json, context 131072, GPUs [0, 1, 2, 3]
decode (writing the answer): mean 118.0 tokens/s over 3 answers of 256 tokens (greedy, thinking off)
   122.2 tokens/s  Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring.
   109.7 tokens/s  Explain how photosynthesis works, step by step, for a high-school student.
   122.1 tokens/s  Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript.
prefill (reading the prompt): 1935 tokens/s, 2048 tokens
prefill (reading the prompt): 4129 tokens/s, 8192 tokens

engine lines:
glm split auto: the host reads RAM at 60 GB/s (a part's CPU lane: 15); the routes from the usage counts; a token costs the parts added
glm split auto: layers [0, 13) on CUDA0, [13, 24) on CUDA1, [24, 35) on CUDA2, [35, 45) on CUDA3 - a token 8.5 ms predicted (CUDA0 2.4 ms, 288 slots a layer | CUDA1 2.1 ms, 280 slots a layer | CUDA2 1.9 ms, 284 slots a layer | CUDA3 2.2 ms, 288 slots a layer), 100% of the routed experts in VRAM
glm prefill: CUDA0 chunks of 2048 tokens (--prefill 2048; mixer sub-batches of 1024), borrowing 1067 MB of the expert pool while a prompt runs (activations 868, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 2.83 of 23.51 GB in use - dense weights 1.58, state/KV (131072 ctx) 0.49, activations 0.06, other (context, MTP, scratch, prompt path) 0.70
glm fast: CUDA0 layers [0,13) expert pool 19.39 GB, 288-288 slots/layer (2880 total)
glm fast: CUDA0 RAM tier 1.63 GB pinned, 242 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (/data/models-ple/maya/Maya-S24/pack/expert_usage.txt, 10 layers)
glm fast: CUDA0 tiers warm: 2880 experts (20.8 GB) in 17 s (1.23 GB/s)
glm fast: CUDA0 CPU lane: 17 threads (one pool, shared by the split's GPUs), an expert 0.162 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 5
glm prefill: CUDA1 chunks of 2048 tokens (--prefill 2048; mixer sub-batches of 1024), borrowing 1060 MB of the expert pool while a prompt runs (activations 868, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned)
glm fast: CUDA1 VRAM before the expert pool: 2.29 of 23.52 GB in use - dense weights 1.10, state/KV (131072 ctx) 0.48, activations 0.05, other (context, MTP, scratch, prompt path) 0.66
glm fast: CUDA1 layers [13,24) expert pool 20.48 GB, 285-285 slots/layer (3135 total)
glm fast: CUDA1 RAM tier 1.76 GB pinned, 269 slots
glm fast: CUDA1 the tiers follow this machine's usage profile (/data/models-ple/maya/Maya-S24/pack/expert_usage.txt, 11 layers)
glm fast: CUDA1 tiers warm: 3168 experts (22.2 GB) in 18 s (1.24 GB/s)
glm fast: CUDA1 CPU lane: 17 threads (one pool, shared by the split's GPUs), an expert 0.130 ms on the CPU vs 0.283 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 4 4 5 6
glm prefill: CUDA2 chunks of 2048 tokens (--prefill 2048; mixer sub-batches of 1024), borrowing 1060 MB of the expert pool while a prompt runs (activations 868, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned)
glm fast: CUDA2 VRAM before the expert pool: 2.13 of 23.52 GB in use - dense weights 1.08, state/KV (131072 ctx) 0.33, activations 0.05, other (context, MTP, scratch, prompt path) 0.67
glm fast: CUDA2 layers [24,35) expert pool 20.69 GB, 288-288 slots/layer (3168 total)
glm fast: CUDA2 RAM tier 1.54 GB pinned, 236 slots
glm fast: CUDA2 the tiers follow this machine's usage profile (/data/models-ple/maya/Maya-S24/pack/expert_usage.txt, 11 layers)
glm fast: CUDA2 tiers warm: 3168 experts (22.2 GB) in 19 s (1.16 GB/s)
glm fast: CUDA2 CPU lane: 17 threads (one pool, shared by the split's GPUs), an expert 0.128 ms on the CPU vs 0.282 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 4 4 5 6
glm prefill: CUDA3 chunks of 2048 tokens (--prefill 2048; mixer sub-batches of 1024), borrowing 1067 MB of the expert pool while a prompt runs (activations 868, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA3 VRAM before the expert pool: 2.99 of 23.52 GB in use - dense weights 1.49, state/KV (131072 ctx) 0.62, activations 0.07, other (context, MTP, scratch, prompt path) 0.81
glm fast: CUDA3 layers [35,45) expert pool 19.79 GB, 261-261 slots/layer (2871 total)
glm fast: CUDA3 RAM tier 3.84 GB pinned, 554 slots
glm fast: CUDA3 the tiers follow this machine's usage profile (/data/models-ple/maya/Maya-S24/pack/expert_usage.txt, 11 layers)
glm fast: CUDA3 tiers warm: 3168 experts (23.4 GB) in 19 s (1.25 GB/s)
glm fast: CUDA3 CPU lane: 17 threads (one pool, shared by the split's GPUs), an expert 0.139 ms on the CPU vs 0.285 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 5 5
glm split: layers [0, 13) on CUDA0, [13, 24) on CUDA1, [24, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token)
glm stat: decode 8.90 ms/tok (112.34 tok/s) | vram hit 98.65% | ram fetches 0.50/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.50/tok | cpu lane 4.38/tok in 1.08 ms/tok | prompt 13.7 ms/tok | vram 11925/12054 ram 459/1301
glm stat: decode 8.19 ms/tok (122.17 tok/s) | vram hit 99.22% | ram fetches 0.24/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.24/tok | cpu lane 2.52/tok in 0.62 ms/tok | prompt 13.5 ms/tok | vram 11925/12054 ram 459/1301
glm stat: decode 9.11 ms/tok (109.74 tok/s) | vram hit 98.86% | ram fetches 0.22/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.22/tok | cpu lane 3.95/tok in 0.89 ms/tok | prompt 13.6 ms/tok | vram 11925/12054 ram 459/1301
glm stat: decode 8.19 ms/tok (122.06 tok/s) | vram hit 98.50% | ram fetches 0.36/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.37/tok | cpu lane 4.89/tok in 1.05 ms/tok | prompt 13.7 ms/tok | vram 11925/12054 ram 459/1301
glm stat (prompt only): prompt 0.7 ms/tok | vram 11394/12054 ram 990/1301
glm slots: saved a 2047-token conversation (0.18 GB in 0.1 s); 1 kept, 0.18 GB
glm stat (prompt only): prompt 0.5 ms/tok | vram 11397/12054 ram 987/1301
glm slots: saved a 2047-token conversation (0.18 GB in 0.1 s); 2 kept, 0.36 GB
glm stat (prompt only): prompt 0.2 ms/tok | vram 11397/12054 ram 987/1301

Originally created by @0xPreDa on GitHub (Oct 10, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/89 Following the README's "Measured by users" section and CONTRIBUTING.md, here is a speed report for a machine that is not in the table yet: **4x RTX 4090 24 GB, Maya-S24, 118 tok/s decode / 4129 tok/s prefill (8K)** on v1.0.31. `maya-bench.txt` and `maya-report.txt` are attached. At the end there is also a question about an uncensored variant. ## Hardware | | | |---|---| | GPU | 4x NVIDIA RTX 4090 24 GB (sm_89), PCIe 4.0 x16 each, no P2P. A GTX 1080 Ti in the box is not used. | | CPU | Intel Xeon w7-3445 (20 cores / 40 threads, AVX-512), one socket | | RAM | 62 GB | | Disk | No NVMe. The model is on a ZFS raidz1 of 3x Samsung 870 QVO 8 TB (SATA) | | OS | Debian 13, kernel 6.12, driver 580.178.04, CUDA 12.9 | | Model | Maya-S24, layer split auto over the four 4090s (`[0,13) [13,24) [24,35) [35,45)`) | ## `./maya.sh --bench` (131K context, `STRATA_GLM_RAM_GB=40`) | Setting | Decode | Prefill 2K | Prefill 8K | |---|---:|---:|---:| | v1.0.20, default prefill (512-token chunks) | 76.0 tok/s | 2478 tok/s | 3480 tok/s | | v1.0.27, `--prefill auto` (8192-token chunks on the split) | 117.0 tok/s | 1823 tok/s | 1962 tok/s | | v1.0.27, `--prefill 512` | 117.0 tok/s | 2463 tok/s | 3487 tok/s | | v1.0.27, `--prefill 2048` | 118.0 tok/s | 1984 tok/s | 4227 tok/s | | v1.0.27, `--prefill 2048`, measured again the next day | 110.8 tok/s | 1823 tok/s | 3769 tok/s | | **v1.0.31, `--prefill 2048`** (same session as the row above) | **118.0 tok/s** | 1935 tok/s | **4129 tok/s** | | v1.0.31, `--prefill 2048` + `PREFETCH_N=1 AT=fetch BLOCKS=4 RANK=2` | 116.8 tok/s | 1976 tok/s | 4206 tok/s | - The decode gain from v1.0.20 to v1.0.27 comes from the MTP NextN block, which v1.0.27 now loads from the GGUF. With v1.0.20 the pack builder logged "NextN/MTP: dropped 26 tensors". - Engine stats: about 99% VRAM hit, 0.00 disk reads per token, and a load in 85-93 s. - v1.0.31 compared with v1.0.27 in the same session: decode +6%, 8K prefill +10%. The tunable prefetch (#84) brings nothing here, which makes sense with about 99% of the experts already in VRAM. - **Possible finding:** on this 4-GPU split, `--prefill auto` chooses 8192-token chunks that borrow about 2 GB of each card's expert pool. That roughly halves prefill compared with 512 or 2048. On 24 GB cards, the auto setting may be too aggressive for a split. Rows from the README table, for comparison (the models differ): | Machine | Model | Decode | Prefill 8K | |---|---|---:|---:| | 2x CMP 170HX 64 GB (#22) | Maya-M | 61.3 tok/s | 514 tok/s | | RTX 4090 24 GB + 192 GB DDR5 (#63) | Maya-L | 16.4 tok/s | 1371 tok/s | | 2x Tesla V100 32 GB (maintainer) | Maya-S | up to 40 tok/s | up to 670 tok/s | | **4x RTX 4090 24 GB (this report, v1.0.31)** | **Maya-S24** | **118.0 tok/s** | **4129 tok/s** | ## Real workload (OpenAI API, temperature 1.0, thinking on) Maya's `serve/server.py` runs behind our own model manager. A fixed set of 4 agent-style coding prompts (150 to 13K tokens) was run with a warm cache: | | Generation | TTFT p50 | Requests/s | |---|---:|---:|---:| | v1.0.20, 32K context | 65.3 tok/s | 334 ms | 0.07 | | v1.0.27, 131K, `--prefill 2048` | 98.3 tok/s | 308 ms | 0.11 | | v1.0.27, **262K**, `--prefill 2048` | 96.8 tok/s | 308 ms | 0.11 | The instance now runs v1.0.31 at 262K. **262K context**, which is above the 131072 maximum that setup offers but well inside the 1M training context: - KV went from 1.92 to 3.62 GB, and VRAM for experts from 80.4 to 79.1 GB. - A real 200K-token code prompt was read cold in 39 s (about 5.1K tok/s). Decode at 200K ran at 84 tok/s. - The follow-up turn was served from the saved slot (TTFT 0.3 s), and the answers were correct. - There were no engine errors. A saved slot takes about 15 KB per token. ## Two notes from the setup 1. **ZFS hides free RAM from MemAvailable.** After the 95 GB download, the ZFS ARC held 54 GB, and MemAvailable reported about 5 GB, even though the ARC gives memory back under pressure. Because the RAM tier is sized from MemAvailable, I pinned it with `STRATA_GLM_RAM_GB=40` (this may be related to #77). The installer or the README could mention it for ZFS users. 2. **Downloads:** the single-stream `curl` reached about 4 MB/s here. When I switched to `hf download` (xet), it did not resume from its own `.incomplete` files after an interruption, so I renamed the partial files and resumed them with `curl -C -`. All sha256 checks passed. ## Question: an uncensored GLM-5.3-Flash variant for red-team / penetration-testing use We use Maya for authorized security work: internal red-team exercises, penetration-test reporting and exploit analysis on systems we are contracted to test. On these topics the stock model sometimes refuses or hedges, even when the context makes clear that the work is authorized. - Would you consider publishing an uncensored or abliterated variant of GLM-5.3-Flash in Maya's quant formats (Maya-S24 would be ideal for 24 GB cards)? - If that is out of scope for the project, can a community abliterated GLM-5.3-Flash GGUF be used with `--gguf-dir`? Does it need to follow a particular quant layout, such as IQ2_XXS experts with Q4_K attention, to work with the GLM pack and MTP? Thanks for Maya. Going from a 27B dense model to a 321B MoE at about 100 tok/s on this machine is impressive. <details> <summary><code>maya-bench.txt</code> (v1.0.31, 131K, <code>--prefill 2048</code>)</summary> ``` Project Maya v1.0.31 benchmark, 2026-10-10 17:20 GPUs: NVIDIA GeForce RTX 4090 24 GB, NVIDIA GeForce RTX 4090 24 GB, NVIDIA GeForce RTX 4090 24 GB, NVIDIA GeForce RTX 4090 24 GB, NVIDIA GeForce GTX 1080 Ti 11 GB; RAM 62 GB; CPU Intel(R) Xeon(R) w7-3445 setup: maya-p2048.json, context 131072, GPUs [0, 1, 2, 3] decode (writing the answer): mean 118.0 tokens/s over 3 answers of 256 tokens (greedy, thinking off) 122.2 tokens/s Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring. 109.7 tokens/s Explain how photosynthesis works, step by step, for a high-school student. 122.1 tokens/s Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript. prefill (reading the prompt): 1935 tokens/s, 2048 tokens prefill (reading the prompt): 4129 tokens/s, 8192 tokens engine lines: glm split auto: the host reads RAM at 60 GB/s (a part's CPU lane: 15); the routes from the usage counts; a token costs the parts added glm split auto: layers [0, 13) on CUDA0, [13, 24) on CUDA1, [24, 35) on CUDA2, [35, 45) on CUDA3 - a token 8.5 ms predicted (CUDA0 2.4 ms, 288 slots a layer | CUDA1 2.1 ms, 280 slots a layer | CUDA2 1.9 ms, 284 slots a layer | CUDA3 2.2 ms, 288 slots a layer), 100% of the routed experts in VRAM glm prefill: CUDA0 chunks of 2048 tokens (--prefill 2048; mixer sub-batches of 1024), borrowing 1067 MB of the expert pool while a prompt runs (activations 868, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 2.83 of 23.51 GB in use - dense weights 1.58, state/KV (131072 ctx) 0.49, activations 0.06, other (context, MTP, scratch, prompt path) 0.70 glm fast: CUDA0 layers [0,13) expert pool 19.39 GB, 288-288 slots/layer (2880 total) glm fast: CUDA0 RAM tier 1.63 GB pinned, 242 slots glm fast: CUDA0 the tiers follow this machine's usage profile (/data/models-ple/maya/Maya-S24/pack/expert_usage.txt, 10 layers) glm fast: CUDA0 tiers warm: 2880 experts (20.8 GB) in 17 s (1.23 GB/s) glm fast: CUDA0 CPU lane: 17 threads (one pool, shared by the split's GPUs), an expert 0.162 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 5 glm prefill: CUDA1 chunks of 2048 tokens (--prefill 2048; mixer sub-batches of 1024), borrowing 1060 MB of the expert pool while a prompt runs (activations 868, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned) glm fast: CUDA1 VRAM before the expert pool: 2.29 of 23.52 GB in use - dense weights 1.10, state/KV (131072 ctx) 0.48, activations 0.05, other (context, MTP, scratch, prompt path) 0.66 glm fast: CUDA1 layers [13,24) expert pool 20.48 GB, 285-285 slots/layer (3135 total) glm fast: CUDA1 RAM tier 1.76 GB pinned, 269 slots glm fast: CUDA1 the tiers follow this machine's usage profile (/data/models-ple/maya/Maya-S24/pack/expert_usage.txt, 11 layers) glm fast: CUDA1 tiers warm: 3168 experts (22.2 GB) in 18 s (1.24 GB/s) glm fast: CUDA1 CPU lane: 17 threads (one pool, shared by the split's GPUs), an expert 0.130 ms on the CPU vs 0.283 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 4 4 5 6 glm prefill: CUDA2 chunks of 2048 tokens (--prefill 2048; mixer sub-batches of 1024), borrowing 1060 MB of the expert pool while a prompt runs (activations 868, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned) glm fast: CUDA2 VRAM before the expert pool: 2.13 of 23.52 GB in use - dense weights 1.08, state/KV (131072 ctx) 0.33, activations 0.05, other (context, MTP, scratch, prompt path) 0.67 glm fast: CUDA2 layers [24,35) expert pool 20.69 GB, 288-288 slots/layer (3168 total) glm fast: CUDA2 RAM tier 1.54 GB pinned, 236 slots glm fast: CUDA2 the tiers follow this machine's usage profile (/data/models-ple/maya/Maya-S24/pack/expert_usage.txt, 11 layers) glm fast: CUDA2 tiers warm: 3168 experts (22.2 GB) in 19 s (1.16 GB/s) glm fast: CUDA2 CPU lane: 17 threads (one pool, shared by the split's GPUs), an expert 0.128 ms on the CPU vs 0.282 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 4 4 5 6 glm prefill: CUDA3 chunks of 2048 tokens (--prefill 2048; mixer sub-batches of 1024), borrowing 1067 MB of the expert pool while a prompt runs (activations 868, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA3 VRAM before the expert pool: 2.99 of 23.52 GB in use - dense weights 1.49, state/KV (131072 ctx) 0.62, activations 0.07, other (context, MTP, scratch, prompt path) 0.81 glm fast: CUDA3 layers [35,45) expert pool 19.79 GB, 261-261 slots/layer (2871 total) glm fast: CUDA3 RAM tier 3.84 GB pinned, 554 slots glm fast: CUDA3 the tiers follow this machine's usage profile (/data/models-ple/maya/Maya-S24/pack/expert_usage.txt, 11 layers) glm fast: CUDA3 tiers warm: 3168 experts (23.4 GB) in 19 s (1.25 GB/s) glm fast: CUDA3 CPU lane: 17 threads (one pool, shared by the split's GPUs), an expert 0.139 ms on the CPU vs 0.285 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 5 5 glm split: layers [0, 13) on CUDA0, [13, 24) on CUDA1, [24, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token) glm stat: decode 8.90 ms/tok (112.34 tok/s) | vram hit 98.65% | ram fetches 0.50/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.50/tok | cpu lane 4.38/tok in 1.08 ms/tok | prompt 13.7 ms/tok | vram 11925/12054 ram 459/1301 glm stat: decode 8.19 ms/tok (122.17 tok/s) | vram hit 99.22% | ram fetches 0.24/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.24/tok | cpu lane 2.52/tok in 0.62 ms/tok | prompt 13.5 ms/tok | vram 11925/12054 ram 459/1301 glm stat: decode 9.11 ms/tok (109.74 tok/s) | vram hit 98.86% | ram fetches 0.22/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.22/tok | cpu lane 3.95/tok in 0.89 ms/tok | prompt 13.6 ms/tok | vram 11925/12054 ram 459/1301 glm stat: decode 8.19 ms/tok (122.06 tok/s) | vram hit 98.50% | ram fetches 0.36/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.37/tok | cpu lane 4.89/tok in 1.05 ms/tok | prompt 13.7 ms/tok | vram 11925/12054 ram 459/1301 glm stat (prompt only): prompt 0.7 ms/tok | vram 11394/12054 ram 990/1301 glm slots: saved a 2047-token conversation (0.18 GB in 0.1 s); 1 kept, 0.18 GB glm stat (prompt only): prompt 0.5 ms/tok | vram 11397/12054 ram 987/1301 glm slots: saved a 2047-token conversation (0.18 GB in 0.1 s); 2 kept, 0.36 GB glm stat (prompt only): prompt 0.2 ms/tok | vram 11397/12054 ram 987/1301 ``` </details> <details> <summary><code>maya-report.txt</code></summary> ``` ## Maya version 1.0.31, commit 823ddda 2026-10-10, Python 3.13.5, linux ## System Linux-6.12.48+deb13-amd64-x86_64-with-glibc2.41 ## 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 GeForce RTX 4090, 24564 MiB, 23317 MiB, 580.178.04, 4, 16, 16, 500.00 W, 33 1, NVIDIA GeForce RTX 4090, 24564 MiB, 23415 MiB, 580.178.04, 4, 16, 16, 500.00 W, 35 2, NVIDIA GeForce RTX 4090, 24564 MiB, 23437 MiB, 580.178.04, 4, 16, 16, 500.00 W, 34 3, NVIDIA GeForce RTX 4090, 24564 MiB, 23419 MiB, 580.178.04, 4, 16, 16, 500.00 W, 38 4, NVIDIA GeForce GTX 1080 Ti, 11264 MiB, 7 MiB, 580.178.04, 3, 16, 16, 250.00 W, 20 ## CPU and RAM Intel(R) Xeon(R) w7-3445, 40 threads, AVX-512 RAM 62.3 GB, 32.5 GB available now ## Disks NAME MODEL ROTA TRAN SIZE sda Samsung SSD 870 QVO 8TB 0 sata 7.3T sdb Samsung SSD 870 QVO 8TB 0 sata 7.3T sdc Samsung SSD 870 QVO 8TB 0 sata 7.3T sdd CT250MX500SSD1 0 sata 232.9G sde Virtual HDisk0 0 usb 0B sr0 Virtual CDROM0 0 usb 1024M ## Engine build {"archs": [89], "nvcc": "/usr/local/cuda/bin/nvcc", "host_compiler": null, "date": "2026-10-10 17:09"} ## Setup maya-p2048.json model Maya-S24, context 131072, GPUs [0, 1, 2, 3], images off, settings {"STRATA_GLM_RAM_GB": "40"} model folder /data/models-ple/maya/Maya-S24: 94.7 GB of GGUF, 7645 GB free, not a hard disk ## Engine log maya-maya-s24.log not written yet (start Maya once and ask it something) ## Benchmark (maya-bench.txt, from --bench) Project Maya v1.0.31 benchmark, 2026-10-10 17:20 GPUs: NVIDIA GeForce RTX 4090 24 GB, NVIDIA GeForce RTX 4090 24 GB, NVIDIA GeForce RTX 4090 24 GB, NVIDIA GeForce RTX 4090 24 GB, NVIDIA GeForce GTX 1080 Ti 11 GB; RAM 62 GB; CPU Intel(R) Xeon(R) w7-3445 setup: maya-p2048.json, context 131072, GPUs [0, 1, 2, 3] decode (writing the answer): mean 118.0 tokens/s over 3 answers of 256 tokens (greedy, thinking off) 122.2 tokens/s Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring. 109.7 tokens/s Explain how photosynthesis works, step by step, for a high-school student. 122.1 tokens/s Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript. prefill (reading the prompt): 1935 tokens/s, 2048 tokens prefill (reading the prompt): 4129 tokens/s, 8192 tokens engine lines: glm split auto: the host reads RAM at 60 GB/s (a part's CPU lane: 15); the routes from the usage counts; a token costs the parts added glm split auto: layers [0, 13) on CUDA0, [13, 24) on CUDA1, [24, 35) on CUDA2, [35, 45) on CUDA3 - a token 8.5 ms predicted (CUDA0 2.4 ms, 288 slots a layer | CUDA1 2.1 ms, 280 slots a layer | CUDA2 1.9 ms, 284 slots a layer | CUDA3 2.2 ms, 288 slots a layer), 100% of the routed experts in VRAM glm prefill: CUDA0 chunks of 2048 tokens (--prefill 2048; mixer sub-batches of 1024), borrowing 1067 MB of the expert pool while a prompt runs (activations 868, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 2.83 of 23.51 GB in use - dense weights 1.58, state/KV (131072 ctx) 0.49, activations 0.06, other (context, MTP, scratch, prompt path) 0.70 glm fast: CUDA0 layers [0,13) expert pool 19.39 GB, 288-288 slots/layer (2880 total) glm fast: CUDA0 RAM tier 1.63 GB pinned, 242 slots glm fast: CUDA0 the tiers follow this machine's usage profile (/data/models-ple/maya/Maya-S24/pack/expert_usage.txt, 10 layers) glm fast: CUDA0 tiers warm: 2880 experts (20.8 GB) in 17 s (1.23 GB/s) glm fast: CUDA0 CPU lane: 17 threads (one pool, shared by the split's GPUs), an expert 0.162 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 5 glm prefill: CUDA1 chunks of 2048 tokens (--prefill 2048; mixer sub-batches of 1024), borrowing 1060 MB of the expert pool while a prompt runs (activations 868, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned) glm fast: CUDA1 VRAM before the expert pool: 2.29 of 23.52 GB in use - dense weights 1.10, state/KV (131072 ctx) 0.48, activations 0.05, other (context, MTP, scratch, prompt path) 0.66 glm fast: CUDA1 layers [13,24) expert pool 20.48 GB, 285-285 slots/layer (3135 total) glm fast: CUDA1 RAM tier 1.76 GB pinned, 269 slots glm fast: CUDA1 the tiers follow this machine's usage profile (/data/models-ple/maya/Maya-S24/pack/expert_usage.txt, 11 layers) glm fast: CUDA1 tiers warm: 3168 experts (22.2 GB) in 18 s (1.24 GB/s) glm fast: CUDA1 CPU lane: 17 threads (one pool, shared by the split's GPUs), an expert 0.130 ms on the CPU vs 0.283 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 4 4 5 6 glm prefill: CUDA2 chunks of 2048 tokens (--prefill 2048; mixer sub-batches of 1024), borrowing 1060 MB of the expert pool while a prompt runs (activations 868, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned) glm fast: CUDA2 VRAM before the expert pool: 2.13 of 23.52 GB in use - dense weights 1.08, state/KV (131072 ctx) 0.33, activations 0.05, other (context, MTP, scratch, prompt path) 0.67 glm fast: CUDA2 layers [24,35) expert pool 20.69 GB, 288-288 slots/layer (3168 total) glm fast: CUDA2 RAM tier 1.54 GB pinned, 236 slots glm fast: CUDA2 the tiers follow this machine's usage profile (/data/models-ple/maya/Maya-S24/pack/expert_usage.txt, 11 layers) glm fast: CUDA2 tiers warm: 3168 experts (22.2 GB) in 19 s (1.16 GB/s) glm fast: CUDA2 CPU lane: 17 threads (one pool, shared by the split's GPUs), an expert 0.128 ms on the CPU vs 0.282 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 4 4 5 6 glm prefill: CUDA3 chunks of 2048 tokens (--prefill 2048; mixer sub-batches of 1024), borrowing 1067 MB of the expert pool while a prompt runs (activations 868, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA3 VRAM before the expert pool: 2.99 of 23.52 GB in use - dense weights 1.49, state/KV (131072 ctx) 0.62, activations 0.07, other (context, MTP, scratch, prompt path) 0.81 glm fast: CUDA3 layers [35,45) expert pool 19.79 GB, 261-261 slots/layer (2871 total) glm fast: CUDA3 RAM tier 3.84 GB pinned, 554 slots glm fast: CUDA3 the tiers follow this machine's usage profile (/data/models-ple/maya/Maya-S24/pack/expert_usage.txt, 11 layers) glm fast: CUDA3 tiers warm: 3168 experts (23.4 GB) in 19 s (1.25 GB/s) glm fast: CUDA3 CPU lane: 17 threads (one pool, shared by the split's GPUs), an expert 0.139 ms on the CPU vs 0.285 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 5 5 glm split: layers [0, 13) on CUDA0, [13, 24) on CUDA1, [24, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token) glm stat: decode 8.90 ms/tok (112.34 tok/s) | vram hit 98.65% | ram fetches 0.50/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.50/tok | cpu lane 4.38/tok in 1.08 ms/tok | prompt 13.7 ms/tok | vram 11925/12054 ram 459/1301 glm stat: decode 8.19 ms/tok (122.17 tok/s) | vram hit 99.22% | ram fetches 0.24/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.24/tok | cpu lane 2.52/tok in 0.62 ms/tok | prompt 13.5 ms/tok | vram 11925/12054 ram 459/1301 glm stat: decode 9.11 ms/tok (109.74 tok/s) | vram hit 98.86% | ram fetches 0.22/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.22/tok | cpu lane 3.95/tok in 0.89 ms/tok | prompt 13.6 ms/tok | vram 11925/12054 ram 459/1301 glm stat: decode 8.19 ms/tok (122.06 tok/s) | vram hit 98.50% | ram fetches 0.36/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.37/tok | cpu lane 4.89/tok in 1.05 ms/tok | prompt 13.7 ms/tok | vram 11925/12054 ram 459/1301 glm stat (prompt only): prompt 0.7 ms/tok | vram 11394/12054 ram 990/1301 glm slots: saved a 2047-token conversation (0.18 GB in 0.1 s); 1 kept, 0.18 GB glm stat (prompt only): prompt 0.5 ms/tok | vram 11397/12054 ram 987/1301 glm slots: saved a 2047-token conversation (0.18 GB in 0.1 s); 2 kept, 0.36 GB glm stat (prompt only): prompt 0.2 ms/tok | vram 11397/12054 ram 987/1301 ``` </details>
Author
Owner

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

Thank you, this is a great report. 118 tok/s on four 4090s goes into the README's table (#100).

An uncensored variant: v1.0.32 added Maya-M-Derisked: Maya-M (116 GB) with a directional weight modification that reduces blanket refusals. It has the same IQ2_S files and MTP block, with some weights changed. It is experimental: how close it stays to Maya-M hasn't been measured yet. Set it up with ./setup.sh --setup --model Maya-M-Derisked. There's no S24-sized version of it yet. On your four cards Maya-M's 116 GB mostly fits in VRAM, so it should run well there.

A community abliterated GGUF with --gguf-dir: any GLM-5.3-Flash GGUF (architecture glm5-next) works. It doesn't need Maya's layout: the pack takes the quant types it finds. For MTP drafting it needs the NextN block (blk.45.*). Without it the engine decodes without drafts. Quants other than Maya's are experimental (they run, but we don't measure them).

ZFS: good catch. #99 counts what ZFS's ARC holds above its floor as free RAM (the ARC gives it back under pressure), so the RAM tier is sized right without pinning STRATA_GLM_RAM_GB. It goes into the next release.

--prefill auto on a split of 24 GB cards: on your machine every expert is in VRAM. The 8192-token chunk borrows ~2 GB of each card's expert pool for a prompt, so the experts it pushes out come back from RAM and your SATA disks. The fix we're preparing is a "complete pool" mode: when VRAM holds every expert, prompts borrow only the free tail. It's measured on a Strix Halo; I'll ask you to try it on the four 4090s when there's a branch. Until then --prefill 2048 is the right setting there.

Your #92, #93 and #94 are being tested here now. Results go on each PR.

<!-- gh-comment-id:6104660286 --> @mw00 commented on GitHub (Oct 11, 2026): Thank you, this is a great report. 118 tok/s on four 4090s goes into the README's table (#100). **An uncensored variant:** [v1.0.32](https://github.com/mw00/project-maya/releases/tag/v1.0.32) added **Maya-M-Derisked**: Maya-M (116 GB) with a directional weight modification that reduces blanket refusals. It has the same IQ2_S files and MTP block, with some weights changed. It is experimental: how close it stays to Maya-M hasn't been measured yet. Set it up with `./setup.sh --setup --model Maya-M-Derisked`. There's no S24-sized version of it yet. On your four cards Maya-M's 116 GB mostly fits in VRAM, so it should run well there. **A community abliterated GGUF with `--gguf-dir`:** any GLM-5.3-Flash GGUF (architecture `glm5-next`) works. It doesn't need Maya's layout: the pack takes the quant types it finds. For MTP drafting it needs the NextN block (`blk.45.*`). Without it the engine decodes without drafts. Quants other than Maya's are experimental (they run, but we don't measure them). **ZFS:** good catch. #99 counts what ZFS's ARC holds above its floor as free RAM (the ARC gives it back under pressure), so the RAM tier is sized right without pinning `STRATA_GLM_RAM_GB`. It goes into the next release. **`--prefill auto` on a split of 24 GB cards:** on your machine every expert is in VRAM. The 8192-token chunk borrows ~2 GB of each card's expert pool for a prompt, so the experts it pushes out come back from RAM and your SATA disks. The fix we're preparing is a "complete pool" mode: when VRAM holds every expert, prompts borrow only the free tail. It's measured on a Strix Halo; I'll ask you to try it on the four 4090s when there's a branch. Until then `--prefill 2048` is the right setting there. Your #92, #93 and #94 are being tested here now. Results go on each PR.
Author
Owner

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

Out in v1.0.33: ZFS's ARC above its floor now counts as free RAM, so STRATA_GLM_RAM_GB shouldn't be needed for that anymore, along with your #93 and #94. The complete-pool branch for --prefill auto on your four cards is #101; a run of it would tell us whether it gives the prefill back.

<!-- gh-comment-id:6105700307 --> @mw00 commented on GitHub (Oct 11, 2026): Out in [v1.0.33](https://github.com/mw00/project-maya/releases/tag/v1.0.33): ZFS's ARC above its floor now counts as free RAM, so `STRATA_GLM_RAM_GB` shouldn't be needed for that anymore, along with your #93 and #94. The complete-pool branch for `--prefill auto` on your four cards is #101; a run of it would tell us whether it gives the prefill back.
Author
Owner

@0xPreDa commented on GitHub (Oct 11, 2026):

Thanks for the detailed answer, and for merging #93 and #94 so quickly.

A Derisked build at S24 size? Maya-M-Derisked is exactly what I was after, but on 4x RTX 4090 it doesn't fit the way S24 does. Maya-M's 116 GB leaves ~30 GB of experts outside VRAM: about 78 GB of expert pool against ~111 GB of experts. With 62 GB of RAM and only SATA SSDs (raidz1 QVO), that spill is expensive. Today S24 runs at 110-118 tok/s with ~99.8% VRAM hits, 262K context and STRATA_GLM_SEQS=4. I'd have to give up most of that to run M-Derisked.

Would you consider publishing Maya-S24-Derisked, meaning the maya-s24.json recipe applied to Blackfrost's derisked weights? 24 GB cards are probably the most common setup among people asking for an uncensored variant, and S24 is the only size that stays fully in VRAM on them.

If that's not planned, a pointer on how you built M-Derisked would help me try it myself. Did you requantize from the derisked FP8 with your activation statistics, or apply the weight modification to the existing Maya-M tensors? I can run the KL and zero-shot evals from tools/maya_quant on the result and report back.

<!-- gh-comment-id:6108616688 --> @0xPreDa commented on GitHub (Oct 11, 2026): Thanks for the detailed answer, and for merging #93 and #94 so quickly. **A Derisked build at S24 size?** Maya-M-Derisked is exactly what I was after, but on 4x RTX 4090 it doesn't fit the way S24 does. Maya-M's 116 GB leaves ~30 GB of experts outside VRAM: about 78 GB of expert pool against ~111 GB of experts. With 62 GB of RAM and only SATA SSDs (raidz1 QVO), that spill is expensive. Today S24 runs at 110-118 tok/s with ~99.8% VRAM hits, 262K context and `STRATA_GLM_SEQS=4`. I'd have to give up most of that to run M-Derisked. Would you consider publishing **Maya-S24-Derisked**, meaning the `maya-s24.json` recipe applied to Blackfrost's derisked weights? 24 GB cards are probably the most common setup among people asking for an uncensored variant, and S24 is the only size that stays fully in VRAM on them. If that's not planned, a pointer on how you built M-Derisked would help me try it myself. Did you requantize from the derisked FP8 with your activation statistics, or apply the weight modification to the existing Maya-M tensors? I can run the KL and zero-shot evals from `tools/maya_quant` on the result and report back.
Author
Owner

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

On how Maya-M-Derisked was made: it isn't a requant. Blackfrost_AI applied a directional weight modification (DWM) directly to our Maya-M IQ2_S GGUF:

  • selected tensors' values were changed in working precision and written back once, in their original storage types;
  • everything else is byte-identical to Maya-M: the tensor layout, the tokenizer, the chat template, and the MTP block's 29 tensors.

The method and its data (directions, prompt pairs, parameters) are Blackfrost_AI's own and not public, so it can't be redone with tools/maya_quant. The model card has the details.

So a Maya-S24-Derisked would mean the same edit applied to Maya-S24. There's no plan for one yet, but your case makes a good argument for it: 24 GB cards, and S24 being the size that stays in VRAM there. It's noted.

<!-- gh-comment-id:6109832576 --> @mw00 commented on GitHub (Oct 11, 2026): On how Maya-M-Derisked was made: it isn't a requant. [Blackfrost_AI](https://x.com/Blackfrost_AI) applied a directional weight modification (DWM) directly to our Maya-M IQ2_S GGUF: - selected tensors' values were changed in working precision and written back once, in their original storage types; - everything else is byte-identical to Maya-M: the tensor layout, the tokenizer, the chat template, and the MTP block's 29 tensors. The method and its data (directions, prompt pairs, parameters) are Blackfrost_AI's own and not public, so it can't be redone with `tools/maya_quant`. The [model card](https://huggingface.co/peasantsmith/GLM-5.3-Flash-Maya-M-Derisked-IQ2_S-GGUF) has the details. So a Maya-S24-Derisked would mean the same edit applied to Maya-S24. There's no plan for one yet, but your case makes a good argument for it: 24 GB cards, and S24 being the size that stays in VRAM there. It's noted.
Author
Owner

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

A follow-up on Maya-S24-Derisked: it isn't in the plan for now, but the door isn't closed. We'll come back to it, maybe soon, maybe after a while, and we'll say so here when we do. Thank you for your patience, and for making such a clear case for 24 GB cards.

<!-- gh-comment-id:6110519453 --> @mw00 commented on GitHub (Oct 11, 2026): A follow-up on Maya-S24-Derisked: it isn't in the plan for now, but the door isn't closed. We'll come back to it, maybe soon, maybe after a while, and we'll say so here when we do. Thank you for your patience, and for making such a clear case for 24 GB cards.
Author
Owner

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

Closing: the 4x RTX 4090 row is in the README's table, and the Maya-S24-Derisked idea stays noted - we'll post here if it happens. Thank you again.

<!-- gh-comment-id:6125942317 --> @mw00 commented on GitHub (Oct 12, 2026): Closing: the 4x RTX 4090 row is in the README's table, and the Maya-S24-Derisked idea stays noted - we'll post here if it happens. Thank you again.
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#34
No description provided.