[PR #650] docs: share four-4090 DS4.1 HTTP tuning observations and reproducible inputs #650

Open
opened 2026-10-29 21:27:54 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mw00/project-maya/pull/650
Author: @oscarlius
Created: 10/29/2026
Status: 🔄 Open

Base: main ← Head: docs/ds41-four-gpu-benchmark


📝 Commits (1)

  • 8985709 docs: share bounded four-GPU DS4 tuning evidence

📊 Changes

5 files changed (+2051 additions, -0 deletions)

View changed files

📝 CONTRIBUTING.md (+3 -0)
➕ docs/benchmarks/ds41-four-4090-20261029.json (+1704 -0)
➕ docs/benchmarks/ds41-four-4090-20261029.md (+161 -0)
➕ tools/http_bench_inputs.py (+110 -0)
➕ tools/test_http_bench_inputs.py (+73 -0)

📄 Description

Related to #637.

The four-4090 tuning results need reusable inputs and an auditable record of what was measured. This adds a historical HTTP benchmark case study, sanitized numeric rows for all 75 formal requests, and a small deterministic input/calibration helper with a recorded prompt/payload hash fixture. It changes no engine, server behavior, default setting or deployment configuration.

Findings and scope

  • Separate Engram-RAM observation: 32 formal requests per arm; 128-output decode medians 16.0 → 56.4 tok/s, but the memory limit and warm state also changed and 22/32 output hashes differed. Strict comparison remains inconclusive.
  • Seven-arm v1.1.35 matrix: session-cache A→B→A return TTFT 5.201 → 0.064 s with 7999 cached tokens. Four-client batch throughput was 30.124 tok/s at native parallelism 2 and 32.412 at 4; the latter traded away screening decode performance. Reserve700 and prefill16384 did not justify adopting them on this machine.
  • These are historical observations on e16dec85abf8801a4cfc086ee4814071a3ff54a2, not a new benchmark of current main. The HTTP protocol differs from maya.sh --bench and is kept out of the README's official speed tables.
  • All 54 common pairs matched input/payload hashes and token work, but all output hashes differed. Pre-batch histories were not identical; this is not interleaved causal A/B or output-equivalence proof.
  • Ranked candidate parallel2 did not complete final reload, six-context replay, forced eviction or 16-slot capacity acceptance. The original Maya service was restored at the historical window boundary. No optimized-production acceptance is claimed.

The helper generates inputs and performs at most four caller-supplied count-only calibration probes; its CLI only prints plans. It contains no network transport, authentication, deployment controller or inference loop. Its new exact-count validation is stricter than the historical helper; compatible recorded inputs are covered by golden hashes.

Validation

  • New offline tests: 6 passed, including historical prompt/payload SHA-256, exact-count rejection, context limits, bounded probes and cache replay identity.
  • python tools/check_hip_compat.py: passed.
  • All 75 sanitized rows reconciled; seven screening medians and four-sample nearest-rank p95 values independently recomputed.
  • Local documentation links and staged whitespace checks: passed. Public material was restricted to synthetic workload definitions, numeric metrics and hashes; no credentials, private host/configuration paths or business text.
  • Full tools discovery on local Windows/Python 3.14: 583 run, 1 failure, 23 errors, 40 skipped. Observed failures include existing HIP platform-branch tests and a POSIX/Windows path expectation. No unrelated production code was changed to work around them; Linux CI is still required.
  • Full server discovery on local Windows/Python 3.14: 464 run, 22 errors, 13 skipped (757.957 s). Observed errors include SDK/Pydantic streaming-event validation and Windows local HTTP ConnectionAbortedError. No server code is changed in this PR; a full-suite pass is not claimed.
  • Upstream Linux CI run 40804149304 is action_required; maintainer action is needed before the workflow can run.
  • No new GPU run, model restart, pressure test or production change was performed for this contribution.

Draft for maintainer feedback on whether this bounded case-study/input-helper format belongs in the repository. This does not request merging an engine optimization or closing #637.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mw00/project-maya/pull/650 **Author:** [@oscarlius](https://github.com/oscarlius) **Created:** 10/29/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `docs/ds41-four-gpu-benchmark` --- ### 📝 Commits (1) - [`8985709`](https://github.com/mw00/project-maya/commit/8985709daf2bcf64069e10049fd9ae29b84aed93) docs: share bounded four-GPU DS4 tuning evidence ### 📊 Changes **5 files changed** (+2051 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CONTRIBUTING.md` (+3 -0) ➕ `docs/benchmarks/ds41-four-4090-20261029.json` (+1704 -0) ➕ `docs/benchmarks/ds41-four-4090-20261029.md` (+161 -0) ➕ `tools/http_bench_inputs.py` (+110 -0) ➕ `tools/test_http_bench_inputs.py` (+73 -0) </details> ### 📄 Description Related to #637. The four-4090 tuning results need reusable inputs and an auditable record of what was measured. This adds a historical HTTP benchmark case study, sanitized numeric rows for all 75 formal requests, and a small deterministic input/calibration helper with a recorded prompt/payload hash fixture. It changes no engine, server behavior, default setting or deployment configuration. ### Findings and scope - Separate Engram-RAM observation: 32 formal requests per arm; 128-output decode medians 16.0 → 56.4 tok/s, but the memory limit and warm state also changed and 22/32 output hashes differed. Strict comparison remains inconclusive. - Seven-arm v1.1.35 matrix: session-cache A→B→A return TTFT 5.201 → 0.064 s with 7999 cached tokens. Four-client batch throughput was 30.124 tok/s at native parallelism 2 and 32.412 at 4; the latter traded away screening decode performance. Reserve700 and prefill16384 did not justify adopting them on this machine. - These are historical observations on `e16dec85abf8801a4cfc086ee4814071a3ff54a2`, not a new benchmark of current `main`. The HTTP protocol differs from `maya.sh --bench` and is kept out of the README's official speed tables. - All 54 common pairs matched input/payload hashes and token work, but all output hashes differed. Pre-batch histories were not identical; this is not interleaved causal A/B or output-equivalence proof. - Ranked candidate `parallel2` did not complete final reload, six-context replay, forced eviction or 16-slot capacity acceptance. The original Maya service was restored at the historical window boundary. No optimized-production acceptance is claimed. The helper generates inputs and performs at most four caller-supplied count-only calibration probes; its CLI only prints plans. It contains no network transport, authentication, deployment controller or inference loop. Its new exact-count validation is stricter than the historical helper; compatible recorded inputs are covered by golden hashes. ### Validation - New offline tests: **6 passed**, including historical prompt/payload SHA-256, exact-count rejection, context limits, bounded probes and cache replay identity. - `python tools/check_hip_compat.py`: passed. - All 75 sanitized rows reconciled; seven screening medians and four-sample nearest-rank p95 values independently recomputed. - Local documentation links and staged whitespace checks: passed. Public material was restricted to synthetic workload definitions, numeric metrics and hashes; no credentials, private host/configuration paths or business text. - Full tools discovery on local Windows/Python 3.14: **583 run, 1 failure, 23 errors, 40 skipped**. Observed failures include existing HIP platform-branch tests and a POSIX/Windows path expectation. No unrelated production code was changed to work around them; Linux CI is still required. - Full server discovery on local Windows/Python 3.14: **464 run, 22 errors, 13 skipped** (757.957 s). Observed errors include SDK/Pydantic streaming-event validation and Windows local HTTP `ConnectionAbortedError`. No server code is changed in this PR; a full-suite pass is not claimed. - Upstream Linux CI run [40804149304](https://github.com/mw00/project-maya/actions/runs/40804149304) is `action_required`; maintainer action is needed before the workflow can run. - No new GPU run, model restart, pressure test or production change was performed for this contribution. Draft for maintainer feedback on whether this bounded case-study/input-helper format belongs in the repository. This does not request merging an engine optimization or closing #637. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#650
No description provided.