[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

Closed
opened 2026-10-29 21:20:44 +07:00 by bsakaguchi · 3 comments
Owner

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.txt is attached, written by ./maya.sh --report right 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

  • 2× NVIDIA H100 80GB HBM3, driver 615.71.09, PCIe gen 5: GPU0 currently linked at x8 (max x16), GPU1 at x16
  • CPU: Intel Xeon Platinum 8488C, 192 threads, AVX-512
  • RAM: 504 GB
  • Model folder /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 free
  • Linux 6.12 (Debian 13), Python 3.13.5

Setup

maya-maya-m-derisked.json: model Maya-M-Derisked (the IQ2_S GGUF), context 1,048,576, GPUs [0, 1], images on, settings {} — no STRATA_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)

what Maya-M-Derisked (IQ2_S) Maya-L, same machine
decode, mean over 3 × 256 tokens 123.7 tokens/s (126.0 / 115.5 / 129.5) 122.4 tokens/s
prefill, 2048-token prompt 1411 tokens/s 1520 tokens/s
prefill, 8192-token prompt 1986 tokens/s 2099 tokens/s

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 VRAM
  • expert pools 49.43 / 52.66 GB (291 slots a layer); tiers warm in 185 s / 193 s (~0.28 GB/s); the CPU lane ends up off ("the RAM tier holds no expert"), so again no RAM/disk tier is exercised
  • unlike Maya-L on this box, the vision encoder fits: glm fast: CUDA0 the vision encoder borrows the pool's tail (3.06 GB) while it encodes, and maya serve reports 24.6 / 21.3 GB VRAM still free with everything loaded
  • during the bench, glm stat decode 7.72–8.66 ms/tok (115–129 tok/s), vram hit 100.00%, zero disk reads/waits

Not measured

  • Images: the vision encoder is resident this time, but I haven't sent an image through it.
  • Long conversations, concurrent users, thinking mode, sampled (non-greedy) generation.
  • Single-GPU operation and any non-default STRATA_GLM_* setting.
  • The glm stat decode 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's glm fast: / glm split / glm stat: / glm spec: lines, and the bench results above).

maya-report.txt

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](https://github.com/mw00/project-maya/blob/main/CONTRIBUTING.md). Same machine, same day as the Maya-L report I filed separately, so the two are directly comparable. `maya-report.txt` is attached, written by `./maya.sh --report` right 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 - 2× NVIDIA H100 80GB HBM3, driver 615.71.09, PCIe gen 5: GPU0 currently linked at x8 (max x16), GPU1 at x16 - CPU: Intel Xeon Platinum 8488C, 192 threads, AVX-512 - RAM: 504 GB - Model folder `/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 free - Linux 6.12 (Debian 13), Python 3.13.5 ## Setup `maya-maya-m-derisked.json`: model Maya-M-Derisked (the IQ2_S GGUF), context 1,048,576, GPUs [0, 1], images on, `settings {}` — no `STRATA_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) | what | Maya-M-Derisked (IQ2_S) | Maya-L, same machine | |---|---|---| | decode, mean over 3 × 256 tokens | **123.7 tokens/s** (126.0 / 115.5 / 129.5) | 122.4 tokens/s | | prefill, 2048-token prompt | **1411 tokens/s** | 1520 tokens/s | | prefill, 8192-token prompt | **1986 tokens/s** | 2099 tokens/s | 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 VRAM** - expert pools 49.43 / 52.66 GB (291 slots a layer); tiers warm in 185 s / 193 s (~0.28 GB/s); the CPU lane ends up off ("the RAM tier holds no expert"), so again no RAM/disk tier is exercised - unlike Maya-L on this box, the vision encoder fits: `glm fast: CUDA0 the vision encoder borrows the pool's tail (3.06 GB) while it encodes`, and `maya serve` reports 24.6 / 21.3 GB VRAM still free with everything loaded - during the bench, `glm stat` decode 7.72–8.66 ms/tok (115–129 tok/s), vram hit 100.00%, zero disk reads/waits ## Not measured - Images: the vision encoder is resident this time, but I haven't sent an image through it. - Long conversations, concurrent users, thinking mode, sampled (non-greedy) generation. - Single-GPU operation and any non-default `STRATA_GLM_*` setting. - The `glm stat` decode 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's `glm fast:` / `glm split` / `glm stat:` / `glm spec:` lines, and the bench results above). [maya-report.txt](https://github.com/user-attachments/files/33617370/maya-report.txt)
Author
Owner

@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, --bench protocol (3 × 256 tokens, greedy, thinking off; prefill at 2048/8192), context 1,048,576, GPUs [0, 1], default settings — maya-report.txt from that session is attached (it carries both setups).

Observation 1: Maya-M vs Maya-L, no decode gain

Maya-L Maya-M-Derisked (IQ2_S)
decode, mean of 3 × 256 tokens 122.4 tok/s 123.7 tok/s
prefill 2048 / 8192 1520 / 2099 tok/s 1411 / 1986 tok/s
expert pools (CUDA0 + CUDA1) 139.8 GB 102.1 GB
VRAM free with everything loaded ~10 GB 24.6 / 21.3 GB
glm stat decode during bench 8.07–8.60 ms/tok 7.72–8.66 ms/tok

The 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 dmon trace yet — happy to, if it would help; the utilization observation so far is from watching nvidia-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, and STRATA_GLM_CPU_PIN (2 NUMA nodes here).
  • I'll A/B each with --bench, one change at a time, and report the numbers back here.

Questions

  1. The gap between the pipeline prediction (~1.6–1.8 ms/token) and measured decode (~8 ms/token) — is that gap essentially launches + host waits + attention/sampling, and is there a knob that breaks it down (STRATA_GLM_TIMING)? If yes I'll attach a breakdown instead of speculating.
  2. On a 2-GPU split with --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?
  3. For contrast: on one H100 the same Maya-M doesn't fit (8460 of ~13k slots in VRAM, 38.99 GB RAM tier, CPU lane on) and decode halves to 61.4 tok/s on v1.1.15 — that's the bandwidth-bound regime. It's the everything-fits regime that seems launch-bound. Is reducing per-token fixed costs on split decode (fewer launches, CUDA graphs, hiding the boundary hop) on the roadmap?

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.

<!-- gh-comment-id:6246203514 --> @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]( #258 ) 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, `--bench` protocol (3 × 256 tokens, greedy, thinking off; prefill at 2048/8192), context 1,048,576, GPUs [0, 1], default settings — `maya-report.txt` from that session is attached (it carries both setups). ## Observation 1: Maya-M vs Maya-L, no decode gain | | Maya-L | Maya-M-Derisked (IQ2_S) | |---|---|---| | decode, mean of 3 × 256 tokens | 122.4 tok/s | 123.7 tok/s | | prefill 2048 / 8192 | 1520 / 2099 tok/s | 1411 / 1986 tok/s | | expert pools (CUDA0 + CUDA1) | 139.8 GB | 102.1 GB | | VRAM free with everything loaded | ~10 GB | 24.6 / 21.3 GB | | `glm stat` decode during bench | 8.07–8.60 ms/tok | 7.72–8.66 ms/tok | The 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 dmon` trace yet — happy to, if it would help; the utilization observation so far is from watching `nvidia-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`, and `STRATA_GLM_CPU_PIN` (2 NUMA nodes here). - I'll A/B each with `--bench`, one change at a time, and report the numbers back here. ## Questions 1. The gap between the pipeline prediction (~1.6–1.8 ms/token) and measured decode (~8 ms/token) — is that gap essentially launches + host waits + attention/sampling, and is there a knob that breaks it down (`STRATA_GLM_TIMING`)? If yes I'll attach a breakdown instead of speculating. 2. On a 2-GPU split with `--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? 3. For contrast: on **one** H100 the same Maya-M doesn't fit (8460 of ~13k slots in VRAM, 38.99 GB RAM tier, CPU lane on) and decode halves to 61.4 tok/s on v1.1.15 — that's the bandwidth-bound regime. It's the *everything-fits* regime that seems launch-bound. Is reducing per-token fixed costs on split decode (fewer launches, CUDA graphs, hiding the boundary hop) on the roadmap? `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.
Author
Owner

@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.

<!-- gh-comment-id:6295611005 --> @mw00 commented on GitHub (Oct 20, 2026): Your 2x H100 numbers are now the top row of [the README's speed table](https://github.com/mw00/project-maya#how-fast-is-it) - 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.
Author
Owner

@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.

<!-- gh-comment-id:6360578088 --> @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.
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#95
No description provided.