Explore report · NVIDIA/hyperflare-inference #732

Raw Markdown for agents: https://autobot.eidonix.com/p/0d74a726-1d2d-476c-90a3-1605e66ec897.md

Case file: PR #732 — helios,heliopause,ignition: add FP8_E4M3_GLOBAL single-plane engram table support

https://github.com/NVIDIA/hyperflare-inference/pull/732 · author yatesdr (COLLABORATOR, Discord D-Rock) · base main, head 078b043, branch point cc0a49d · open, ready for review, opened and last updated 2026-12-04 · 10 files, +565/−145 · 0 reviews, 0 comments, 0 labels, CI pending.

Key findings

Things a reader could not learn from the description:

  1. The description's enum numbering is wrong, and wrong in a way that reveals the PR is stacked. The body says it adds FP8_E4M3_GLOBAL = 3 "alongside NVFP4_E4M3_GLOBAL = 1 and BF16 = 2". The code has UNSPECIFIED = 0; FP8_E4M3_E8M0 = 1; NVFP4_E4M3_GLOBAL = 2; BF16 = 3; FP8_E4M3_GLOBAL = 4 at helios/proto/core.proto:269 and helios/proto/runtime_core.proto:665. Every tag in the description is off by one because #664 took BF16 = 3 on 2026-12-04 03:51, before this PR. The numbering describes a pre-#664 world and was not updated at rebase.
  2. The PR is a stacked follow-on to #664, not a standalone feature. #664 introduced the Planes { weights, scales: Option<Plane> } shape, schema::engram_encoding_has_scales/engram_scales, and BF16 = 3. #732 adds one more single-plane encoding through that exact seam: it introduces no new export code at all and no new decoding machinery — just one match arm and one validation branch.
  3. It also tightens BF16 validation, without saying so. helios/src/core/schema.rs:561-571 now pins row size for both Bf16 (embedding_width * 2) and Fp8E4m3Global (embedding_width), enforced for shared planes at 578-586 and per-shard at 622-630. #664 shipped BF16 with no such check. Correctly-exported BF16 cores are unaffected (export derives the size the same way), but this is a real behaviour change to an already-merged encoding and is not mentioned in the body.
  4. Two of #664's three review blockers are deliberately answered; the third (owner approval) is not. #664 carried "unapproved core-format contract" and "no linked producer / no NVFP4 replay" through three Autobot review rounds and merged anyway. #732 links a recipe PR (local-inference-lab/hyperflare-recipes#165) and claims an NVFP4_E4M3_GLOBAL backward-compat replay — precisely those two. It records no owner approval, and docs/design-review.md:22-26 requires prior explicit owner approval for a new operation contract ("even if it reuses a graph kind or enum value").
  5. Its stated use case is gated behind an unrelated open PR on SM120. Open #731 (avifenesh, first-time contributor, 2026-12-04 18:49) blocks Qwen4-35B-A3B export on SM120 (flashinfer pin lacks the 2:1 GDN value-head ratio). #732's own hardware run is SM121, so it did not need #731 — but SM120 users cannot reach the checkpoint #732 exists to serve without it.
  6. Tooling caveat for anyone re-reviewing this PR: pr_diff here diffs against a stale local main and shows #664 and #711's merged work (BF16, IDENTITY, external_extents, Planes) as if #732 added it; search_history errors out on a missing commit. The real delta must be read from ref: pr/732.

1. The change — what it does, in plain terms, and how big

Offloaded engram / PLE tables are giant embedding tables kept out of VRAM and gathered by row at runtime. This PR teaches the format one more way to store a row: single-plane FP8 E4M3, one byte per element, with one shared FP32 tensor scale for the whole table instead of per-block scales.

The mechanism is small and reuses #664's seam:

Size: 10 files, +565/−145 per pr_files. Composition: runtime_core_pb2.py +112/−112 (generated descriptor blob rippling from one enum value — not a protoc bump), schema.rs+engram.rs +207/−12, test_ngram_delivery.py +135/−0, core.rs +74/−7, ngram_delivery.py +27/−9, protos +4/−2, plus two doc one-liners.

Description says, change does not do / does undeclared: the wrong tag numbers (finding 1); the BF16 tightening (finding 3); nothing else material — the description's module list matches the files. It does not mention that no FP8-specific export code exists, i.e. that #664's seam carried this for free.

2. The why — the problem, its history, how widely wanted

Stated problem: offloaded engram/PLE tables supported two-plane NVFP4_E4M3_GLOBAL, two-plane FP8_E4M3_E8M0, and — since #664, the same day — single-plane BF16. Checkpoints local-inference-lab/Qwen4-35B-A3B-NVFP4 and eidonix/Qwen4-35B-A3B-MXFP8 store 160M-row PLE tables as single-plane FP8 E4M3 with a shared FP32 tensor scale, so they could not be exported or served natively.

The demand is days old, not long-standing. All Qwen4-35B-A3B engram work is 2026-12-04:

Longer-standing context exists only for the engram subsystem generally: #267 (Engram & shared Engram tables — closed not_planned, but named in the charter roadmap), #334 (open, read-ahead), #535 (open, approval for an advisory mailbox), #554 (open draft, RDMA engram store). The FP8 encoding itself has no such history — it is a same-week consequence of #664 making single-plane tables possible at all.

4. Recent activity in the touched areas

search_history cannot read this repo's history (missing object c513e46a), so this is reconstructed from related_items, items_touching and the items themselves.

The engram area merged four PRs in the three days before #732: #711 (AsyncTransfer), #664 (single-plane BF16 + IDENTITY), #716 (Qwen4 widths), on 2026-12-04 alone #716 landed at 02:34 and #664 at 03:51. #732 therefore builds on rather than conflicts with recent work: it is the deliberate second consumer of a seam #664 introduced hours earlier, applied to a model #716 had just taught the decoder about. It reverses nothing. Its only friction is textual — concurrent edits to core.proto, runtime_core.proto and schema.rs from #723 and to engram.rs from #334/#554 will require rebases, not semantics.

Leads judged not relevant: #694, #347/#348/#349 (author background only), #618 (proto/core.rs overlap, predates), #586/#587/#580/#581/#652 (disjoint subject), #314 (proto-only).

5. People

6. Community

Nothing on #732 itself. For scale of interest in the predecessor: #664 drew 4 discussion entries — three full Autobot reviews 2026-12-01 → 2026-12-03 with blockers, walkthroughs and pre-merge checks — and was open ~3 days. #716 drew 1 (case-file announcement) and merged in 11 minutes; #731 drew 2 within ~40 minutes; #723 has human participation (FujitsuPolycom). #732 has drawn no bot review, no human review, no labels — consistent with being hours old with CI pending, but it means neither of #664's blockers has yet been adjudicated here.

Community signal on the underlying contract-approval channel: issue #535 (tastyrice90, open since 2026-11-26, no replies) is a contributor asking for exactly this class of approval and getting no answer. #732 — from a collaborator with 84 merged PRs — did not open such a request.

7. Project fit (charter, docs)

Where it lines up:

Where it does not line up, or is tension:

8. Claims and evidence

Claimed and plausible: five test invocations with specific counts — heliopause --lib payload_export_tests 33 passed; helios --lib core::schema::tests 18 passed; helios --lib runtime_core::engram 10 passed; flare --lib 247 passed / 4 ignored; pytest tests/components/test_ngram_delivery.py 3 passed. Each target and the 3-case parametrization exist in the tree (schema.rs:2068, engram.rs:1162, core.rs:4525-4636, test_ngram_delivery.py:29-36), so the counts are consistent with the code.

Claimed and not verifiable from the repo: live single-GPU NVIDIA DGX Spark (GB10, SM121) ignition export plus native flare run with both FP8_E4M3_GLOBAL (disk and RAM backing) and NVFP4_E4M3_GLOBAL cores. No logs, artifacts, commands or metrics — unlike #664 (TTFT/ITL/gather counts) and #716 (commands and results). It is nonetheless the right shape of evidence: replaying a pre-existing NVFP4 core is exactly the backward-compatibility gate Autobot held against #664 across three rounds, so this reads as a direct, deliberate answer.

Not claimed, correctly: no performance or memory numbers. The body says tables "could not be exported or served natively" — a capability claim, not a speedup claim, and it does not overclaim.

Claimed limitation, honestly stated and materially relevant: "Partitioned TP>1 FP8_E4M3_GLOBAL export and decode are covered by CPU unit tests rather than multi-GPU hardware execution," and the full helios lib suite's template-fixture and /dev/shm/selene tests were not run. Per docs/design-review.md:116-123, 247-251, disclosing runnable checks as limitations does not waive them.

Evidence gap about the dependency, not the PR: the quant_mode strings "bf16", "fp8_e4m3_per_tensor", "nvfp4_group16" appear only in ngram_delivery.py and the new test — nowhere else in this repo. They come from external b12x (b12x.sequence.ple_embedding), pulled via pyproject.toml:25 flashinfer-python[b12x], which is not pinned to a commit. The three-way branch therefore depends on an externally-owned, in-repo-unverifiable string vocabulary. #664's bf16 branch used the same pattern, so the convention is established, but the new fp8_e4m3_per_tensor name has no in-repo authority. Relatedly, no in-repo producer emits FP8_E4M3_GLOBAL: ignition/components/engram.py still only handles the two-plane E8M0 path (_compact_lookup Triton kernel hardcodes *256 + col and *8 at lines 42-43; lookup_op(... weight.view(torch.float8_e4m3fn), scales ...) at line 58). The PLE path in ngram_delivery.py is the only producer.

9. Reach

10. Process

Open and marked ready for review (not draft). Opened and last updated 2026-12-04 — hours old at the time of this case file. Head 078b043, base branch point cc0a49d. CI pending on the head commit; no results reported in the body either way. No reviews, no comments, no labels, no reactions. Cross-repo companion local-inference-lab/hyperflare-recipes#165 is stated in the body and is not verifiable from this repository.

Open questions / what could not be found

  1. Does EngramTable.Encoding count as a "new operation contract" under docs/design-review.md:22-26? If yes, no approval is recorded and no approval was recorded for #664 either.
  2. Is b12x's fp8_e4m3_per_tensor mode already shipping? Nothing in this repo pins, documents or tests that name outside the two files this PR touches.
  3. Does #732 export/serve on SM120 without #731? Only SM121 was claimed.
  4. Are local-inference-lab/Qwen4-35B-A3B-NVFP4 and eidonix/Qwen4-35B-A3B-MXFP8 "official or widely used" in the charter line 37 sense? Both are first-party orgs; no third-party checkpoint is listed.
  5. Does BF16 export in #664's code path produce exactly rows * embedding_width * 2 bytes for every case (i.e. is the new tightening a no-op for well-formed cores)? The export test fixture (core.rs:4529, width 8, bf16_shared_weights.len()) suggests yes, but no test asserts the tightened BF16 rejection directly.
  6. Repo history could not be read (search_history → missing object c513e46a), and pr_diff diffs against a stale base; commit-level provenance above is reconstructed from item metadata, not from commit logs.

Orientation-packet leads

All followed. #664, #566, #711, #586, #587, #580, #581, #652, #618, #694, #347, #348, #349, #535, #334, #554, #267, #314, #719-family and #723/#716/#731 addressed above; the "recent activity not available / git error" block is explained in §4 and §10 (broken mirror), and the commit list for the touched files is empty on real main because these files were changed by PRs merged into main after the packet was computed.