fp8/fidelity deep-dive: FLOP ceiling probe (TP=2) + served-op audit, no lever #193

Merged
Grok merged 1 commit from fp8-fidelity-deepdive into master 2026-10-06 16:05:32 +02:00
Owner

Owner 10-06: is "BFP8 = 50% of FP8" usable somewhere?

  • New probe bench/probes/flops_ceiling/. Record bench/runs/flops-ceiling-tp2-20261006T123702Z.jsonl, device-timed on both chips concurrently.
  • Engine ceiling: 564.1 TF/chip at LoFi (1,128 TF for the mesh, 92.7% of 608). HiFi2 / HiFi3 / HiFi4 give 284 / 194 / 147. It is the same for every format, with no throttling over 160 ms ops.
  • The 50% applies only to SrcA (in1).
    • bfp8 needs HiFi2 in SrcA but is complete at LoFi in SrcB.
    • CONTROL's prefill matmuls are bfp8 in0 × bfp4 in1 at LoFi. They are bitwise LoFi == HiFi4, so no fidelity or format lever is left there.
  • ttnn served class: 332–394 TF/chip, 59–70% of the ceiling. The fused AGMM measured 344 TF. The rest of the gap is data movement, not numerics.
  • fp8 cannot be used here.
    • It cannot be a TILE tensor (tensor_spec.cpp:133).
    • It needs fp32 dest.
    • It gives wrong results mixed with any non-fp8 operand.
    • MXFP8 is Quasar-only, and BFP2 is not exposed.
  • The Blackhole phase map is confirmed: HiFi2 adds SrcA bits and HiFi3 adds SrcB bits.
  • Pin-bump trap: upstream #57180 is not in our pin. After the bump, prefill SDPA needs an explicit approximate exp, per #58262 (a 2× long-context regression).
  • No arms and no lever. The only bitwise leftover is prefill lm_head LoFi: one-time and at most 0.4 ms per request (estimate).
  • Analysis: docs/analysis/fp8-fidelity-deepdive-20261006.md. Probe, records and docs only, so there is no card gate.

🤖 Generated with Claude Code

Owner 10-06: is "BFP8 = 50% of FP8" usable somewhere? - New probe `bench/probes/flops_ceiling/`. Record `bench/runs/flops-ceiling-tp2-20261006T123702Z.jsonl`, device-timed on both chips concurrently. - **Engine ceiling:** 564.1 TF/chip at LoFi (1,128 TF for the mesh, 92.7% of 608). HiFi2 / HiFi3 / HiFi4 give 284 / 194 / 147. It is the same for every format, with no throttling over 160 ms ops. - **The 50% applies only to SrcA (in1).** - bfp8 needs HiFi2 in SrcA but is complete at LoFi in SrcB. - CONTROL's prefill matmuls are bfp8 in0 × bfp4 in1 at LoFi. They are bitwise LoFi == HiFi4, so no fidelity or format lever is left there. - **ttnn served class:** 332–394 TF/chip, 59–70% of the ceiling. The fused AGMM measured 344 TF. The rest of the gap is data movement, not numerics. - **fp8 cannot be used here.** - It cannot be a TILE tensor (`tensor_spec.cpp:133`). - It needs fp32 dest. - It gives wrong results mixed with any non-fp8 operand. - MXFP8 is Quasar-only, and BFP2 is not exposed. - The Blackhole phase map is confirmed: HiFi2 adds SrcA bits and HiFi3 adds SrcB bits. - **Pin-bump trap:** upstream #57180 is not in our pin. After the bump, prefill SDPA needs an explicit approximate exp, per #58262 (a 2× long-context regression). - No arms and no lever. The only bitwise leftover is prefill lm_head LoFi: one-time and at most 0.4 ms per request (estimate). - Analysis: `docs/analysis/fp8-fidelity-deepdive-20261006.md`. Probe, records and docs only, so there is no card gate. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fp8/fidelity deep-dive: measured FLOP ceiling per format x fidelity x placement on the TP=2 mesh
Some checks failed
tt-stack-ci / Build simulators and check the host module (pull_request) Has been cancelled
tt-stack-ci / Report upstream drift (pull_request) Has been cancelled
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
61c62e51de
Believed (owner 10-06): BFP8 runs at 50% of FP8, so FP8 somewhere should buy speed.
Measured (flops-ceiling-tp2-20261006T123702Z): the FPU ceiling is 564.1 TF/chip at LoFi
(92.7% of 608), 284/194/147 at HiFi2/3/4, identical for every format. The 50% is a SrcA
(in1) effect only: bfp8 needs HiFi2 there, while bfp8 in SrcB is complete at LoFi. CONTROL's
prefill matmuls (bfp8 in0 x bfp4 in1, LoFi, fp32 dest) are bitwise LoFi == HiFi4, so no
fidelity/format lever is left on them; the ttnn gap (59-70% of the ceiling) is data movement.
FP8 cannot be a TILE tensor in ttnn, needs fp32 dest, and is wrong when mixed with a non-fp8
operand (it unpacks to FP16). The BH phase map is confirmed: HiFi2 adds SrcA bits, HiFi3 SrcB.
No lever built; no served speed number.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Grok merged commit 61c62e51de into master 2026-10-06 16:05:32 +02:00
Author
Owner

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

agent-gateway closeout (merged): cleared `agent:*` labels. Hermes kanban card (if any) is left for Hermes to archive/complete.
Sign in to join this conversation.
No reviewers
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
bitpartner/tt-stack!193
No description provided.