mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[GH-ISSUE #200] Maya-S24 on a 32 GB 4080 SUPER + 3970X: 262k context and tuning results #76
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mw00/project-maya#76
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Micro-ATP on GitHub (Oct 15, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/200
Some results from running Maya-S24 on my machine:
8931339)One slot, 262144 context, FP16 KV streaming with a 32768-position GPU window, shipped expert profile, auto expert cache/prefill:
The expert pools are about 23.15 GiB in VRAM and 69.72 GiB in RAM. Once loaded, expert disk reads stay at zero.
Each configuration got a fresh engine and warmup, with one request at a time and no prefix reuse. Short tests: three prompts, 256 output tokens, greedy, thinking off. 8k test: real server code, 1536 output tokens, high thinking, temperature 1, top_p 0.95.
MTP used
STRATA_GLM_MTP_DECODE=1; DFlash2 used default draft settings. They accepted 75% and 91% of drafts on the 8k run, but both were slower.PROMOTE_MIN=6, LRU, and the combination didn't give a clear win either. Plain decode repeated at 26.48/26.55 tok/s.In a separate KV comparison, INT8 reduced host latent KV from 2.75 to 1.46 GiB and added 25 VRAM expert slots. FP16/INT8 decode was 26.04/25.21 tok/s at 8k input and 24.56/24.58 at 128k. I've kept FP16.
Both KV formats passed a near-262k capacity check with three markers at the beginning, middle and end. This wasn't a full quality benchmark. Prefill was around 1.4-1.5k tok/s; a fresh near-limit prompt took about three minutes before the answer.
SATA cold startup takes about four minutes. We're moving to a PCIe 3.0 SSD soon and will compare startup times then.
@Micro-ATP commented on GitHub (Oct 15, 2026):
Prefill (PP) from the same KV comparison, with no prefix reuse. Auto prefill selected 32768-token chunks:
Both KV formats passed the near-262k capacity check with three markers at the beginning, middle and end. A fresh near-limit prompt took about three minutes before the answer. That test used repeated filler, so it wasn't a full quality benchmark or a direct PP scaling comparison with the code inputs.
@Micro-ATP commented on GitHub (Oct 15, 2026):
Project Maya v1.1.11 benchmark, 2026-10-15 03:45
GPUs: NVIDIA GeForce RTX 4080 SUPER 32 GB; RAM 157 GB; CPU AMD Threadripper 3970X
setup: maya.json, context 262144, GPUs [0]
decode (writing the answer): mean 26.7 tokens/s over 3 answers of 256 tokens (greedy, thinking off)
25.4 tokens/s Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring.
28.8 tokens/s Explain how photosynthesis works, step by step, for a high-school student.
25.8 tokens/s Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript.
prefill (reading the prompt): 655 tokens/s, 2048 tokens
prefill (reading the prompt): 1552 tokens/s, 8192 tokens
engine lines:
glm prefill: CUDA0 chunks of 32768 tokens (--prefill auto, up to 32768; mixer sub-batches of 1024), borrowing 6740 MB of the expert pool while a prompt runs (activations 5389, 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: 6.89 of 31.55 GB in use - dense weights 5.24, state/KV (262144 ctx) 0.92, activations 0.06, other (context, MTP, scratch, prompt path) 0.67
glm fast: the expert profile /opt/maya/data/expert-profile-glm.bin ranks 13248 (layer, expert) pairs
glm fast: CUDA0 layers [0,45) expert pool 23.15 GB, 65-108 slots/layer (3496 total)
glm fast: CUDA0 RAM tier 69.72 GB pinned, 10522 slots
glm fast: CUDA0 RAM-resident mode: every non-VRAM expert gets a slot (+16 slack/layer); disk evictions are OFF
glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 173 s (0.50 GB/s)
glm fast: CUDA0 RAM-resident verified: all 12096 experts are in VRAM or pinned RAM
glm fast: CUDA0 CPU lane: 32 threads, an expert 0.190 ms on the CPU vs 0.289 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 4 4 5 6
glm stat: decode 34.36 ms/tok (29.10 tok/s) | vram hit 73.95% | ram fetches 26.14/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 25.89/tok | cpu lane 60.02/tok in 16.67 ms/tok | prompt 47.0 ms/tok | vram 3402/3496 ram 8659/10522
glm stat: decode 39.39 ms/tok (25.39 tok/s) | vram hit 66.59% | ram fetches 33.50/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 33.03/tok | cpu lane 78.31/tok in 21.25 ms/tok | prompt 43.2 ms/tok | vram 3406/3496 ram 8651/10522
glm stat: decode 34.75 ms/tok (28.77 tok/s) | vram hit 73.28% | ram fetches 26.29/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 25.99/tok | cpu lane 63.13/tok in 17.09 ms/tok | prompt 46.6 ms/tok | vram 3396/3496 ram 8681/10522
glm stat: decode 38.74 ms/tok (25.81 tok/s) | vram hit 66.96% | ram fetches 32.76/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 32.43/tok | cpu lane 77.83/tok in 20.93 ms/tok | prompt 45.8 ms/tok | vram 3405/3496 ram 8655/10522
glm stat (prompt only): prompt 1.7 ms/tok | vram 3133/3496 ram 8914/10522
glm slots: saved a 2047-token conversation (0.18 GB in 0.1 s); 1 kept, 0.18 GB
glm stat (prompt only): prompt 1.5 ms/tok | vram 3135/3496 ram 8887/10522
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.6 ms/tok | vram 3016/3496 ram 9031/10522
@mw00 commented on GitHub (Oct 16, 2026):
Thanks - your numbers are in the README's table as of v1.1.13.
@mw00 commented on GitHub (Oct 16, 2026):
Your numbers are in the README's table as of v1.1.13 - thanks again, @Micro-ATP. Closing this report.