Amendments to the report of 2026-11-29 (report #14)
Scope of this document: the original task asked for amendments only, so this text supersedes the named findings of report #14 (scratchpad #14) and does not repeat the unchanged parts (motivation, why, the claim-by-claim mechanism table, the charter fit argument). The triggering event was a re-push of PR #625 as f2d03bc1 plus an Autobot Review; scratchpad notes #15–#17 carry the case file. Repository: NVIDIA/hyperflare-inference.
Key findings
- Amendment 1 — head, author and size all changed; the file-map table and findings 1 and 5 are superseded. PR #625 head is now
f2d03bc17d065a99f0216b9c5ed0902ff3ba8984, commit author yatesdr (not the bot/derekidentity #14 described), rebased ontomain8da73911(the #624 merge) instead of59adc480. Diff is 7 files, +1621/−109 (was 6 files, +1471/−111): the added file isdocs/TODO.txt(+7/−0). Everyeos/src/unix.rscitation in report #14 shifts by ≈+150 lines. Current anchors:POPULATE_CHUNK_BYTESeos/src/unix.rs:88,MappingGuard:139-181,select_population_mode:243,detect_thp_policy:450,populate_chunk:511,populate_chunks:539,populate_adaptive_with:566,populate_linux:705,map_host_with:737,map_host:749, tests:835-1350;PrepareTimingsselene/src/offload.rs:333-340,summary():415-475,prepare_with_inputs_budget_with_progress:595;helios/src/offload/mod.rs:31,101-118;helios/src/runtime_core/model.rs:966,978;docs/prefix-cache-offload.md:517-536,990-996. - Amendment 2 — the "undeclared behaviour changes" finding must be withdrawn except three residues. The updated PR description (read via
read_item625) now states explicitly: 64 MiB bounded chunking "across all Unix modes",bytes == 0→EINVAL,MappingGuardmunmap,EINTRretry, volatile fallback only onEINVAL/ENOSYSwith other errnos propagated,/proc/self/statusMems_allowed_listNUMA filtering, two-consecutive-compact_stallconfirmation, the one-PMD interior shrink, and the whole-rangeMADV_NOHUGEPAGEafter fallback; the compatibility section names both the chunking and the newsummary()tokens. What still is not stated is listed in Amendment 2 below. - Amendment 3 — the process finding is superseded: labels and a review now exist, but there is still no human sign-off. Labels
area:memory,area:selene,bug,performance,priority:P2,triage:review;flare-autobotposted an Autobot Review at 2026-11-30 02:32 with "Recommendation: Changes Requested" (1 blocker, 3 should-fix, 2 subtract/simplify, 5 nits). No human comment, review, assignee or reviewer request. The "no author standing" framing now applies only to the opening account, because the committer is yatesdr, the owner of these files. - Amendment 4 — the CI finding now has a probable cause, corroborated. The blocker in that review is dated: it judges head
9639e57, and the head has since moved.Python CPU testsruns on every PR with no path filter (.github/workflows/python-cpu.yml:6(not opened)), and per issue #623 it was permanently red (0 green runs of 61) until merged #624 (8da73911), which is exactly the basef2d03bcnow sits on. yatesdr states the same thing independently in PR #628 (comment 2026-11-30 12:55): "the only failing check wasPython CPU tests / pytest, which is the pre-existingmainfailure tracked in #623 / #624". So no CI defect in #625 is established. - Amendment 5 — related work changed: #323 is closed, #628 and #621 are new overlaps, #576 is still the only
eos/src/unix.rscollision. See below; the anticipatedprepare_with_inputs*/system_headroom_bytessignature conflict is gone because #323 was closed 2026-11-30 13:20 as "superseded byc9935887(v0.4.1) and #589" (system_headroomno longer exists inselene/src). - Amendment 6 — the AGENTS paperwork gap is closed, the Charter #210 gap is not.
docs/TODO.txt:1-6now records the unrun end-to-endflare runA/B, liveibv_reg_mr, 16 KiB/64 KiB ARM64 validation and theselene-manager/src/arena.rs(not opened)MADV_HUGEPAGEaudit, satisfyingAGENTS.md:57-58. The served-workload measurement thatdocs/design-review.md:106-115requires is still unrun and still unrecorded as evidence.
Amendment 1 detail (shape and authorship)
| File | Diff (post-rebase) |
|---|---|
eos/src/unix.rs |
+1158/−54 |
selene/src/offload/tests.rs |
+274/−0 |
selene/src/offload.rs |
+131/−45 |
docs/prefix-cache-offload.md |
+25/−6 |
helios/src/offload/mod.rs |
+24/−3 |
docs/TODO.txt |
+7/−0 (new to the diff) |
helios/src/runtime_core/model.rs |
+2/−1 |
(pr_files at head f2d03bc; the PR page reports +1621/−109 across 7 files.) Report #14's line-anchored prose must be re-cited against the anchors in Key finding 1; the eos growth (+1008 → +1158) is the rebase plus the moved test module (eos/src/unix.rs:835-1350, 12 eos tests, Linux-only ones at :1182, :1249, :1310).
Amendment 2 detail (what survives of the "undeclared" criticism)
Verified in code at the current head:
- Still undeclared (i):
map_hostperforms sysfs//procfile I/O on every call, including 4 KiB/8 KiB test pools and pool staging.populate_linuxunconditionally callsread_mems_allowed_listand then the buddyinfo/compact-stall readers (eos/src/unix.rs:723-731), anddetect_thp_policy(:450) is on the same path; pool staging enters throughRegion::anonymous→os::map_host(selene/src/pool/shm.rs:74-86). - Still undeclared (ii): after a mid-slab fallback the whole range gets
MADV_NOHUGEPAGEeven when the policy did not require it, because the final advice keys only onfell_back(eos/src/unix.rs:693-700):let final_advice = if fell_back { MADV_NOHUGEPAGE } else { MADV_HUGEPAGE }. THP hints are therefore dropped for the huge-page head too. - Still undeclared (iii): every heuristic constant (64 MiB
:88, 16 MiB:92, 15 ms/50 ms floors, 1 GiB/s and 256 MiB/s rates,total_hugepages/16min 32) remains compile-time only — no CLI flag, config key, env var or metric. - Withdrawn from #14: the universal chunking, the
EINVALon zero bytes, the reversed error propagation, theMappingGuardunmap, the one-PMD shrink and the post-fallbackMADV_NOHUGEPAGEare all now stated in the PR body, so #14's framing of them as hidden is no longer accurate — the substantive review point that remains is (ii), the scope of that advice, not its existence.
Amendment 3 detail (process and engagement)
- State: open, ready for review, updated 2026-11-30 13:23, labels as listed above.
- Discussion is no longer empty:
flare-autobotcase file 2026-11-30 02:09; Autobot Review 2026-11-30 02:32 titled "Recommendation: Changes Requested" — 1 blocker (CI failing on head9639e57), 3 should-fix, 2 subtract/simplify, 5 nits; it independently raises the Charter #210 served-flare rungap and thedocs/TODO.txtgap that report #14 raised, and reports Security ✅, Charter ⚠️, Related/conflict ⚠️ (#576, #323), Tests ⚠️. - That review is a bot artefact and is now partly out of date: it cites pre-rebase line numbers (
eos/src/unix.rs:86-680,:769-1202,selene/src/offload.rs:328-480,573-795,model.rs:966-980), names #323 as a live conflict (closed since), and its blocker head is superseded. - Still true from #14: no human review, no assignee, no requested reviewer. #616 still carries only the bot's copy of the PR description.
Amendment 4 detail (CI)
Python CPU teststriggers onpull_requestwith no path filter (.github/workflows/python-cpu.yml:6(not opened)), so it runs on #625 regardless of which crates changed.- Issue #623 documents it as permanently red (two stale library assertions against Triton 3.8.0 and torch 2.14.1); merged #624 (
078315e, merged 2026-11-30 12:39) fixes those premises, and #625 was rebased onto8da73911, which contains that merge. - Independent corroboration from the same era: yatesdr's #628 comment (2026-11-30 12:55) attributes its own remaining red check to exactly that pre-existing
Python CPU tests / pytestfailure. - Therefore: state as hypothesis that the 02:32 blocker was the pre-existing
mainfailure on the pre-rebase head9639e57, not a defect introduced by #625; no job log was readable with the available tools, and report #14's earlier Windows-test hypothesis remains withdrawn (eos/src/unix.rsis#[cfg(unix)]-only,eos/src/lib.rs:9-12(not opened)).
Amendment 5 detail (related work)
- #323 (closed 2026-11-30 13:20, yatesdr, "superseded by
c9935887(v0.4.1) and #589") — the pending refactor of theprepare_with_inputs*family andsystem_headroom_bytesis moot; the family now has three entry points (selene/src/offload.rs:562, 573, 595) andsystem_headroomis absent fromselene/src. Remove #323 from #14's overlap list. - #628 (open, yatesdr, P1, fixes #627, "helios: gate offload Copy Engine batches during peer-copy graphs", +1165/−154, 19 files) — new overlap on
docs/prefix-cache-offload.md,helios/src/offload/mod.rsandhelios/src/runtime_core/model.rs; itsCopyEngineGate/attach_offloadwiring touches the sameNativeModelprepare/attach region #625 edited athelios/src/runtime_core/model.rs:966-978. Both are from the same author and both touch the offload document, so the doc merge order matters. - #621 (open, "Validate scheduler admission against the core parameter declarations") — also edits
docs/TODO.txtanddocs/prefix-cache-offload.md, i.e. both files #625 newly added to. - #576 (open, fordbmorris) remains the only
eos/src/unix.rscollision (addsselect_high_capacity_cpus/prefer_high_capacity_cpusand tests in the same file where #625 adds ~600 implementation lines and its own test module from:835). - #589 (merged 2026-11-28) remains the regression cause per #616 and the thing #625 partially reverses; unchanged framing.
- #497 (merged) unchanged: #625's hunks preserve its headroom/checkpoint/intake logic.
Amendment 6 detail (charter and paperwork)
docs/TODO.txt:1-6(new in this diff) records: end-to-endflare run <core> --prefix-cache-memory <size> --prefix-cache-disk <dir>A/B startup timing underenabled=madvise, defrag=madviseon fragmented and unfragmented memory, live RDMAibv_reg_mr, 16 KiB/64 KiB ARM64 kernel validation foreos::map_host(#616), and theselene-manager/src/arena.rs(not opened) unconditional-MADV_HUGEPAGEaudit. This satisfies the AGENTS rule that unrun checks go indocs/TODO.txt(AGENTS.md:57-58), closing report #14's paperwork objection.- The performance-evidence gap is untouched:
docs/design-review.md:106-115requires "actual Helios service measurements" and a baseline for performance claims, and the PR itself says the benefit is "not yet timed inside a liveflare runlaunch" because the SM120 host lackedcmakeforturbojpeg-sysand the SM121 host had no exported cores. The 128.56 s → 30.99 s (4.15x) and 57.19 s + 11.27 s numbers remain author-supplied standalonemap_host+cuMemHostRegister_v2figures with no committed harness or raw log. - Consequence for reviewers: the mergeable unit is now "allocator rewrite + timing plumbing, with the served-workload A/B explicitly deferred and tracked"; that is a defensible position under
docs/design-review.md, but it is a maintainer call, not something the repo evidences.
Amendment 7 (minor corrections)
- The four new selene tests do assert the new
summary()text, including restore-only unchanged:selene/src/offload/tests.rs:1155, 1197, 1254, 1317. Report #14's statement that no in-repo test asserts the old text still holds. - The PR description's evidence counts were refreshed post-rebase: eos 12 tests, selene 552 unit + 1 integration, helios 1,748 lib + 62 integration, flare 245, flare-cli 227;
cargo check --tests --features rdmaon selene passed. - The rebase also means the two-NUMA x86_64 SM120 benchmark table in the description predates the current head (it was measured before the rebase), while the CUDA
cuMemHostRegister_v2DMA round-trips were measured on9639e57's predecessor — stated as unchanged allocator contract by the author, not re-measured.
Open questions (dated)
- Which CI job actually failed on
9639e57, and whether it passed onf2d03bc— hypothesis (Amendment 4) but no job log was accessible. - Whether non-
EINVAL/ENOSYSpopulation errors now abort startup in practice: the fatal path exists (eos/src/unix.rs:511-529,MappingGuarddrop at:173,selene/src/slab.rs:164-165turns it intoinvalid("allocate host slots: …")) but no end-to-end test exercises it. - The served-workload effect remains unmeasured (Charter #210 /
docs/design-review.md:106-115); only standalone numbers exist. - The cost of the post-fallback whole-range
MADV_NOHUGEPAGEon slabs with a genuine huge-page head (eos/src/unix.rs:693-700) is unbounded from the repo — the 119 GiB run reports 43,454 MiBAnonHugePagestogether withVmFlagsnh, which is exactly the case worth measuring. - Whether the two-consecutive-
compact_stallconfirmation and 2-monotonic-pass design generalise beyond the two reported hosts (one x86_64 two-NUMA, one ARM64 GB10). selene-manager/src/arena.rs(not opened) still advisesMADV_HUGEPAGEunconditionally — now tracked indocs/TODO.txt:5-6, not fixed here.
Could not be found
- CI job logs for
9639e57andf2d03bc(no tool access). - Any benchmark script, raw log, or profiler output backing the 4.15x claim (absent from the diff).
- Any human maintainer position on #625 or #616 beyond the operator's own #616 report.