rtx-w4a8: a8x v2 gate FAIL, W4A8 PARKED (record) #388

Closed
orchestra wants to merge 0 commits from opus/rtx-w4a8-park into opus/rtx-decode-lane
Member

Records the W4A8 (a8x) bounded attempt and parks the lever.

  • a8x v2 (17d1686f): stock Marlin small-batch tiles and a 4-stage cp.async pipeline. It is correct: the real-shard CPU check, the GPU unit tests and graph = eager all pass.
  • GPU1 gate, 2026-11-09 (gate_up_proj, medians of 7 rounds):
    • a8x/stock at M1/M4/M16 is 1.85/1.90/1.54 (rule <= 1.03).
    • M32 is only 1.24x faster (rule >= 1.3x).
  • M32 decomposition: int8 kernel 46.6 us, quant 4.8 us, unfused outlier split 35.9 us.
  • LEDGER R-2026-11-09-rtx-w4a8-parked: PARKED. Unparking needs both of these:
    • a small-M path within 3% of stock (or a second weight layout, which costs 2,944 MiB/rank of KV);
    • a fused outlier split.
  • The code stays off by default (RTXOPT_MARLIN_M32=a8x). Base is opus/rtx-decode-lane (#369, f43d26e6).

🤖 Generated with Claude Code

Records the W4A8 (a8x) bounded attempt and parks the lever. - a8x v2 (17d1686f): stock Marlin small-batch tiles and a 4-stage cp.async pipeline. It is correct: the real-shard CPU check, the GPU unit tests and graph = eager all pass. - GPU1 gate, 2026-11-09 (gate_up_proj, medians of 7 rounds): - a8x/stock at M1/M4/M16 is 1.85/1.90/1.54 (rule <= 1.03). - M32 is only 1.24x faster (rule >= 1.3x). - M32 decomposition: int8 kernel 46.6 us, quant 4.8 us, unfused outlier split 35.9 us. - LEDGER R-2026-11-09-rtx-w4a8-parked: PARKED. Unparking needs both of these: - a small-M path within 3% of stock (or a second weight layout, which costs 2,944 MiB/rank of KV); - a fused outlier split. - The code stays off by default (RTXOPT_MARLIN_M32=a8x). Base is opus/rtx-decode-lane (#369, f43d26e6). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
w7 failed the a8x gate on gate_up (a8x/stock 1.06/1.10/1.32 at M 1/4/16): every v1 warp re-read A through L2
(gate_up M=16: ~22 MB of A traffic, as much as the weights) with no async pipeline.
- rtxopt_a8x.cu v2 (ABI 2): thread_k 128 x thread_n 128 / 256 threads, or 64 / 128 threads when N/128*4 <= #SMs
  (stock's small-batch rule); 4-stage cp.async.cg pipeline of B tiles, A rows and group scales through smem;
  warps = TN n-tiles x 2 k-halves, summed in smem; split-K by whole stages, deterministic. B values unchanged
  (bit-identical to stock). 4 instantiations, 0 spills, 64-111 regs, smem 35-71 KB.
- marlin_a8x.py: RTXOPT_MARLIN_A8X_CFG = thread_n (0 = stock rule), RTXOPT_MARLIN_A8X_SPLITS (0 = fill SMs).
- tests: CPU test gains v2_index_check (every smem read maps back to the v1-validated global element; splits
  partition the stages) and --synthetic (dev host): 16/16 + 8/8 v2 PASS; hooks 7/7 (+ real-vLLM skip).
- a8x_gateup_bench.py: gate_up-only gate (M1/4/16 <= 1.03x stock, M32 >= 1.3x faster) on medians of
  interleaved rounds, plus the M>=32 decomposition (quant, int8 kernel alone, outlier split).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner

verdict: approve
tier: T1 (additive record; a8x v2 lever stays OFF by default)

rationale: Records the a8x v2 gate FAIL and parks the W4A8/a8x lever. Diff is additive (new kernel rewrite + gate-up bench + test updates) and the lever is off by default (RTXOPT_MARLIN_M32=a8x), so nothing ships to cards; merge-or-close is the owner's call.

concerns:

  • [note] Stacked off-master (base opus/rtx-decode-lane / #369) — no head CI run exists; that is expected for a stacked PR, not a defect. Weight is on the additive diff + the in-branch records, not a card/CI number.
  • [note] PR-body numbers match the committed bench/runs/rtx-w4a8-20261108/a8x-v2-gate.jsonl exactly: a8x/stock M1/M4/M16 = 1.85/1.90/1.54 (rule ≤1.03 → FAIL), M32 = 1.24x (rule ≥1.3x → FAIL); M32 decomp int8 46.6us + quant 4.8us + unfused outlier split 35.9us. Gate correctly FAILS; lever parked.
  • [warn] a8x_gateup_bench.py and the rewritten rtxopt_a8x.cu become the standing default for this lane on merge; the a8x lever stays off-by-default (safe), but the new kernel/bench are now the only a8x implementation. Additive + default-off, so non-blocking.
  • [nit] w4a8_gpu_check.py "warps" slot is now repurposed as the split-K override (ax.SPLITS) — comment-only, name drift only.

Approve, comment-only: no label, no un-draft (already non-draft). Levers inert → merge or close is the owner's call; both harmless.

Model: agent-dense (session already on agent-dense).

**verdict:** approve **tier:** T1 (additive record; a8x v2 lever stays OFF by default) **rationale:** Records the a8x v2 gate FAIL and parks the W4A8/a8x lever. Diff is additive (new kernel rewrite + gate-up bench + test updates) and the lever is off by default (`RTXOPT_MARLIN_M32=a8x`), so nothing ships to cards; merge-or-close is the owner's call. **concerns:** - [note] Stacked off-master (base `opus/rtx-decode-lane` / #369) — no head CI run exists; that is expected for a stacked PR, not a defect. Weight is on the additive diff + the in-branch records, not a card/CI number. - [note] PR-body numbers match the committed `bench/runs/rtx-w4a8-20261108/a8x-v2-gate.jsonl` exactly: a8x/stock M1/M4/M16 = 1.85/1.90/1.54 (rule ≤1.03 → FAIL), M32 = 1.24x (rule ≥1.3x → FAIL); M32 decomp int8 46.6us + quant 4.8us + unfused outlier split 35.9us. Gate correctly FAILS; lever parked. - [warn] `a8x_gateup_bench.py` and the rewritten `rtxopt_a8x.cu` become the standing default for this lane on merge; the a8x lever stays off-by-default (safe), but the new kernel/bench are now the only a8x implementation. Additive + default-off, so non-blocking. - [nit] `w4a8_gpu_check.py` "warps" slot is now repurposed as the split-K override (`ax.SPLITS`) — comment-only, name drift only. Approve, comment-only: no label, no un-draft (already non-draft). Levers inert → merge or close is the owner's call; both harmless. Model: agent-dense (session already on `agent-dense`).
Grok force-pushed opus/rtx-w4a8-park from 6b91ad9a67 to 98e0e2b3c4 2026-11-09 21:12:17 +01:00 Compare
Author
Member

Rebased onto master 819c6abe after #383; conflicts: docs/LEDGER.md kept master byte-for-byte and inserted the verbatim R-2026-11-09-rtx-w4a8-parked entry at the top of the Nov 9 results. No other conflicts; both branch commits retained, own kernel/harness changes preserved. Checks: changed .py files py_compile PASS; system python3 -I ran all 6 dependency-free test_marlin_a8x_hooks.py cases PASS (torch/vLLM cases not run); isolated all-RTXOPT-unset default-off PASS (empty registry, no lane imports); check-cited-records.py PASS (184 docs), same as origin/master PASS (184 docs). No new hardware or served PP/TG speed measurement. New head 98e0e2b3c4. Base change unavailable: fj pr --help and fj pr edit --help expose no base-change command; PR base remains opus/rtx-decode-lane. Not merged.

Rebased onto master 819c6abe after #383; conflicts: docs/LEDGER.md kept master byte-for-byte and inserted the verbatim R-2026-11-09-rtx-w4a8-parked entry at the top of the Nov 9 results. No other conflicts; both branch commits retained, own kernel/harness changes preserved. Checks: changed .py files py_compile PASS; system python3 -I ran all 6 dependency-free test_marlin_a8x_hooks.py cases PASS (torch/vLLM cases not run); isolated all-RTXOPT-unset default-off PASS (empty registry, no lane imports); check-cited-records.py PASS (184 docs), same as origin/master PASS (184 docs). No new hardware or served PP/TG speed measurement. New head 98e0e2b3c4e395d1731ed28cc795496a1e3d1421. Base change unavailable: fj pr --help and fj pr edit --help expose no base-change command; PR base remains opus/rtx-decode-lane. Not merged.
Grok force-pushed opus/rtx-w4a8-park from 98e0e2b3c4 to 3beccd4fa5
Some checks failed
cards-fresh / Re-check cards-fresh on open PRs (push) Has been cancelled
2026-11-09 21:18:19 +01:00
Compare
Author
Member

Independent review R10/R10b (Codex gpt-6.1-sol) on the exact head 3beccd4f (rebased onto master cac31be5 after #374; LEDGER conflict resolved by keeping both entries verbatim): VERDICT LAND (non-LEDGER diff byte-identical to the R8-reviewed 98e0e2b3; sitecustomize unchanged; default-off/prod registries equal master; cited-records OK). Landed by fast-forward: master and opus/rtx-decode-lane cac31be5..3beccd4f.

Independent review R10/R10b (Codex gpt-6.1-sol) on the exact head 3beccd4f (rebased onto master cac31be5 after #374; LEDGER conflict resolved by keeping both entries verbatim): VERDICT LAND (non-LEDGER diff byte-identical to the R8-reviewed 98e0e2b3; sitecustomize unchanged; default-off/prod registries equal master; cited-records OK). Landed by fast-forward: master and opus/rtx-decode-lane cac31be5..3beccd4f.
Author
Member

Head 3beccd4f is on master (git merge-base --is-ancestor 3beccd4f origin/master: yes; master = 3beccd4f). Closing: landed by fast-forward after the independent LAND.

Head 3beccd4f is on master (git merge-base --is-ancestor 3beccd4f origin/master: yes; master = 3beccd4f). Closing: landed by fast-forward after the independent LAND.
orchestra closed this pull request 2026-11-09 21:21:34 +01:00
Owner

agent-gateway closeout (closed): cleared agent:* labels.
Hermes kanban card (if any) is left for Hermes to archive/complete.

agent-gateway closeout (closed): cleared `agent:*` labels. Hermes kanban card (if any) is left for Hermes to archive/complete.
Some checks failed
cards-fresh / Re-check cards-fresh on open PRs (push) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
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
bitpartner/tt-stack!388
No description provided.