[GH-ISSUE #282] Speed report: NVIDIA DGX Spark (GB10, 121 GB unified memory) - Maya-S v2 IQ2_XXS, 128K ctx, 16-17 tok/s decode / ~730 tok/s prefill (6K), v1.1.15 #106

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

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

Version

v1.1.15, measured 2026-10-19/20 from the live server log (maya.py serving the OpenAI API on one box). I did not run ./maya.sh --bench, because the server was busy with agent work. So prefill is at ~6K tokens, not the usual 8K.

Hardware

  • NVIDIA DGX Spark class box (HP ZGX Nano G1n): GB10 Grace Blackwell, one GPU
  • 121 GB unified CPU/GPU memory (LPDDR5X, no swap). There is no separate VRAM, so the expert pool and the RAM tier share the same memory.
  • CPU: 20-core Arm (10x Cortex-X925 + 10x Cortex-A725), aarch64
  • SSD: 4 TB NVMe
  • OS: DGX OS 7.5 (Ubuntu 24.04), kernel 6.17.0-1026-nvidia, driver 580.159.03, CUDA 13.0

Setup

  • Model: Maya-S v2 IQ2_XXS (--glm-pack), 128K context (--max-context 131072), MTP draft
  • Flags: --expert-cache auto --prefill auto --kv-streaming on plus the GLM expert profile
  • Env: STRATA_GLM_COMPLETE_POOL=1, STRATA_GLM_RESIDENT_SKIP=1, STRATA_GLM_UMA_LEND_GB=8, STRATA_GLM_RAM_HEADROOM_GB=10, STRATA_GLM_KDA_GRAPH=1

Result

Decode 16-17 tok/s sustained (e.g. 500 tokens in 32 s = 17.1 tok/s; 3,269 tokens in 201 s = 16.5 tok/s)
Prefill ~730 tok/s (6,020-token prompt in 8.2 s)
Cached prompt same 6K context re-read in ~0.1 s (session checkpoints work)
Expert cache 99.9% hit
MTP 56-60% of drafts accepted on long answers
Cold start first request after start ~140 s; expert tiers warm in 18 s (86 GB at ~4.8 GB/s)

Agent workload: with tool calls, an autonomous coding agent finished a full feature task (98 turns, spec through PR) in 1 h 42 min, running entirely on this box.

What limits it: all 12,096 experts (86 GB) fit in the unified pool ("all experts fit in the GPU pool; RAM tier is staging only"), so there are no disk reads and the CPU lane is off. Decode is likely limited by the GB10's memory bandwidth (~273 GB/s LPDDR5X) and not by capacity.

Notes

  • The log names the wrong backend on CUDA: the unified-memory budget line prints HIP0 even though the device is CUDA0:
    glm fast: HIP0 unified memory: MemAvailable 105.57 GB, headroom 10.00 GB + 1024 MB reserve, experts need 80.17 GB, pool budget 88.17 GB
    It looks cosmetic (the UMA path was probably written for Strix Halo first).
  • At the default headroom, prefill fell back to token-by-token. With headroom 16 GB, the log said the expert pool (5 slots a layer) can lend no prompt chunk (--prefill auto) - token by token. After I set STRATA_GLM_UMA_LEND_GB=8 and STRATA_GLM_RAM_HEADROOM_GB=10, it chunks at 32,768 tokens (borrowing ~6.5 GB of the pool). Other GB10 owners will probably need the same, or the UMA defaults could account for it.

Not measured

--bench at 8K, --calibrate, long context beyond ~30K, vision, --parallel, and Maya-M/L. I can rerun with --bench when the box is free if that helps.

Originally created by @ericoh88 on GitHub (Oct 20, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/282 ## Version v1.1.15, measured 2026-10-19/20 from the live server log (`maya.py` serving the OpenAI API on one box). I did **not** run `./maya.sh --bench`, because the server was busy with agent work. So prefill is at ~6K tokens, not the usual 8K. ## Hardware - **NVIDIA DGX Spark class box** (HP ZGX Nano G1n): **GB10 Grace Blackwell**, one GPU - **121 GB unified CPU/GPU memory** (LPDDR5X, no swap). There is no separate VRAM, so the expert pool and the RAM tier share the same memory. - CPU: 20-core Arm (10x Cortex-X925 + 10x Cortex-A725), aarch64 - SSD: 4 TB NVMe - OS: DGX OS 7.5 (Ubuntu 24.04), kernel 6.17.0-1026-nvidia, driver 580.159.03, CUDA 13.0 ## Setup - Model: **Maya-S v2 IQ2_XXS** (`--glm-pack`), **128K context** (`--max-context 131072`), MTP draft - Flags: `--expert-cache auto --prefill auto --kv-streaming on` plus the GLM expert profile - Env: `STRATA_GLM_COMPLETE_POOL=1`, `STRATA_GLM_RESIDENT_SKIP=1`, `STRATA_GLM_UMA_LEND_GB=8`, `STRATA_GLM_RAM_HEADROOM_GB=10`, `STRATA_GLM_KDA_GRAPH=1` ## Result | | | |---|---| | **Decode** | **16-17 tok/s** sustained (e.g. 500 tokens in 32 s = 17.1 tok/s; 3,269 tokens in 201 s = 16.5 tok/s) | | **Prefill** | **~730 tok/s** (6,020-token prompt in 8.2 s) | | Cached prompt | same 6K context re-read in ~0.1 s (session checkpoints work) | | Expert cache | 99.9% hit | | MTP | 56-60% of drafts accepted on long answers | | Cold start | first request after start ~140 s; expert tiers warm in 18 s (86 GB at ~4.8 GB/s) | **Agent workload:** with tool calls, an autonomous coding agent finished a full feature task (98 turns, spec through PR) in **1 h 42 min**, running entirely on this box. **What limits it:** all 12,096 experts (86 GB) fit in the unified pool ("all experts fit in the GPU pool; RAM tier is staging only"), so there are no disk reads and the CPU lane is off. Decode is likely limited by the GB10's memory bandwidth (~273 GB/s LPDDR5X) and not by capacity. ## Notes - **The log names the wrong backend on CUDA:** the unified-memory budget line prints `HIP0` even though the device is `CUDA0`: `glm fast: HIP0 unified memory: MemAvailable 105.57 GB, headroom 10.00 GB + 1024 MB reserve, experts need 80.17 GB, pool budget 88.17 GB` It looks cosmetic (the UMA path was probably written for Strix Halo first). - **At the default headroom, prefill fell back to token-by-token.** With headroom 16 GB, the log said `the expert pool (5 slots a layer) can lend no prompt chunk (--prefill auto) - token by token`. After I set `STRATA_GLM_UMA_LEND_GB=8` and `STRATA_GLM_RAM_HEADROOM_GB=10`, it chunks at 32,768 tokens (borrowing ~6.5 GB of the pool). Other GB10 owners will probably need the same, or the UMA defaults could account for it. ## Not measured `--bench` at 8K, `--calibrate`, long context beyond ~30K, vision, `--parallel`, and Maya-M/L. I can rerun with `--bench` when the box is free if that helps.
Author
Owner

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

Thank you, @ericoh88 - the DGX Spark run is now in the README's speed table (marked as a 6K-token prompt).

<!-- gh-comment-id:6295601597 --> @mw00 commented on GitHub (Oct 20, 2026): Thank you, @ericoh88 - the DGX Spark run is now in [the README's speed table](https://github.com/mw00/project-maya#how-fast-is-it) (marked as a 6K-token prompt).
Author
Owner

@kilazin commented on GitHub (Oct 21, 2026):

Thanks for the GB10 report. I'm trying to reproduce it on a DGX Spark (DGX OS, CUDA 13.0, driver 580.142) with v1.1.20 (also checked v1.1.15). The engine doesn't build on aarch64: src/core/graph.cpp includes <immintrin.h>,and CMake forces -mavx512f etc. on the CPU kernels. Setup also needed small fixes to detect the GB10 (memory.total is [N/A]) and to read Arm's Features line in /proc/cpuinfo. How did you build it on the Spark? Do you have a patch or branch you could share?

NVM i figured it out and your speed reads like mine pretty damn good if you ask me!!!

<!-- gh-comment-id:6323096300 --> @kilazin commented on GitHub (Oct 21, 2026): Thanks for the GB10 report. I'm trying to reproduce it on a DGX Spark (DGX OS, CUDA 13.0, driver 580.142) with v1.1.20 (also checked v1.1.15). The engine doesn't build on aarch64: src/core/graph.cpp includes <immintrin.h>,and CMake forces -mavx512f etc. on the CPU kernels. Setup also needed small fixes to detect the GB10 (memory.total is [N/A]) and to read Arm's Features line in /proc/cpuinfo. How did you build it on the Spark? Do you have a patch or branch you could share? NVM i figured it out and your speed reads like mine pretty damn good if you ask me!!!
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#106
No description provided.