[GH-ISSUE #22] Speed data: 2x CMP 170HX (64 GB each, PCIe Gen2 x4) - Maya-M fully in VRAM, 61.3 tok/s decode #7

Closed
opened 2026-10-29 21:19:04 +07:00 by bsakaguchi · 1 comment
Owner

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

Speed data: 2x CMP 170HX (64 GB each, PCIe Gen2 x4) — Maya-M, 61.3 tok/s decode

Following README.md → "Reporting a problem or your speed", here is a machine that is not in the
speed table yet. I built the engine from source (no maya.sh, so no maya-report.txt/maya-bench.txt
binary) and reproduced the maya.py bench() contract exactly — same three questions, 256 tokens,
greedy, thinking off, one 64-token warm-up first, prefill at 2048/8192 — so the numbers are directly
comparable with the table.

Hardware

GPU 2x NVIDIA CMP 170HX, 64 GB each = 128 GB total (GA100, sm_80), driver 610.43.03
PCIe Gen2 x4 (5 GT/s, 4 lanes) — the cards only ever trained to Gen1 x4 at boot, so I re-trained them to Gen2 x4. Max width is x16 but the slot wiring is x4
CPU Intel Xeon E5-2690 v4 (2 sockets x 14 cores, 56 threads) — the same CPU as your "2x Tesla V100 32 GB" row
RAM 91 GB (the model runs fully in VRAM, RAM tier is nearly unused)
Disk 1x 476 GB SATA SSD
OS Ubuntu, kernel 7.0.0-14-generic, CUDA 13.0
Engine built from source at v1.0.6 (the k-quant MTP fix and the load_pack_env(layer_split) change landed after it — both were already handled when I read main)
Model GLM-5.3-Flash-Maya-M (116 GB), 32K context, fully resident in the two cards' VRAM

Results

decode (writing the answer): mean 61.3 tokens/s over 3 answers of 256 tokens (greedy, thinking off)
   61.7 tokens/s   accept 72.8%   Write a Python function that parses a CSV file...
   57.3 tokens/s   accept 62.2%   Explain how photosynthesis works, step by step...
   65.0 tokens/s   accept 81.1%   Write a complete HTML page with a canvas that draws...

prefill (reading the prompt): 181 tokens/s, a 2048-token prompt
prefill (reading the prompt): 514 tokens/s, a 8192-token prompt

engine lines:
  glm stat: decode 15.4-17.5 ms/tok | vram hit 99.5-99.8% | ram fetches 0.00/tok
            disk 0.00 reads/tok | cpu lane 0.9-1.8/tok | vram 12255/12384 ram 127/215
  glm spec: 62-81% of drafts accepted

For reference, the README table lists 2x Tesla V100 32 GB, Xeon E5-2690 v4, 30 GB RAM at
up to 40 tokens/s, and the v1.0.12 test numbers posted in #12 give 2x V100 at
27.6 tok/s decode / 313-674 tok/s prefill (2K-16K). This machine is the same CPU and the same
card count, with 2x the VRAM per card and a much narrower link (Gen2 x4 vs Gen3 x16):
61.3 tok/s decode.

Notes that may be useful

  1. PCIe Gen2 x4 did not stop the model from being fully VRAM-resident. The engine filled
    12 255 of 12 384 expert slots (99.6-99.8% hit), ram fetches 0.00/tok, disk 0.00 reads/tok.
    The link only shows up in the load time (~5.5 min) and in prefill, not in decode.
  2. Prefill 2048 is lower than 8192 (181 vs 514 tok/s). The 2048 number is the first prompt after
    the warm-up, so it looks like cold caches rather than a size effect — worth a look if you want
    prefill numbers to be comparable across machines.
  3. Two flags made a large difference on this machine (--native and --kv int8):
    • --native <shard>.gguf: acceptance 53% → 95% on short prompts, enqueue head 3.02 → 1.85 ms
    • --kv int8: long answers +34% (a pure-decode 400-token run went 57.5 → 77.0 tok/s)
      Both are documented options, but neither is on by default; on this hardware they are worth more
      than anything else I tried. Would it be reasonable to make --native the default for GLM packs
      when the engine can auto-detect the first shard?
  4. Acceptance rate tracks the task, 62% on prose vs 81% on code, same as your V100 numbers.
  5. Concurrency scales linearly: c=1 46.8 / c=2 107.6 / c=4 194.4 tok/s aggregate (per-stream
    constant), so the 128 GB of VRAM is worth using for more than one stream.

Happy to run any specific configuration you want numbers for — the two cards hold the whole model
with ~1.5 GB to spare, so there is not much room for a larger context, but I can re-run the bench at
whatever settings are most useful for the table.

Originally created by @ZackO2o on GitHub (Oct 8, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/22 # Speed data: 2x CMP 170HX (64 GB each, PCIe **Gen2 x4**) — Maya-M, 61.3 tok/s decode Following `README.md` → "Reporting a problem or your speed", here is a machine that is not in the speed table yet. I built the engine from source (no `maya.sh`, so no `maya-report.txt`/`maya-bench.txt` binary) and reproduced the **`maya.py bench()` contract exactly** — same three questions, 256 tokens, greedy, thinking off, one 64-token warm-up first, prefill at 2048/8192 — so the numbers are directly comparable with the table. ## Hardware | | | |---|---| | GPU | **2x NVIDIA CMP 170HX, 64 GB each = 128 GB total** (GA100, sm_80), driver 610.43.03 | | PCIe | **Gen2 x4 (5 GT/s, 4 lanes)** — the cards only ever trained to Gen1 x4 at boot, so I re-trained them to Gen2 x4. Max width is x16 but the slot wiring is x4 | | CPU | Intel Xeon E5-2690 v4 (2 sockets x 14 cores, 56 threads) — *the same CPU as your "2x Tesla V100 32 GB" row* | | RAM | 91 GB (the model runs fully in VRAM, RAM tier is nearly unused) | | Disk | 1x 476 GB SATA SSD | | OS | Ubuntu, kernel 7.0.0-14-generic, CUDA 13.0 | | Engine | built from source at **v1.0.6** (the k-quant MTP fix and the `load_pack_env(layer_split)` change landed after it — both were already handled when I read `main`) | | Model | `GLM-5.3-Flash-Maya-M` (116 GB), 32K context, fully resident in the two cards' VRAM | ## Results ``` decode (writing the answer): mean 61.3 tokens/s over 3 answers of 256 tokens (greedy, thinking off) 61.7 tokens/s accept 72.8% Write a Python function that parses a CSV file... 57.3 tokens/s accept 62.2% Explain how photosynthesis works, step by step... 65.0 tokens/s accept 81.1% Write a complete HTML page with a canvas that draws... prefill (reading the prompt): 181 tokens/s, a 2048-token prompt prefill (reading the prompt): 514 tokens/s, a 8192-token prompt engine lines: glm stat: decode 15.4-17.5 ms/tok | vram hit 99.5-99.8% | ram fetches 0.00/tok disk 0.00 reads/tok | cpu lane 0.9-1.8/tok | vram 12255/12384 ram 127/215 glm spec: 62-81% of drafts accepted ``` For reference, the README table lists `2x Tesla V100 32 GB, Xeon E5-2690 v4, 30 GB RAM` at **up to 40 tokens/s**, and the v1.0.12 test numbers posted in #12 give 2x V100 at **27.6 tok/s decode / 313-674 tok/s prefill (2K-16K)**. This machine is the same CPU and the same card count, with 2x the VRAM per card and a much narrower link (Gen2 x4 vs Gen3 x16): **61.3 tok/s decode**. ## Notes that may be useful 1. **PCIe Gen2 x4 did not stop the model from being fully VRAM-resident.** The engine filled 12 255 of 12 384 expert slots (99.6-99.8% hit), `ram fetches 0.00/tok`, `disk 0.00 reads/tok`. The link only shows up in the load time (~5.5 min) and in prefill, not in decode. 2. **Prefill 2048 is lower than 8192** (181 vs 514 tok/s). The 2048 number is the first prompt after the warm-up, so it looks like cold caches rather than a size effect — worth a look if you want prefill numbers to be comparable across machines. 3. **Two flags made a large difference on this machine** (`--native` and `--kv int8`): - `--native <shard>.gguf`: acceptance 53% → 95% on short prompts, `enqueue head` 3.02 → 1.85 ms - `--kv int8`: long answers +34% (a pure-decode 400-token run went 57.5 → 77.0 tok/s) Both are documented options, but neither is on by default; on this hardware they are worth more than anything else I tried. Would it be reasonable to make `--native` the default for GLM packs when the engine can auto-detect the first shard? 4. **Acceptance rate tracks the task**, 62% on prose vs 81% on code, same as your V100 numbers. 5. **Concurrency scales linearly**: c=1 46.8 / c=2 107.6 / c=4 194.4 tok/s aggregate (per-stream constant), so the 128 GB of VRAM is worth using for more than one stream. Happy to run any specific configuration you want numbers for — the two cards hold the whole model with ~1.5 GB to spare, so there is not much room for a larger context, but I can re-run the bench at whatever settings are most useful for the table.
Author
Owner

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

Thank you, a great data point! It's in the README's table of speeds measured by users as of v1.0.15: 2x CMP 170HX, Maya-M fully in VRAM, 61.3 tokens/s decode, 514 tokens/s prefill at 8K.

Your write-up in #23 is the next thing to work on. When every expert is in VRAM, as on your machine, decode is bound by the small-kernel chain per layer, not by memory. Since v1.0.6 a lot has changed (v1.0.13 fixed GLM tool calls, which never worked before), so it's worth updating. Your two notes about load_pack_env(layer_split) and the k-quant MTP dispatch were indeed already fixed on main.

<!-- gh-comment-id:6069347537 --> @mw00 commented on GitHub (Oct 8, 2026): Thank you, a great data point! It's in the README's table of speeds measured by users as of [v1.0.15](https://github.com/mw00/project-maya/releases/tag/v1.0.15): 2x CMP 170HX, Maya-M fully in VRAM, 61.3 tokens/s decode, 514 tokens/s prefill at 8K. Your write-up in #23 is the next thing to work on. When every expert is in VRAM, as on your machine, decode is bound by the small-kernel chain per layer, not by memory. Since v1.0.6 a lot has changed (v1.0.13 fixed GLM tool calls, which never worked before), so it's worth updating. Your two notes about `load_pack_env(layer_split)` and the k-quant MTP dispatch were indeed already fixed on main.
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#7
No description provided.