mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[GH-ISSUE #259] Speed report: 2× H100 80GB, Maya-M-Derisked (IQ2_S), ctx 1M — decode 123.7 tok/s, prefill 1411/1986 tok/s (v1.1.11) #95
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#95
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 @Molyleaf on GitHub (Oct 18, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/259
A speed report for the Maya-M variant, per CONTRIBUTING.md. Same machine, same day as the Maya-L report I filed separately, so the two are directly comparable.
maya-report.txtis attached, written by./maya.sh --reportright after the bench; it carries both setups, and the Benchmark section at the end is this run.Version
v1.1.11, the installer build (engine compiled 2026-10-16, sm_90; the report shows no commit hash).
Hardware
/home/share/models/GLM-5.3-Flash-Maya-M-Derisked-IQ2_s-GGUF(116.0 GB of GGUF) on a non-rotational volume, 675 GB freeSetup
maya-maya-m-derisked.json: model Maya-M-Derisked (the IQ2_S GGUF), context 1,048,576, GPUs [0, 1], images on,settings {}— noSTRATA_GLM_*overrides, everything at default.Measured —
./maya.sh --bench(README's protocol: 3 answers of 256 tokens, greedy, thinking off, one warm-up; prefill at 2048 and 8192)Engine lines behind those numbers (from the attached report):
glm split auto: layers [0, 24) on CUDA0, [24, 45) on CUDA1, 1.6 ms/token predicted on both parts, 100% of the routed experts in VRAMglm fast: CUDA0 the vision encoder borrows the pool's tail (3.06 GB) while it encodes, andmaya servereports 24.6 / 21.3 GB VRAM still free with everything loadedglm statdecode 7.72–8.66 ms/tok (115–129 tok/s), vram hit 100.00%, zero disk reads/waitsNot measured
STRATA_GLM_*setting.glm statdecode lines at 94–118 tok/s earlier in the log are from everyday use with speculative decoding (1682 speculative positions, 66.2% accepted; KV streaming 97.5–99.4% of block reads hitting VRAM) — context only, not a controlled measurement.Attachment
maya-report.txt(hardware, both setups, the engine'sglm fast:/glm split/glm stat:/glm spec:lines, and the bench results above).maya-report.txt
@Molyleaf commented on GitHub (Oct 18, 2026):
With all experts in VRAM on 2× H100, decode is launch/host-bound: Maya-M ≈ Maya-L (+1%), and one request in flight starves both GPUs (v1.1.11)
This is an observation + question rather than a bug, on the regime CONTRIBUTING names first under "Areas where help is welcome": decode speed when every expert fits in VRAM (kernel launches and host waits dominate there). My machine lands exactly there, and two things stand out: swapping to a smaller-quantized model buys no decode speed, and with a single request in flight both H100s sit visibly idle much of the time.
Setup
Same machine as my earlier speed reports (Maya-L, 2× H100 and Maya-M-Derisked, 2× H100, filed separately): 2× NVIDIA H100 80GB HBM3 (driver 615.71.09), Xeon Platinum 8488C (2 sockets, 192 threads), 504 GB RAM, both models on a non-rotational volume. All numbers below are v1.1.11, installer build,
--benchprotocol (3 × 256 tokens, greedy, thinking off; prefill at 2048/8192), context 1,048,576, GPUs [0, 1], default settings —maya-report.txtfrom that session is attached (it carries both setups).Observation 1: Maya-M vs Maya-L, no decode gain
glm statdecode during benchThe logs explain why, and I think it generalizes: the two configurations have identical topology — same 45 layers, same split [0, 24) / [24, 45), same pool slot counts (6111 + 6402), same 13248 ranked (layer, expert) pairs, same dense weights (3.53 / 3.32 GB), same KV. The only difference is bytes per expert slot: ~11.1 MB → ~8.1 MB. So every fixed per-token cost is unchanged, and the engine's own pipeline prediction moved only from 1.8 ms/token (CUDA0 1.7 | CUDA1 1.8) to 1.6/1.6 — an 11% improvement on the pipeline part. Measured decode is ~8 ms/token, so that saving lands as ~1% end to end. Prefill actually got slightly worse on M (I assume dequant work in a compute-bound phase).
Observation 2: both GPUs starve at one request in flight
During everyday serving I see long stretches of low/spiky SM utilization on both cards while decode holds ~94–118 tok/s with speculative decoding on (M: 1682 positions, 66.2% accepted). The logs say the storage tiers are not the cause — vram hit 99.95–100.00%, zero disk reads/waits, CPU lane off ("the RAM tier holds no expert") — which points at the fixed serial path: per-token kernel launches, the per-boundary 64 KB host hop (
glm split: ... one 64 KB host hop per boundary per token), and a pipeline that only stays full while consecutive tokens are in flight. A single conversation with 256-token bursts gives it frequent ramp-up/ramp-down bubbles. I have not captured an nsys/nvidia-smi dmontrace yet — happy to, if it would help; the utilization observation so far is from watchingnvidia-smi.What I plan to try next (from README + docs/SETTINGS.md)
--parallel 2–4(STRATA_GLM_SEQS) — on splits each GPU works a different conversation, which should remove both the starvation and the per-token boundary hop per conversation. Notably, this is exactly what Maya-M's headroom buys: 24.6 / 21.3 GB free fits extra sequence states without evicting the 100%-in-VRAM coverage, whereas Maya-L's ~10 GB would not.STRATA_GLM_SPEC_CANCEL=1+STRATA_GLM_SPEC_SAMPLE=1(documented +5.3% together on two GPUs), and possibly the DFlash2 drafter with--speed-calibration../maya.sh --calibrate, andSTRATA_GLM_CPU_PIN(2 NUMA nodes here).--bench, one change at a time, and report the numbers back here.Questions
STRATA_GLM_TIMING)? If yes I'll attach a breakdown instead of speculating.--parallel 2, does each GPU indeed own a whole conversation (no boundary hop for a single conversation)? What happens to single-request latency in that mode?maya-report.txt(dual-GPU session, both setups and bench sections) attached; versions: v1.1.11 for everything above, single-GPU contrast on v1.1.15.@mw00 commented on GitHub (Oct 20, 2026):
Your 2x H100 numbers are now the top row of the README's speed table - thank you! Keeping this issue open for the question in your follow-up: with every expert in VRAM, decode is bound by kernel launches and host waits, so a smaller quant gives no more speed there. That's on our list.
@mw00 commented on GitHub (Oct 23, 2026):
Thank you - your 2x H100 numbers are the top of the README's speed table: https://github.com/mw00/project-maya#how-fast-is-it. Closing as a report.