[GH-ISSUE #424] Speed & benchmark report: Maya-S DeepSeek-V4.1-Flash-1017 on 2× RTX PRO 5000 72GB, 512K context (v1.1.20) #170

Closed
opened 2026-10-29 21:21:59 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @realsquall1980-art on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/424

I completed a local evaluation of DeepSeek-V4.1-Flash-1017 Maya-S on 2× RTX PRO 5000 72GB and would like to share it with the Project Maya community.

The full report, including setup details, measured performance, paired quality checks, limitations, and sanitized maya-report.txt, is published here:
https://github.com/realsquall1980-art/maya-s1017-benchmarks

Summary

  • Hardware: 2× NVIDIA RTX PRO 5000 72GB (Blackwell), Ryzen 9 9950X3D, 249GB DDR5-6000, Ubuntu 24.04, CUDA 13.0.
  • Project Maya v1.1.20, self-built for sm_120; Maya-S 339.5GB mixed IQ2 pack; 512K context, DSpark enabled.
  • Decode calibration at 512K: 71.03 tok/s with DSpark vs 46.03 tok/s without it (+54.3%; draft acceptance 67%).
  • Long-context probes: 21,457 / 127,057 / 431,057-token prompts; retrieval needle passed at all three lengths.
  • Paired local-vs-official API check: 24-task suite scored 24.000/24 locally vs 23.975/24 via official API with temperature=1, top_p=1, reasoning_effort=high. This is a small custom suite, not an official benchmark or evidence of general parity.
  • At temperature=0, one coding task showed repeated-reasoning degeneration in the observed trials; under the documented official sampling settings, it did not recur in the comparison batch.

The full report clearly labels measured results and limitations. No credentials, private host paths, private IPs, or raw provider keys are included. Long-horizon agent tasks, tool-execution trajectories, and full-window 512K behavior are not claimed as benchmarked.

Originally created by @realsquall1980-art on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/424 I completed a local evaluation of DeepSeek-V4.1-Flash-1017 Maya-S on 2× RTX PRO 5000 72GB and would like to share it with the Project Maya community. The full report, including setup details, measured performance, paired quality checks, limitations, and sanitized `maya-report.txt`, is published here: https://github.com/realsquall1980-art/maya-s1017-benchmarks ### Summary - Hardware: 2× NVIDIA RTX PRO 5000 72GB (Blackwell), Ryzen 9 9950X3D, 249GB DDR5-6000, Ubuntu 24.04, CUDA 13.0. - Project Maya v1.1.20, self-built for sm_120; Maya-S 339.5GB mixed IQ2 pack; 512K context, DSpark enabled. - Decode calibration at 512K: 71.03 tok/s with DSpark vs 46.03 tok/s without it (+54.3%; draft acceptance 67%). - Long-context probes: 21,457 / 127,057 / 431,057-token prompts; retrieval needle passed at all three lengths. - Paired local-vs-official API check: 24-task suite scored 24.000/24 locally vs 23.975/24 via official API with temperature=1, top_p=1, reasoning_effort=high. This is a small custom suite, not an official benchmark or evidence of general parity. - At temperature=0, one coding task showed repeated-reasoning degeneration in the observed trials; under the documented official sampling settings, it did not recur in the comparison batch. The full report clearly labels measured results and limitations. No credentials, private host paths, private IPs, or raw provider keys are included. Long-horizon agent tasks, tool-execution trajectories, and full-window 512K behavior are not claimed as benchmarked.
Author
Owner

@realsquall1980-art commented on GitHub (Oct 23, 2026):

Full public report package: https://github.com/realsquall1980-art/maya-s1017-benchmarks/tree/main/bench/results/2026-10-23-community-rtx-pro-5000-72gb-dsv41-maya-s

The package includes the detailed report, the sanitized maya-report.txt requested by CONTRIBUTING.md, a concise README, and the Chinese community poster with editable HTML/data sources.

<!-- gh-comment-id:6366699799 --> @realsquall1980-art commented on GitHub (Oct 23, 2026): Full public report package: https://github.com/realsquall1980-art/maya-s1017-benchmarks/tree/main/bench/results/2026-10-23-community-rtx-pro-5000-72gb-dsv41-maya-s The package includes the detailed report, the sanitized maya-report.txt requested by CONTRIBUTING.md, a concise README, and the Chinese community poster with editable HTML/data sources.
Author
Owner

@realsquall1980-art commented on GitHub (Oct 23, 2026):

Updated the public poster source to remove private endpoint and tunnel details from the reproducibility panel; the sanitized source is now in the repository.

<!-- gh-comment-id:6366725764 --> @realsquall1980-art commented on GitHub (Oct 23, 2026): Updated the public poster source to remove private endpoint and tunnel details from the reproducibility panel; the sanitized source is now in the repository.
Author
Owner

@realsquall1980-art commented on GitHub (Oct 25, 2026):

Follow-up (2026-10-25): we published an expanded parameter-sweep entry that consolidates the full 3x3 matrix behind this report — DSpark on/off x 256K/512K/1M decode (74.48/71.03/69.19 vs 46.58/46.03/46.22 tok/s, acceptance 69.2/65.5%), per-window KV/expert-residency cost from the boot banners, load-type prefill/decode from engine-log lines (peak prefill 1,755 tok/s @127K; needles PASS at 21K/127K/431K in all three windows), and the "512K is the knee" accounting (256K->512K pays 4.6% decode for 2x window; 512K->1M only evicts 71 more experts). Also included: a cross-hardware comparison — 25% less VRAM and 28% less per-GPU bandwidth than a 2x PRO 6000 96GB host costs only ~7% decode, because CPU-lane work overlaps GPU compute (engine log: CPU lane 0.1%-8.3% of experts per step).

Entry (English README = source of record, Chinese poster, full raw logs under raw/):
https://github.com/realsquall1980-art/maya-s1017-benchmarks/tree/main/bench/results/2026-10-25-community-rtx-pro-5000-72gb-dsv41-maya-s-dual-gpu-sweep

Note on status: the dual-GPU Maya deployment has since been archived on this machine (the host now runs the single-GPU Strata Terminal IQ2_XS variant; its report is linked from the same repo index). Limits unchanged from the original report: solo, single-turn, windows not saturated (max 431,057 tokens).

<!-- gh-comment-id:6397919287 --> @realsquall1980-art commented on GitHub (Oct 25, 2026): Follow-up (2026-10-25): we published an expanded parameter-sweep entry that consolidates the full 3x3 matrix behind this report — **DSpark on/off x 256K/512K/1M** decode (74.48/71.03/69.19 vs 46.58/46.03/46.22 tok/s, acceptance 69.2/65.5%), per-window KV/expert-residency cost from the boot banners, load-type prefill/decode from engine-log lines (peak prefill 1,755 tok/s @127K; needles PASS at 21K/127K/431K in all three windows), and the "512K is the knee" accounting (256K->512K pays 4.6% decode for 2x window; 512K->1M only evicts 71 more experts). Also included: a cross-hardware comparison — 25% less VRAM and 28% less per-GPU bandwidth than a 2x PRO 6000 96GB host costs only ~7% decode, because CPU-lane work overlaps GPU compute (engine log: CPU lane 0.1%-8.3% of experts per step). Entry (English README = source of record, Chinese poster, full raw logs under `raw/`): https://github.com/realsquall1980-art/maya-s1017-benchmarks/tree/main/bench/results/2026-10-25-community-rtx-pro-5000-72gb-dsv41-maya-s-dual-gpu-sweep Note on status: the dual-GPU Maya deployment has since been archived on this machine (the host now runs the single-GPU Strata Terminal IQ2_XS variant; its report is linked from the same repo index). Limits unchanged from the original report: solo, single-turn, windows not saturated (max 431,057 tokens).
Author
Owner

@realsquall1980-art commented on GitHub (Oct 27, 2026):

Follow-up (2026-10-27): engine v1.1.28 tuning campaign on the same host — 14 configurations, one structural knob at a time, then the opt-in switches stacked on the settled structure. This is now the running production config here (the 2026-10-25 archive note in my previous comment no longer applies to this box).

Headline, all from engine-log lines (read in … ms, 0 reused only):

  • prefill @42–44K prompts: 3,940–4,007 tok/s (the config in the original report: 1,587–1,638 → ≈ +142%)
  • decode, code-class (warm): 145–162 tok/s (was 77.6); prose 68–71
  • streamed weight bytes per 42K prompt, both GPUs summed: 131.9 GB → 45.3 GB

What did not work, with the numbers behind the verdict:

  • True TP2 (MAYA_DS4_TP_GGUF_UNEVEN=1 + DS4_FLOW_TP=1): prefill 1,402–1,449 — 11% below the old layer-split config. With a fixed 144 GB the experts get cut in half across two cards, so fewer complete specialists fit (residency 71.1/71.4% vs 74.5/74.9%) and per-prompt streaming doubles. The 1.9x figure upstream was --tp 8 on nine GPUs; the gain comes from capacity, not finer splitting. Worth stating plainly in the README, since "enable TP" looks like the obvious move on a multi-GPU host.
  • --prefill-chunk 32768: prefill 3,611 and code decode 112.9 — lower traffic (28.7 GB) but the activations evict residency (72.2% → 67.7%) and cancel the gain. 16384 is the knee (+8–11% over 8192).
  • Explicit DS4_SPLIT=20,20: 3,477–3,532, i.e. 4% slower than the engine's own answer. DS4_SPLIT=19,21 reproduces the automatic split exactly (3,659–3,689), which is a nice confirmation that the DP in ds4_model.cu already minimises the busiest card's streamed bytes.
  • --max-context 262144: 3,661–3,688, no change — DeepSeek V4.1 keeps KV compressed (FP4 + sliding window), so 512K→256K frees only 0.14 GB per card (~36 more experts, +0.3%). Halving the context does not buy experts here.
  • DS4_REQUIRE_ALL_RAM=1 (+ --mmap-experts off): 3,630–3,675, no change — auto already copies all 4,317 CPU-lane experts (47.6 GB) at boot, so the strict flag only turns that into a hard requirement.
  • STRATA_DS4_RAM_SKIP_W=0.10 / 0.14: 3,708–3,737, no gain at 72% residency (the documented +20–43% was Maya-XS with all experts on the CPU lane); rejected since it changes the answers.
  • DS4_FAT_ROWS=128: no effect (default 64 already covers it). MAYA_DS4_DRAFT_DEV: refuses to start on a layer-split pack.

One switch with real upside, and a real trade: STRATA_DS4_PROMPT_SKIP=2 → +6~8% at 42K (3,939–4,007) and +2.7% at 124K (3,708), decode untouched (≤1% across interleaved A→B→A). It is the SWA/bounded-replay path DeepSeek's own serving uses; needles at three depths pass 9/9 and the 15-question battery is unchanged, but answers can shift a little, so I ship it as the default with an exact config one command away.

Two measurement notes that cost us hours, in case they help others:

  1. Sequential decode A/B fakes a win: within one boot, cold-vs-warm drift runs 125 → 162 tok/s (±20%), so whichever condition runs second looks better. Interleaved A→B→A with a fresh boot per round is the only trustworthy order.
  2. SLOT_KEEP=1 makes "cold" reads fake: the engine writes sessions back into the pack's slots/ on exit, so "delete slots, then stop the process" measures a 0.5 s read of a 44K prompt. Stop the unit first, then clear slots/, then start.
  3. Related gotcha: the engine binary only reads STRATA_DS4_*; MAYA_DS4_* is translated server-side by maya_names.alias_env. Testing the binary directly with the MAYA_ names is silently ignored — that is what made our first --ppl sweep look like "every switch is a no-op".
  4. --ppl is a false negative for skip-work switches: RAM_SKIP_W=0.50 and DS4_YOCO=0/2 left it bit-identical while DS4_ATTN_MMA=0 changed every value. And a tail-only retrieval needle is a false pass for PROMPT_SKIP=2, which keeps exactly the tail rows.

Entry (English README = source of record, Chinese full text + Chinese poster, data/summary.json that every table is generated from, and all 25 engine logs under raw/):
https://github.com/realsquall1980-art/maya-s1017-benchmarks/tree/main/bench/results/2026-10-27-community-rtx-pro-5000-72gb-dsv41-maya-s-v1128-tuning-sweep

Setup is verbatim in the README: --max-context 524288 --tp 1 --prefill-chunk 16384 --dspark on --mmap-experts auto, PROMPT_SKIP=2 / Q8_BATCH=1 / SLOT_KEEP=1, 2x RTX PRO 5000 72GB (73,415 MiB each), 9950X3D, 249 GiB DDR5-6000, driver 595.91.07.

Limits unchanged: solo single-turn (0 reused), 2x 42K + 3 code + 3 prose + 15-question battery per condition — not a statistical A/B (±3% = noise; the settled structure accumulated six boots at 3,638–3,722, ±1.4%); no --parallel >1, no multi-turn KV reuse, no vision/tool-call workload, window not saturated (longest 124–131K); DSpark gains were calibrated on v1.1.20 and were not re-measured on v1.1.28; strata bench / --report not run.

Thanks again to the authors for the calibration harness and the CPU-offload engine — the residency/streaming counters printed at boot are what made these verdicts decidable at all.

<!-- gh-comment-id:6434534135 --> @realsquall1980-art commented on GitHub (Oct 27, 2026): Follow-up (2026-10-27): engine **v1.1.28** tuning campaign on the same host — 14 configurations, one structural knob at a time, then the opt-in switches stacked on the settled structure. This is now the running production config here (the 2026-10-25 archive note in my previous comment no longer applies to this box). **Headline, all from engine-log lines (`read in … ms`, `0 reused` only):** - prefill @42–44K prompts: **3,940–4,007 tok/s** (the config in the original report: 1,587–1,638 → ≈ +142%) - decode, code-class (warm): **145–162 tok/s** (was 77.6); prose 68–71 - streamed weight bytes per 42K prompt, both GPUs summed: **131.9 GB → 45.3 GB** **What did not work, with the numbers behind the verdict:** - **True TP2** (`MAYA_DS4_TP_GGUF_UNEVEN=1` + `DS4_FLOW_TP=1`): prefill **1,402–1,449** — 11% *below* the old layer-split config. With a fixed 144 GB the experts get cut in half across two cards, so fewer *complete* specialists fit (residency 71.1/71.4% vs 74.5/74.9%) and per-prompt streaming doubles. The 1.9x figure upstream was `--tp 8` on nine GPUs; the gain comes from capacity, not finer splitting. Worth stating plainly in the README, since "enable TP" looks like the obvious move on a multi-GPU host. - **`--prefill-chunk 32768`**: prefill 3,611 and code decode 112.9 — lower traffic (28.7 GB) but the activations evict residency (72.2% → 67.7%) and cancel the gain. **16384 is the knee** (+8–11% over 8192). - **Explicit `DS4_SPLIT=20,20`**: 3,477–3,532, i.e. **4% slower** than the engine's own answer. `DS4_SPLIT=19,21` reproduces the automatic split exactly (3,659–3,689), which is a nice confirmation that the DP in `ds4_model.cu` already minimises the busiest card's streamed bytes. - **`--max-context 262144`**: 3,661–3,688, no change — DeepSeek V4.1 keeps KV compressed (FP4 + sliding window), so 512K→256K frees only **0.14 GB per card** (~36 more experts, +0.3%). Halving the context does not buy experts here. - **`DS4_REQUIRE_ALL_RAM=1`** (+ `--mmap-experts off`): 3,630–3,675, no change — `auto` already copies all 4,317 CPU-lane experts (47.6 GB) at boot, so the strict flag only turns that into a hard requirement. - **`STRATA_DS4_RAM_SKIP_W=0.10 / 0.14`**: 3,708–3,737, no gain at 72% residency (the documented +20–43% was Maya-XS with *all* experts on the CPU lane); rejected since it changes the answers. - **`DS4_FAT_ROWS=128`**: no effect (default 64 already covers it). **`MAYA_DS4_DRAFT_DEV`**: refuses to start on a layer-split pack. **One switch with real upside, and a real trade:** `STRATA_DS4_PROMPT_SKIP=2` → **+6~8% at 42K** (3,939–4,007) and **+2.7% at 124K** (3,708), decode untouched (≤1% across interleaved A→B→A). It is the SWA/bounded-replay path DeepSeek's own serving uses; needles at three depths pass 9/9 and the 15-question battery is unchanged, but answers can shift a little, so I ship it as the default with an `exact` config one command away. **Two measurement notes that cost us hours, in case they help others:** 1. **Sequential decode A/B fakes a win**: within one boot, cold-vs-warm drift runs 125 → 162 tok/s (±20%), so whichever condition runs second looks better. Interleaved A→B→A with a fresh boot per round is the only trustworthy order. 2. **`SLOT_KEEP=1` makes "cold" reads fake**: the engine writes sessions back into the pack's `slots/` on exit, so "delete slots, then stop the process" measures a 0.5 s read of a 44K prompt. Stop the unit first, then clear `slots/`, then start. 3. Related gotcha: the engine binary only reads **`STRATA_DS4_*`**; `MAYA_DS4_*` is translated server-side by `maya_names.alias_env`. Testing the binary directly with the `MAYA_` names is silently ignored — that is what made our first `--ppl` sweep look like "every switch is a no-op". 4. **`--ppl` is a false negative for skip-work switches**: `RAM_SKIP_W=0.50` and `DS4_YOCO=0/2` left it bit-identical while `DS4_ATTN_MMA=0` changed every value. And **a tail-only retrieval needle is a false pass** for `PROMPT_SKIP=2`, which keeps exactly the tail rows. Entry (English README = source of record, Chinese full text + Chinese poster, `data/summary.json` that every table is generated from, and all 25 engine logs under `raw/`): https://github.com/realsquall1980-art/maya-s1017-benchmarks/tree/main/bench/results/2026-10-27-community-rtx-pro-5000-72gb-dsv41-maya-s-v1128-tuning-sweep Setup is verbatim in the README: `--max-context 524288 --tp 1 --prefill-chunk 16384 --dspark on --mmap-experts auto`, `PROMPT_SKIP=2 / Q8_BATCH=1 / SLOT_KEEP=1`, 2x RTX PRO 5000 72GB (73,415 MiB each), 9950X3D, 249 GiB DDR5-6000, driver 595.91.07. Limits unchanged: solo single-turn (`0 reused`), 2x 42K + 3 code + 3 prose + 15-question battery per condition — not a statistical A/B (±3% = noise; the settled structure accumulated six boots at 3,638–3,722, ±1.4%); no `--parallel >1`, no multi-turn KV reuse, no vision/tool-call workload, window not saturated (longest 124–131K); DSpark gains were calibrated on v1.1.20 and were **not** re-measured on v1.1.28; `strata bench` / `--report` not run. Thanks again to the authors for the calibration harness and the CPU-offload engine — the residency/streaming counters printed at boot are what made these verdicts decidable at all.
Author
Owner

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

Thank you for the three rounds of measurements and for publishing the raw logs. Your Maya-S row goes into the DeepSeek speed table for the next release: two RTX PRO 5000 72 GB at 512K, 68-71 tokens/s on prose and up to 162 on code, ~3,700 tokens/s on 42K prompts. Your measurement notes (interleaved A/B, cold reads with kept conversations) are good advice for anyone benchmarking. Closing as done.

<!-- gh-comment-id:6446366104 --> @mw00 commented on GitHub (Oct 27, 2026): Thank you for the three rounds of measurements and for publishing the raw logs. Your Maya-S row goes into the DeepSeek speed table for the next release: two RTX PRO 5000 72 GB at 512K, 68-71 tokens/s on prose and up to 162 on code, ~3,700 tokens/s on 42K prompts. Your measurement notes (interleaved A/B, cold reads with kept conversations) are good advice for anyone benchmarking. Closing as done.
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#170
No description provided.