#1 [high] Orientation: diff tool base is stale — pr_diff shows #664 as new
CRITICAL navigation fact for anyone reviewing this PR with these tools: pr_diff for PR #732 returns a diff against a stale base (it includes huge unrelated changes: .github/workflows/release.yml, AGENTS.md, THIRD_PARTY_NOTICES.md, docs/api.md, helios/src/async_transfer/*). This is because the local main ref predates several merges.
Evidence:
search_codeonmainforhelios/proto/core.protoenum Encodingreturns{ UNSPECIFIED = 0; FP8_E4M3_E8M0 = 1; NVFP4_E4M3_GLOBAL = 2; }— i.e. localmainhas NO BF16 at all.- Same search on
pr/732returns{ UNSPECIFIED = 0; FP8_E4M3_E8M0 = 1; NVFP4_E4M3_GLOBAL = 2; BF16 = 3; FP8_E4M3_GLOBAL = 4; }. heliopause/src/export/core.rson localmainhas onlyNvfp4E4m3Global(6 sites); onpr/732it hasBf16(5 sites) +Fp8E4m3Global(2 sites).search_historyonmainerrors: "Could not read c513e46a79f3b6ac510235aaf09bcf055b841958" — the local mirror is incomplete.
Consequence: #664 (kbenkhaled, "helios,heliopause,ignition: support single-plane BF16 and identity-indexed offloaded embedding tables", merged 2026-12-04 03:51) is already on real main but not in the local mirror. Everything in the pr_diff touching BF16 / IDENTITY / Planes / shard-contiguity / Index::shares_delivery_with is #664's merged work, NOT PR #732's. PR #732's real contribution is the FP8_E4M3_GLOBAL delta plus a few robustness tightenings.
The pr_files list (10 files, +565/-145) IS correct for the actual PR.
Practical method for isolating the real delta: search_code with ref: pr/732 and look for Fp8E4m3Global / FP8_E4M3_GLOBAL. Sites found:
- helios/src/core/schema.rs:453, 567, 2105
- helios/src/runtime_core/engram.rs:159, 1174
- heliopause/src/export/core.rs:4570, 4583
Tools with a base: pr_diff (stale), search_history (broken). Tools that work at pr/732: read_file, search_code, list_files.
#2 [high] Change: description's enum tag numbering contradicts the code (=4, not =3)
The PR description says: "Protobuf schema ...: Added Encoding::FP8_E4M3_GLOBAL = 3 alongside NVFP4_E4M3_GLOBAL = 1 and BF16 = 2."
The code says otherwise. At pr/732:
helios/proto/core.proto:269:enum Encoding { UNSPECIFIED = 0; FP8_E4M3_E8M0 = 1; NVFP4_E4M3_GLOBAL = 2; BF16 = 3; FP8_E4M3_GLOBAL = 4; }helios/proto/runtime_core.proto:665: identical line.
So the actual tags are NVFP4_E4M3_GLOBAL = 2 (not 1), BF16 = 3 (not 2, added earlier by #664) and FP8_E4M3_GLOBAL = 4 (not 3).
Why: #664 (merged 2026-12-04 03:51, kbenkhaled) already took BF16 = 3. PR #732 is therefore a stacked follow-on to #664 and had to append at 4. The description's numbering matches a pre-#664 world, i.e. it was drafted without accounting for #664's tag allocation and was not updated after the rebase. Same stale numbering appears in EngramHash.Method: IDENTITY = 3 exists at core.proto:305 (from #664), and this PR adds no new method.
Impact: purely a documentation defect in the PR body — the wire tags themselves are correctly appended and backward compatible. But it is misleading for a reviewer who trusts the description to check tag allocation.
#3 [high] Related work: #664 is the merged predecessor and stack base for this PR
#664 "helios,heliopause,ignition: support single-plane BF16 and identity-indexed offloaded embedding tables", by kbenkhaled (CONTRIBUTOR), opened 2026-12-01, merged 2026-12-04 03:51 (head e2a9d1d), labels: area:engram, area:memory, enhancement, performance, triage:review, +1718/-554 over 23 files.
This is PR #732's direct predecessor and stack base. #664 introduced:
EngramTable.Encoding.BF16 = 3EngramHash.Method.IDENTITY = 3Planes { weights: Plane, scales: Option<Plane> }replacing[Plane; 2]across disk, row-cache, advisory-warm, RAM andPreparedTablesschema::engram_encoding_has_scales/schema::engram_scalescentralized scale-plane validation- signed-core shard contiguity validation (rank-ordered, gap-free, full-table)
Index::shares_delivery_withso byte-identical TP shards do not collapse into one delivery group--embedding-table-resident-scalesgatingruntime_core_pb2.pyregeneration with protoc 36.2
Motivation for #664: Gemma 4 E2B/E4B PLE tables, raw BF16, 4.38 GiB (E2B, 35 layers) to 5.25 GiB (E4B, 42 layers), on memory-constrained unified-memory GPUs.
#732 therefore is a thin additive extension of #664: same engram_encoding_has_scales/engram_scales seam, same single-plane row, adding one more 1-byte-per-element encoding. #732's schema.rs diff vs the local stale main shows BF16/IDENTITY as "new" only because local main predates #664 — do not attribute those to #732.
Important for the "why": #664 established the general single-plane mechanism in the same week, so #732 is the natural second consumer of that seam rather than a new design.
Citation: https://github.com/NVIDIA/hyperflare-inference/pull/664
#4 [high] Project fit: owner-approval gate for new core-format contracts — #664 precedent vs #535
docs/design-review.md:22-26 (at pr/732):
Introducing a captured-graph operation family requires prior explicit approval from project owner Luke Alonso lalonso@gmail.com. Shape and capacity variants are allowed within an unchanged operation contract. A new operation contract requires approval even if it reuses a graph kind or enum value. A design acknowledgment does not grant approval.
PR #732 adds a new signed core-format encoding (EngramTable.Encoding.FP8_E4M3_GLOBAL = 4) in helios/proto/core.proto:269 and helios/proto/runtime_core.proto:665. Whether this counts as a "new operation contract" is arguable — it reuses the existing EOS_XOR_MODULO / IDENTITY mailbox and gather contract and only changes the element interpretation and the absence of a scale plane. But the schema/artifact surface is signed, which is exactly the surface Autobot flagged as gated for #664.
PRECEDENT — directly relevant: Autobot raised exactly this blocker for #664 ("Unapproved core-format / captured-graph contract extension with no linked producer", helios/proto/core.proto:258,294 + docs/design-review.md:22-26) across three review rounds (2026-12-01 20:05, 22:05, 2026-12-03 04:14) and #664 was merged anyway on 2026-12-04 03:51 with no recorded owner approval and no human review visible in the thread. That sets a working precedent that EngramTable.Encoding additions land without the formal approval gate — the same bar #732 will be measured against.
Contrast — the gate is genuinely live elsewhere: open issue #535 (tastyrice90, "Engram read-ahead: approval for an advisory mailbox on the prefill graph") is a contributor asking for exactly this kind of approval and still open, unanswered, since 2026-11-26. #566 (merged, voipmonitor) is cited in #664's review as having "an explicit approval note" — i.e. approval is normally recorded in the PR body when obtained.
For #732: no approval is mentioned anywhere in its body; no review exists yet (pr_comments: "No comments.").
Also relevant from docs/design-review.md: line 180 ("Crate unit and contract tests (CPU). Run cargo test --locked --release") and lines 116-123/247-251 (disclosing runnable checks as limitations does not waive them).
#5 [high] Why: Qwen4-35B-A3B PLE tables; demand is days old and spans #716/#731/#723
Problem stated: Offloaded engram/PLE tables supported only two-plane NVFP4_E4M3_GLOBAL (and FP8_E4M3_E8M0) plus, since #664, 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. Those could not be exported or served natively.
How wide/how long has it been wanted — evidence it is recent, not long-standing:
- Qwen4-35B-A3B engram work is days old, all same week as this PR (all 2026-12-04):
- #716 (merged 2026-12-04 02:34, lukealonso) "helios: derive NVFP4 engram row and scale widths from embedding_width" — first Qwen4-35B-A3B engram support (
ple_embed_dim=2048, 16 heads,embedding_width=128, 64 weight + 8 scale bytes/row). Companion recipes PRlocal-inference-lab/hyperflare-recipes#154. - #731 (open, 2026-12-04 18:49, avifenesh FIRST_TIME_CONTRIBUTOR) blocks Qwen4-35B-A3B export on SM120: flashinfer pin lacks the 2:1 GDN value-head ratio.
- #723 (open, lukealonso) has a comment from FujitsuPolycom reporting live
flare runon a signedQwen4-35B-A3B-NVFP4core.
- #716 (merged 2026-12-04 02:34, lukealonso) "helios: derive NVFP4 engram row and scale widths from embedding_width" — first Qwen4-35B-A3B engram support (
- So #732 is the third PR in ~24 hours touching Qwen4-35B-A3B engram support (#716 widths, #731 GDN/toolchain, #732 FP8 encoding). The demand is a single new model landing now, not a long-standing community ask — matches search_items: no pre-existing issue asks for FP8 single-plane engram.
- Companion recipe PR stated in body:
local-inference-lab/hyperflare-recipes#165. This satisfies the #664-review "link a producer/recipe PR" blocker that #732's predecessor failed.
Longer-standing context (the engram subsystem generally): issues/PRs #267 (Engram & shared Engram tables, closed not_planned, charter roadmap item), #334 (open, read ahead), #535 (open, approval for advisory mailbox), #554 (open draft RDMA engram store). The FP8 encoding itself has no such history.
#6 [high] People: yatesdr is the second consumer of kbenkhaled's seam; lukealonso (owner) works the same file and model
Author: yatesdr, GitHub association COLLABORATOR. Last 180 days: 84 merged, 11 closed, 4 open. Merged-PR areas: helios/src (38), docs (37), selene/src (33), selene-manager/src (26), selene-manager/tests (21). Highly prolific, core-adjacent, trusted. Open PRs by them: #694 (selene,helios: add write-side NVMe and pool spill profitability gate, 2026-12-02), plus #347/#348/#349 (long-running open issues: GLM-5.3-Flash production serving, PCIe multi-GPU root-port, engine fixes). Discord handle given in body: D-Rock.
Who usually works in these files (items_touching helios/src/runtime_core/engram.rs, most recent first): #732 (yatesdr, open), #554 (ateska, open draft), #334 (javieratomic, open), #664 (kbenkhaled, merged), #716 (lukealonso, merged), #711 (lukealonso, merged), #590 (lukealonso, merged), #566 (voipmonitor, merged), #539 (FujitsuPolycom, merged), #479 (voipmonitor, merged), #220/#219 (nero-, merged).
⇒ The engram subsystem is a crowded, actively-churning area with at least five recent merged authors (lukealonso, kbenkhaled, voipmonitor, FujitsuPolycom, nero-) and three open PRs (#334, #554, #732). PR #732 overlaps textually with all of them on helios/src/runtime_core/engram.rs and helios/src/core/schema.rs.
Notable: yatesdr is NOT the author who built the single-plane seam — that was kbenkhaled (#664). yatesdr is #664's second consumer. lukealonso (project owner per docs/design-review.md:22-23) authored #716 (the Qwen4 engram width fix) and #711 (AsyncTransfer), i.e. the owner is directly active in this exact code and the same model.
Who has engaged on #732 so far: nobody. pr_comments → "No comments." No reviews, no labels, no reactions. Zero community engagement.
#7 [high] Change: what the code actually does, verified file:line, incl. undeclared reach
Verified in code (not just claimed):
-
Proto tags (both files) —
helios/proto/core.proto:269andhelios/proto/runtime_core.proto:665:enum Encoding { UNSPECIFIED = 0; FP8_E4M3_E8M0 = 1; NVFP4_E4M3_GLOBAL = 2; BF16 = 3; FP8_E4M3_GLOBAL = 4; }. Tags appended, existing values untouched ⇒ backward wire compatible. Doc comments added at runtime_core.proto:663-664. -
Helios schema validation —
helios/src/core/schema.rs:engram_encoding_has_scales(443-457):Fp8E4m3E8m0 | Nvfp4E4m3Global => true;Bf16 | Fp8E4m3Global => false;_ => Err("engram table has no encoding").engram_scales(459-471): requires scales when has_scales, rejects scales when not.validate_engram(473-641): line 502-512 enforcesscale_bufferempty +scale_block == 0for single-plane,global_scale.to_bits() != 0rejection for BF16, and!(finite && > 0.0)rejection for FP8_GLOBAL.- Single-plane row size pinning at 561-571: BF16 ⇒
embedding_width * 2, FP8_E4M3_GLOBAL ⇒embedding_width; checked againstweights.slice.nbytesfor shared (578-586) and per-shard (622-630). - Test
validates_single_plane_fp8_global_engram_tableat schema.rs:2067-2167: happy path + rejectsglobal_scale ∈ {0.0, -0.25, NaN, +inf},scale_block = 16, non-emptyscale_buffer, presentscalesplane,nbytes - 1size, and partitioned bad shard bytes.
-
Helios decode —
helios/src/runtime_core/engram.rs:159-167:Fp8E4m3Globalarm requiresembedding_width > 0 && global_scale.is_finite() && global_scale > 0.0, yields(width, block=0, row_bytes=width, scale_bytes=None)._ => Err("invalid n-gram encoding or global scale")at 168. Scale-binding rejection at 200-206. Testfp8_global_single_plane_tables_decode_shared_and_partitionedat 1161-1235 asserts shared+partitioned decode and 4 badglobal_scalerejections. -
Heliopause export — routes through the shared
schema::engram_scalesseam atheliopause/src/export/core.rs:108, 131, 421, 436, 1556, 1598, so FP8_GLOBAL inherits single-plane export (omitted-scalesfile, lines 1556-1565 and 1597-1610) with no FP8-specific code path. Test coverage at core.rs:4525-4636 assertsinstalled.len() == 12for 6 planes across NVFP4/BF16/FP8 shared+partitioned, incl. hardlink reuse. -
Ignition —
ignition/components/ngram_delivery.py:105-114(_lookup) and 136-144 (PreparedPLELookup.__init__): three-way branch onstate.query.quant_mode/caps.quant_mode:"bf16"→.view(torch.bfloat16),None,None;"fp8_e4m3_per_tensor"→.view(torch.float8_e4m3fn),table.scaleasweight_scale,Noneasweight_scale_2; else (nvfp4_group16) → uint8 rows, per-block scales viewed as fp8,table.scaleasweight_scale_2.self.scales = None if table.scales is None else ...at line 132. -
Docs —
docs/core-format-design.md:94-95("single-plane encodings such asBF16andFP8_E4M3_GLOBALomit the-scalesfile");helios/manifest.md:526-528(rawembedding_width-byte FP8 E4M3 rows, no scale plane, finite positiveglobal_scale). Both concise and consistent with code. -
Tests file —
tests/components/test_ngram_delivery.py(new, 135 lines): parametrized over all three modes, asserts weight dtype /weight_scale/weight_scale_2wiring in both the plan invocation andrun_lookup, plus anmake_fxtrace asserting thestaged_pleop appears.
NOT verified / no evidence:
quant_modevalues"bf16"/"fp8_e4m3_per_tensor"/"nvfp4_group16"do not exist anywhere in this repo (grep: only ngram_delivery.py + the new test). They come from b12x (b12x.sequence.ple_embedding), pinned viapyproject.toml:25flashinfer-python[b12x]. So the three-way branch depends on an unpinned-in-repo, external enum vocabulary — and #664's bf16 branch used the same external name, so the pattern is established but still unverifiable from this repo alone.- No in-repo producer emits
FP8_E4M3_GLOBAL:ignition/components/engram.pystill only handles the 2-plane FP8_E8M0 path (_compact_lookupTriton kernel hardcodes*256 + coland*8, 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. #664's review made the same "no in-repo producer" point.
#8 [high] Claims vs evidence: DGX Spark NVFP4 replay answers #664's exact blocker but carries no metrics
Declared in body:
cargo test --manifest-path heliopause/Cargo.toml --lib payload_export_tests: 33 passed, 0 failed.cargo test --manifest-path helios/Cargo.toml --features runtime-core,server --lib core::schema::tests: 18 passed, 0 failed.cargo test --manifest-path helios/Cargo.toml --features runtime-core,server --lib runtime_core::engram: 10 passed, 0 failed.cargo test --manifest-path flare/Cargo.toml --lib: 247 passed, 0 failed, 4 ignored.pytest tests/components/test_ngram_delivery.py: 3 passed, 0 failed.- Live single-GPU DGX Spark (
NVIDIA GB10, SM121):ignition export+ nativeflare runverified end-to-end with bothFP8_E4M3_GLOBAL(disk and RAM backing) andNVFP4_E4M3_GLOBALcores.
Assessment vs. evidence:
- Test counts are plausible and specific and match the test functions actually present (I verified
validates_single_plane_fp8_global_engram_tableexists andfp8_global_single_plane_tables_decode_shared_and_partitionedexists; the pytest file has exactly 3 parametrized cases). - The DGX Spark SM121 export+serve claim is the right shape of evidence and explicitly covers backward compatibility with an
NVFP4_E4M3_GLOBALcore — which is precisely the "serving replay of a pre-existing FP8/NVFP4 core" gate Autobot held against #664 across three rounds. This is a direct, deliberate response to the predecessor's blocker. But it is unverifiable from the repo — no logs, no artifact, no metric numbers, no throughput/memory figures unlike #664 (which gave TTFT/ITL/gather counts) and #716 (which gave commands and results). - No CI state: orientation packet says CI on head
078b043is pending. No results reported in the body either way. - No numbers at all for the claimed benefit: the body says tables "could not be exported or served natively" (a capability claim, not a perf claim) — fair, and it does not overclaim speedup.
Declared limitations (honest, and materially relevant):
- "Partitioned TP>1
FP8_E4M3_GLOBALexport and decode are covered by CPU unit tests rather than multi-GPU hardware execution." - "unrelated template-fixture and
/dev/shm/selenetests in the fullhelioslib suite were not run with external fixture directories."
Charter relevance: charter line 37 requires new formats to "list supported checkpoints from an official or widely used source, prove they export and serve cleanly from the PR branch, and support more than a single checkpoint (#74)". The body lists two checkpoints (local-inference-lab/Qwen4-35B-A3B-NVFP4, eidonix/Qwen4-35B-A3B-MXFP8) which satisfies "more than a single checkpoint", and claims export+serve proof for one device. Whether these are "official or widely used" is not evidenced — local-inference-lab is the project's own org, eidonix is the project's own vendor org (autobot.eidonix.com), so both are first-party, not independent.
#9 [high] Reach & process: additive tag, but an undeclared BF16 size-pinning tightening; hours old, CI pending, no reviews
Reach — who/what is affected:
- Operators/users: only those serving
Qwen4-35B-A3B-family checkpoints with FP8 E4M3 PLE tables. No configuration keys, CLI flags, or defaults change.--embedding-table-resident-scalesbehaviour is inherited from #664 unchanged. - Compatibility: additive enum tag
= 4. ExistingNVFP4_E4M3_GLOBAL,FP8_E4M3_E8M0,BF16cores keep their wire layout and validation. Verified structurally (tags appended;engram_scalesreturnsOk(Some(..))for the two-plane encodings exactly as before;Unspecified/unknown still rejected with the same message). Body claims the same and claims an NVFP4 core was re-served. - A tightening that reaches beyond FP8 (undeclared in the body): in
helios/src/core/schema.rs:561-571the single-plane row-size pinning path now also pins BF16weights.slice.nbytes == rows * embedding_width * 2— but BF16 was merged by #664 without that check. So #732 adds a validation rule to an already-shipped encoding. Any BF16 core #664-style-exported with a mis-sized plane would now be rejected at load; correctly-exported cores are unaffected (export computes the size the same way). This is a real, if narrow, behaviour change for BF16 and is not mentioned in the PR body. Same at the partition path (622-630). - Implied by the above: also affects any external producer of BF16 cores (none in-repo).
- Dependencies: none added.
runtime_core_pb2.pyregenerated (the PR file list shows +112/-112, i.e. one added enum value rippling through the generated descriptor blob, not a protoc version bump). - Deployment: no packaging, workflow, or release changes. No effect on non-PLE models, on K/V cache, on TP layouts beyond the partitioned validation covered only by unit tests.
- Documentation: two files updated coherently (
docs/core-format-design.md:94-95,helios/manifest.md:526-528).docs/core-design.md:607still describes PLE lookup as "b12x NVFP4 PLE embedding" — not updated by this PR (nor by #664).
Process:
- State: open, ready for review per orientation packet (not draft).
- Opened 2026-12-04, last updated 2026-12-04 — same day, i.e. very young (hours old at time of writing).
- Head commit
078b043; base branchmain; base at branch pointcc0a49d. - CI: pending on the head commit.
- Reviews: none. Comments: none. Labels: none. Reactions: none.
- Size: 10 files, +565/-145 (orientation packet; consistent with
pr_files). - Companion:
local-inference-lab/hyperflare-recipes#165(cross-repo, not verifiable here).
#10 [high] Related work: stack is #711 → #664 → #716 → #732; no competing implementation
Same files, ranked by overlap (from related_items #732):
- #711 (merged, lukealonso) — "add domain-agnostic AsyncTransfer primitive and runtime-sized device pools". 8 files in common including all of schema.rs, engram.rs, both protos, core.rs. This is the PR that added
RankBody.external_extentsandAllocation.sizing.capacity == 2. #732 is built on top of #711 (theexternal_extentsdestructuring in schema.rstry_visit_payload_usesand thematches!(sizing.capacity, 0 | 1 | 2)at schema.rs:650 are #711's, not #732's — they appear inpr_diffonly because the local main is stale). - #664 (merged, kbenkhaled) — 8 files in common; the direct stack base. See entry 3.
- #566 (merged, voipmonitor) — engram advisory lookahead prefetch; 8 files in common incl.
ignition/components/ngram_delivery.py. Introduced the prefetch mailbox #732's tables can use. - #723 (open, lukealonso) — fleet-wide 2-way codec green contexts; 6 files in common (schema.rs, both protos, core.rs, manifest.md, pb2). Concurrent, unrelated subject, textual conflict risk on the same proto/schema files. Its thread reports live
flare runon a signedQwen4-35B-A3B-NVFP4core (FujitsuPolycom) — same model family as #732. - #716 (merged, lukealonso) — Qwen4 engram NVFP4 widths; same file
helios/src/runtime_core/engram.rs. Merged 2026-12-04 02:34, ~hours before #732. #732'sFp8E4m3Globaldecode arm sits immediately next to #716's width-derived NVFP4 arm at engram.rs:141-167. #732 depends on #716 being in the branch. - #694 (open, yatesdr, same author) — selene/helios spill profitability gate; 3 files in common. No subject overlap; author's other work.
- #334 (open, javieratomic), #554 (open draft, ateska) — both touch
helios/src/runtime_core/engram.rs; read-ahead and RDMA engram store respectively. No conflict with #732's encoding work. - #590 (merged, lukealonso), #539 (merged, FujitsuPolycom), #479 (merged, voipmonitor), #220/#219 (merged, nero-) — earlier engram work; all predate and are unaffected.
- #618 (merged, lukealonso) and #314 (open, schopde-nvidia) — smaller overlap (proto/core.rs only).
Competing / superseding: none found. No other PR proposes an FP8 single-plane engram encoding. #732 is the only implementation of this idea.
Undone by this PR: nothing. It does not remove or reverse any encoding.
Coupled open work worth flagging: #731 (open, avifenesh) pins flashinfer for Qwen4-35B-A3B GDN geometry — without it, the same Qwen4-35B-A3B recipe cannot export at all on SM120 ("GDN prefill requires three value heads per key head"). So #732's stated use case is gated behind #731 in practice for SM120 users. #732's own DGX Spark run is SM121, so it did not need #731's geometry; whether SM120 works with #732 alone is not claimed.
#11 [high] Research summary
Case file prepared for PR #732 (add FP8_E4M3_GLOBAL single-plane engram table support). Ten scratchpad entries cover every angle; the highest-value findings are below.
Tool caveat future reviewers must know: pr_diff for this PR returns a stale base (it shows #664's merged BF16/IDENTITY work and #711's external_extents as if this PR added them). The real delta must be read from ref: pr/732 directly. search_history is also broken on this repo.
What the code does (verified): adds FP8_E4M3_GLOBAL = 4 to EngramTable.Encoding in both protos; pins single-plane row size (embedding_width bytes), rejects a scales plane/buffer, scale_block != 0, and non-finite/non-positive global_scale; decodes it in runtime_core/engram.rs:159-167; and exports it through the existing schema::engram_scales seam with no FP8-specific export code. Ignition binds it via a three-way quant_mode branch in ngram_delivery.py.
Things a reader could not learn from the description: the description's tag numbering (= 3, NVFP4 = 1, BF16 = 2) is wrong — the code has BF16 = 3, FP8_E4M3_GLOBAL = 4, because #664 took 3. The PR also undeclaredly tightens BF16 validation (row-size pinning now applies to BF16, which #664 shipped without). And the quant_mode strings it branches on live only in external b12x, not this repo.
Context: this is the third Qwen4-35B-A3B engram PR in ~24 hours (#716 widths, #731 GDN pin, #732 encoding), stacked on #711 → #664 → #716. It directly answers the two blockers Autobot held against #664 for three rounds — it links a recipe PR (#165) and claims an NVFP4 backward-compatibility replay — though #664 merged without ever satisfying the owner-approval gate, which is the live precedent. No competing implementation exists; #723 and #731 are the concurrent risks. As of writing it is hours old, CI is pending, and it has zero reviews, comments, or labels.
#12 [high] Recent activity: #732 builds on a 3-day chain of merges; only #723 conflicts textually
What changed lately in the files #732 touches, by whom and why (all within days of 2026-12-04):
| Date | Item | Author | Why it matters to #732 |
|---|---|---|---|
| 2026-12-04 (hours before) | #716 merged — derive NVFP4 engram row/scale widths from embedding_width |
lukealonso (project owner) | Same file helios/src/runtime_core/engram.rs. First Qwen4-35B-A3B engram support. #732's FP8 arm sits directly beside it (engram.rs:141-167). #732 is built on it. |
| 2026-12-04 03:51 | #664 merged — single-plane BF16 + IDENTITY | kbenkhaled | The stack base; introduced Planes{weights, scales:Option}, engram_encoding_has_scales, engram_scales, shard contiguity. #732 extends its seam. |
| 2026-12-04 | #711 merged — AsyncTransfer + runtime-sized device pools | lukealonso | Added RankBody.external_extents and Allocation.sizing.capacity == 2, both of which appear in #732's stale-base diff. #732 sits on top. |
| 2026-12-04 18:49 | #731 opened — pin flashinfer for Qwen4-35B-A3B GDN 2:1 heads | avifenesh (first-time contributor) | Without it, the same Qwen4-35B-A3B recipe cannot export on SM120 ("GDN prefill requires three value heads per key head"). Gates #732's use case on SM120. #732's own run was SM121 so did not need it. |
| 2026-12-03..04 | #723 open — fleet-wide codec green contexts | lukealonso | 6 files in common (both protos, schema.rs, export/core.rs, manifest.md, pb2). Unrelated subject, real textual conflict risk. Its thread (FujitsuPolycom) reports live flare run on a signed Qwen4-35B-A3B-NVFP4 core. |
| earlier merged | #566 (voipmonitor, prefetch), #590 (lukealonso, engram reader fixes + PLE lookahead), #539 (FujitsuPolycom), #479 (voipmonitor), #220/#219 (nero-) | various | Baseline the PR builds on; unaffected. |
Assessment of fit with recent activity: #732 builds on rather than conflicts with #711/#664/#716 — it is the deliberate second consumer of a seam #664 introduced three days earlier, applied to the model #716 had just taught the decoder about. It does not reverse anything. Its only friction is textual: concurrent edits to core.proto/runtime_core.proto/schema.rs from open #723 (and engram.rs from open #334/#554), which will require rebases but no semantic reconciliation.
Orientation-packet leads not chased (judged not relevant): #694 (yatesdr's own selene/helios spill gate — different subsystem, no overlap with engram encodings); #347/#348/#349 (yatesdr's long-running open issues on GLM-5.3-Flash serving, PCIe root-port transports, NVFP4 production serving — background on the author only, no bearing on this change); #618 (proto/core.rs overlap only, decoupled signed bodies — predates, unaffected); #586/#587/#580/#581/#652 (engram export parallelism, disposable export spans, row-cache readiness, UseNodePriority, cubin pruning — all merged, disjoint subject); #314 (open diffusion tensor execution, proto-only overlap).
#15 [high] New event 2026-12-04 ~19:37-22:52: #732 body rewritten, Autobot review, #733 duplicate closed, independent verification by nero-
Events since entry #14 (all 2026-12-04):
-
PR #732 description fully rewritten (head 02ba7629, updated 21:21). Enum numbering now CORRECT (FP8_E4M3_E8M0=1, NVFP4=2, BF16=3, FP8_E4M3_GLOBAL=4) — prior report finding #1 (wrong tag numbering) is RESOLVED. Labels now
area:engram, enhancement, triage:review(was none). Verify evidence upgraded: release-mode crate suites (heliopause234 passed;helios core::527;helios runtime_core::204;flare247; pytest 10 passed) + named checkpoints noweidonix/Qwen4-35B-A3B-MXFP8andeidonix/Qwen4-35B-A3B-NVFP4-MXFP8-Hybridwith concrete GiB figures (37.8 GiB GPU / 71.3 disk / 53.1 RAM; 28.0 GiB GPU / 81.1 GiB KV). -
Autobot review posted 19:54 UTC on head 078b043: Recommendation Changes Requested; Blockers 1, Should fix 2, Merge risk Low.
- Blocker 1: Layer-1 release-mode suites for helios/heliopause/tests-preparation not run (only narrow name-filtered debug subsets).
- Should-fix A: non-exhaustive fallback dispatch with missing
Noneguards inignition/components/ngram_delivery.py— bareelsetreats unknownquant_modeas NVFP4 and dereferencesself.scales/scaleswhich may beNone. - Should-fix B: description factual discrepancies.
- Also flags: hardlink reuse not actually covered for FP8; SM121 export+NVFP4 replay lacks commands/output.
- Confirms my read: additive, wire-compatible, no FP8-specific exporter/native reader branch, reuses #664 seam.
-
Human endorsement —
nero-(CONTRIBUTOR), 22:52 UTC: "+1 — closed #733 in favor of this PR since theFP8_E4M3_GLOBAL = 4single-plane wire contract is identical. Independently verified this encoding end-to-end (export, serving, warm prefix cache, and full GSM8K-1319 qualification) on both SM120 (RTX 5090,--embedding-table-storage ram) and SM121 (DGX Spark, bothdiskandram)."- This is genuinely independent evidence (different person, different hardware, different workload) and directly answers my prior concerns: (a) "first-party checkpoints only", (b) "SM120 gated on #731", (c) "no metrics/no quality evidence".
- First human engagement on the PR; still zero formal GitHub approvals.
-
Competing PR #733 (nero-, CONTRIBUTOR): opened 20:06, closed 20:26 in favor of #732, labeled
duplicate+triage:design-review, +499/−138 over 11 files. Autobot auto-review "Review Stopped — Another open pull request already covers this change, or more of it." Its body explicitly states the contract needs owner approval perdocs/design-review.mdPrinciple 1 and names Luke Alonso; companion recipe PR moves fromhyperflare-recipes#167to#165targeting #732. -
#731 now "Ready To Merge" per Autobot review at 21:08 (a558dcd) and it references #732 as the downstream unblockee. My prior "SM120 gating" caveat is being resolved by that PR, and nero- already exercised SM120.
Citations: PR #732 discussion (flare-autobot 19:41, 19:54; nero- 22:52); PR #733 description/discussion; PR #731 review 21:08.
#16 [high] RETRACTION: #732 does NOT tighten BF16 validation — row-size pinning already shipped on main
Correction to entry #14, finding 3 (and entries #9/#2 wording).
Verified at ref main (helios/src/core/schema.rs):
main:555let bf16_row_bytes = if table.encoding == ...Bf16 { Some(width*2) }main:570-578shared plane:expected = rows * row_bytes, error"BF16 engram plane size mismatch"main:614-622partitioned shard:expected = shard.rows * row_bytes, error"BF16 engram partition size mismatch"
At pr/732 (schema.rs:561-571, 578-586, 622-630) this is only renamed bf16_row_bytes → single_plane_row_bytes with an added Fp8E4m3Global → Some(width) arm; error messages generalize from "BF16 …" to "single-plane …". BF16 numeric behaviour is identical (width*2).
⇒ The prior report's claim that #732 "adds a validation rule to an already-shipped encoding" and does so "undeclared in the body" is wrong and must be retracted. BF16 pinning was #664's. No BF16 compatibility regression exists. (Independent corroboration: Autobot 19:54 review says the generalization happens "without changing BF16 behavior".)
What is a real, small tightening at head (was not in my earlier notes at 078b043 shape):
main:501-506rejected any nonzeroglobal_scalefor every single-plane encoding in oneelse if.pr/732:504-512splits it:Bf16still requiresglobal_scale.to_bits() == 0; the FP8 arm requires finite and> 0. Net effect on BF16 is unchanged, but the check is now encoding-exhaustive rather than a single catch-all, so a third single-plane encoding would need its own arm. This is the arm the PR body calls "exhaustively matches the decodedEncodingenum once invalidate_engram" — accurate.
#17 [high] PR body now overclaims: 4 of 6 "what changed" items absent or misattributed at head
The 02ba7629 body is a forward-looking rewrite that describes work not present at head. Checked with search_code ref pr/732:
| Body claim | Reality at pr/732 |
|---|---|
"Extracts _ple_lookup_planes(mode, weight, scales, scale) shared by PreparedPLELookup and flare::staged_ple, ... raising ValueError on unsupported modes" |
Absent. No _ple_lookup_planes anywhere. ngram_delivery.py:105-114 and 136-144 still contain two duplicated three-way if/elif/else blocks with a bare else (the exact defect Autobot's Should-fix A names). |
"hardlink reuse (reuse_engram_hardlinks_shared_and_partitioned_embedding_planes)" as evidence for FP8 |
The test exists on main (heliopause/src/export/core.rs:3907) and does not cover FP8: its loop is for (partitioned, bf16) in [(false,false),(true,false),(false,true),(true,true)] (core.rs:3910), only NVFP4 and BF16 branches. Fp8E4m3Global appears in core.rs only at 4570 and 4583, inside core_engram_preserves_shared_and_partitioned_plane_layouts. So the body cites pre-existing coverage as new evidence and the "hardlink reuse" gap Autobot flagged is real and unresolved. |
"pytest tests/components/test_ngram_delivery.py: 10 passed" |
File is unreferenced to any production code and has one test (test_prepared_ple_lookup_views_and_fx_tracing, line 37) parametrized over 3 modes (line 29). 10 collected items cannot come from this file alone; the count implies other tests in the invocation, but the body names only this path. Also directly contradicts Autobot's 19:54 report of narrow debug subsets, and the count change from the prior "3 passed". |
"docs/core-design.md" listed under changed docs |
Not in the PR's file list (10 files, none is docs/core-design.md). docs/core-design.md:607 still reads "PLE lookup |
"consolidates single-plane row-byte geometry in runtime_core::engram" |
engram.rs has no shared geometry helper; still one decode arm (engram.rs:159) plus one test (:1162). |
Citations: PR #732 description at 02ba7629; search_code over pr/732 for _ple_lookup_planes, FP8_E4M3_GLOBAL, Protobuf Python Version; heliopause/src/export/core.rs:3907-3960, 4570, 4583; ignition/components/ngram_delivery.py:98-157; docs/core-design.md:607.
One body claim verified and now correct-by-evidence: runtime_core_pb2.py is still the protoc-36.2 regeneration (ignition/preparation/runtime_core_pb2.py:5 "Protobuf Python Version: 7.36.2"), NOT the protoc-35.1 that #733's description mentions. So no generator-version regression from #664.
#19 [high] Research summary
Amendments delivered for the new event (two things happened since the previous report: the PR body was rewritten at head 02ba7629 at 21:21, an Autobot review landed at 19:54 on 078b043, a human contributor nero- independently verified the encoding at 22:52, and a competing PR #733 was opened 20:06 and closed 20:26 as a duplicate).
One retraction. My previous finding that #732 "undeclaredly tightens BF16 validation" is wrong: BF16 row-size pinning already shipped in #664 (helios/src/core/schema.rs:555, enforced main:570-578 and main:614-622). At pr/732 it is only a rename to single_plane_row_bytes (:561-571) plus an FP8 arm; BF16 arithmetic and accept/reject behaviour are unchanged. No BF16 regression exists.
One resolution. The incorrect enum numbering is fixed in the rewritten description; the stacked-on-#664 conclusion stands but now needs different evidence.
One significant new finding. The rewritten body overclaims: _ple_lookup_planes (its headline refactor) does not exist anywhere at head; the cited reuse_engram_hardlinks_shared_and_partitioned_embedding_planes test is pre-existing on main (heliopause/src/export/core.rs:3907) and loops only over NVFP4/BF16 (:3910), so it does not cover FP8 and Autobot's hardlink gap stands; docs/core-design.md is not among the 10 changed files and :607 still says "b12x NVFP4 PLE embedding"; the claimed "10 passed" cannot come from a file holding one test parametrized over 3 modes.
Related-work correction. #733 (nero-) implemented the identical FP8_E4M3_GLOBAL = 4 contract; Autobot stopped its review as a duplicate and the author closed it in favour of #732. It independently asserted the owner-approval requirement from docs/design-review.md (not opened) Principle 1 — reinforcing the outstanding-approval point in §7.
Evidence upgrade. nero- verified export, serving, warm prefix cache and full GSM8K-1319 qualification on both SM120 (RTX 5090) and SM121 (DGX Spark, disk and ram), closing the first-party-checkpoint, no-metrics and arch-coverage doubts. #732's own body now gives release-mode suite counts and concrete GiB figures. Process is now 1 bot review (Changes Requested, merge risk Low, 1 blocker + 2 should-fixes) plus 1 human endorsement, still 0 approvals; #731 moved to Ready To Merge, softening the SM120 gate.
Also verified closed: docs/cli-design.md:814-816's single-plane clause already covers FP8 correctly (nit only, not a doc gap), and every flag quoted in #732's body is real in flare-cli/src/cli.rs (not opened). All orientation-packet leads are dispositioned. Eight scratchpad notes (#15–#18 new) hold the citations.
#20 [high] Entry-19: consolidated amendment report for #732 (retraction, #733, overclaim, review)
Consolidated amendment text for PR #732, ready to be folded into entry #14. Amendments only — everything else in #14 stands.
A. RETRACTION (was entry #14 finding 3, and the §9 "undeclared reach" bullet).
"#732 undeclaredly tightens BF16 validation" is wrong. BF16 row-size pinning shipped in #664: main helios/src/core/schema.rs:555 (bf16_row_bytes), enforced shared main:570-578 ("BF16 engram plane size mismatch"), per-shard main:614-622. At pr/732 it is only renamed single_plane_row_bytes (:561-571) with an added Fp8E4m3Global → Some(width) arm; enforcement at :578-586 and :622-630; BF16 arithmetic unchanged (width*2). No BF16 compatibility regression. The real, smaller change: main:501-506 used one catch-all else if rejecting any nonzero global_scale for every single-plane encoding; pr/732:504-512 splits into an explicit Bf16 arm (to_bits()==0) and an FP8 arm (finite, >0) — behaviour-identical for BF16, merely encoding-exhaustive.
B. RESOLVED (was finding 1). Description rewritten at 02ba7629 now states FP8_E4M3_E8M0=1, NVFP4_E4M3_GLOBAL=2, BF16=3, FP8_E4M3_GLOBAL=4, matching helios/proto/core.proto:269 and helios/proto/runtime_core.proto:665. Labels now area:engram, enhancement, triage:review (previously none). Keep the stacked-on-#664 conclusion; drop the stale-numbering evidence for it.
C. NEW FINDING — description overclaims work absent at head. Four of six "what changed" bullets fail a search at pr/732:
_ple_lookup_planesdoes not exist;ignition/components/ngram_delivery.py:105-114and:136-144still hold two duplicated three-way branches with a bareelse.reuse_engram_hardlinks_shared_and_partitioned_embedding_planesis pre-existing onmain(heliopause/src/export/core.rs:3907) and loops[(false,false),(true,false),(false,true),(true,true)](:3910) over NVFP4/BF16 only;Fp8E4m3Globalincore.rsappears only at:4570and:4583. The FP8 hardlink gap Autobot raised is real and unresolved.docs/core-design.mdis not among the 10 changed files;:607still reads "PLE lookup | b12x NVFP4 PLE embedding".- "pytest … 10 passed" is not producible from that file: one test (
tests/components/test_ngram_delivery.py:37) parametrized over 3 modes (:29). - "consolidates row-byte geometry in
runtime_core::engram" — no shared helper; one arm (helios/src/runtime_core/engram.rs:159) + one test (:1162). - In the PR's favour:
ignition/preparation/runtime_core_pb2.py:5still says "Protobuf Python Version: 7.36.2", so #664's protoc-36.2 regeneration carries over (contrast the protoc-35.1 named in #733).
D. RELATED WORK — revise "no competing implementation" (entry #10). PR #733 (nero-, CONTRIBUTOR; opened 20:06, closed 20:26 2026-12-04, labels duplicate + triage:design-review, +499/−138, 11 files) implemented the identical FP8_E4M3_GLOBAL = 4 contract. Autobot stopped its review: "Another open pull request already covers this change, or more of it." nero- closed it in favour of #732, moving companion recipe hyperflare-recipes#167 → #165. Two consequences: the design gains an independent corroborating implementation; and #733's body independently asserted the new tag requires owner approval from Luke Alonso per docs/design-review.md Principle 1, reinforcing §7's outstanding-approval point without remedying it.
E. CLAIMS & EVIDENCE — materially upgraded (was §8). nero- (CONTRIBUTOR) verified export, serving, warm prefix cache and full GSM8K-1319 qualification on SM120 (RTX 5090, --embedding-table-storage ram) and SM121 (DGX Spark, disk and ram). Closes the first-party-checkpoint (§7/§8), no-metrics, and arch-coverage doubts. #732's body now also gives release-mode counts (heliopause 234; helios core:: 527; helios runtime_core:: 204; flare 247) and GiB figures (37.8 GiB GPU / 71.3 disk / 53.1 RAM; 28.0 GiB GPU / 81.1 GiB KV). Still 0 formal approvals.
F. PROCESS — one review exists, Changes Requested. Autobot review 19:54 UTC on 078b043: Changes Requested, merge risk Low, 1 blocker + 2 should-fixes. Agrees with my §1 (additive, wire-compatible, no FP8-specific exporter/native reader, reuses #664 seam). Blocker 1 = Layer-1 release-mode helios/heliopause/tests/preparation/ suites skipped for narrow name-filtered debug subsets (aimed at 078b043; the post-rewrite body claims exactly those suites — the two cannot both be current). Should-fix A = non-exhaustive fallback with missing None guards in ngram_delivery.py: unknown quant_mode takes the NVFP4 path and dereferences a None scales — confirmed at :112-114 and :141-143; I had recorded the fall-through but not the crash. Should-fix B = description factual discrepancies. State line: opened 19:37, updated 21:21, 10 files +565/−145, labelled, 1 bot review, 1 human endorsement, 0 approvals, CI still unreported.
G. GATING softened (was finding 5). #731 re-reviewed 21:08 on a558dcd as Ready To Merge (roce-proxy parity verified; 2621 pytest passed) and its review names #732 as the downstream unblockee. From "gated behind an unrelated open PR" to "was gated on #731, now Ready To Merge; nero- has already exercised SM120 independently."
H. NITS / closed leads. docs/cli-design.md:814-816 already states that explicitly enabling --embedding-table-resident-scales fails when no table carries a scale plane "(such as single-plane BF16 tables)" and that single-plane tables never auto-enable it — the generic clause covers FP8 correctly, so the omission is a stale-example nit, not a doc gap. Every flag quoted in #732's body is real: --embedding-table-storage disk|ram at docs/cli-design.md:767, flare-cli/src/cli.rs:978 (help text :761).
I. Bottom line change. Stronger than #14 concluded: cross-platform, cross-person GSM8K-qualified evidence; BF16 finding was my error; numbering fixed. Remaining problems are narrower: (1) out-of-repo quant_mode vocabulary in external b12x with no in-repo producer, now compounded by an unguarded fallback that crashes; (2) a description describing a rework not in the tree and citing pre-existing/lacking coverage; (3) no owner approval, now flagged for the same reason by a second contributor in #733.
#13 [medium] Community: zero engagement on #732 so far, vs three review rounds on #664
Comments on #732: none. pr_comments returns "No comments."
Reviews: none ("Reviews: none yet" per orientation packet).
Labels: none.
Reactions: none observed.
CI: pending on head 078b043.
Compare with the predecessor, for scale of interest:
- #664 (kbenkhaled, the BF16/IDENTITY PR) drew 4 discussion entries — 3 full Autobot reviews across 2026-12-01 to 2026-12-03, each with blockers, walkthroughs, merge-risk assessments and pre-merge checks — plus 1 case-file announcement. It was open ~3 days before merge.
- #716 (lukealonso) drew 1 (case-file announcement only); merged in 11 minutes.
- #731 (avifenesh) drew 2 (announcement + full Autobot review) within ~40 minutes.
- #723 (lukealonso) has human participation (FujitsuPolycom reporting live Qwen4-35B-A3B serving).
Interpretation (factual, not a judgement): #732 has drawn no engagement of any kind yet — no bot review, no human review, no labels, no reactions — which is consistent with it being only hours old and having CI pending. It has not yet had the scrutiny its predecessor #664 received. Given that #664's three review rounds were dominated by two blockers (#owner approval, #linked producer + NVFP4 replay) that #732 explicitly sets out to satisfy, the absence of any review means neither is yet adjudicated for this PR.
Related community signal on the underlying feature: issue #535 (tastyrice90, open since 2026-11-26, no replies) shows a contributor asking for exactly this class of approval and getting no answer — evidence that the contract-approval channel is a real bottleneck for contributors, not a formality. #732 (from a COLLABORATOR with 84 merged PRs) did not open such a request.
#18 [medium] Final lead checks: CLI docs are a nit not a gap; PR-body commands use real flags
Two remaining lead checks closing out the orientation packet.
1. CLI doc nit (small, real, contrary to what #733 implied). docs/cli-design.md:814-816 says explicitly enabling --embedding-table-resident-scales "fails loading ... when no table in the catalog carries a scale plane (such as single-plane BF16 tables)" and "single-plane tables do not enable it automatically." The generic clause already covers FP8_E4M3_GLOBAL correctly, so #732 omitting a docs/cli-design.md edit is not a behavioural doc gap — only a stale example (it names BF16 where BF16 and FP8_E4M3_GLOBAL both qualify). Closed #733 made a +1/−1 edit there for exactly this. Classify as a nit, not a finding; do not overstate it as "#732 forgot CLI docs."
2. Flags quoted in the #732 body are real (so the SM121 evidence is not fabricated-command-shaped): --embedding-table-storage disk|ram is documented at docs/cli-design.md:767 and implemented at flare-cli/src/cli.rs:978 (pub embedding_table_storage: Option<Storage>), with clap help text at cli.rs:761. Also verified: --offline, --max-concurrency, --prefill-chunk-size, --mtp-draft-tokens, --mtp-expert-quantization, --force-moe-decode-a16, --autotune-effort, --speculative-method mtp, --mtp-only, --gpus all appear in flare-cli/src/cli.rs / heliopause; --prefix-cache-memory and --lossless-kv-compression are quoted only in #733's (closed) body, not #732's.
3. Orientation-packet leads — disposition recap: #664/#716/#711 stack base (relevant, covered); #723 textual conflict (relevant, covered); #731 SM120 gate (relevant, now Ready To Merge — amendment G); #733 duplicate (relevant, was missed — amendment D); #694/#347/#348/#349/#618/#586/#587/#580/#581/#652/#314 (not relevant, different subsystems, noted in entry #12); docs/core-design.md:607 stale (unfixed, amendment C); docs/cli-design.md (nit above); CI state still unreported on head 02ba7629.