Explore report · NVIDIA/hyperflare-inference #606

Raw Markdown for agents: https://autobot.eidonix.com/p/4302bde1-c006-4c07-891e-a7a3c0bba86e.md

Case file: PR #606 — fix(ignition): seed warmup workspaces inside export storage pool

Author: avifenesh (FIRST_TIME_CONTRIBUTOR, Discord avi7066) · branch fix/ignition-export-warmup-pool, head 2535841, base main (branched at 44f59df) · open, ready for review, 1 commit, 4 files, +101/−5 · no labels, no reviews, no comments, no reactions, no CI checks on the head.

https://github.com/NVIDIA/hyperflare-inference/pull/606

Key findings (what the description does not tell you)

  1. It partially reverses a deliberate design decision merged one week earlier in #331 ("Isolate cuBLAS warmup workspaces from CUDA graph capture", mark-yong, merged 2026-11-20, commit 1eb61e81). #331's stated invariant was that the cuBLASLt warmup seed lives in a module-owned MemPool whose backing outlives "transient storage, caller-owned pools such as CoreStorage's, and the exported graph pool" (PR #331 "What changed", bullet 3; the old wording survives in the rewritten docstring's history at ignition/preparation/capture.py:53-63). #606 moves the export path into a CoreStorage-owned pool and cites #331 nowhere.
  2. No linked issue, no linked report, no reproduction. The body says the native-export rejection was "observed on NVIDIA GB10 / DGX Spark" but links no issue, log, error text or command. The nearest real defect is #266 (open, P1, calvarado2004, 4× DGX Spark GB10) — the first-captured-graph cuBLAS workspace fault that #331 fixed — which #606 neither references nor re-tests. AGENTS.md:165-169 requires "a demonstrated defect" for a contribution.
  3. The _preparation_pools registration changes export content, not just ownership. CoreStorage.unused_ranges() (ignition/preparation/core_storage.py:319-334) sweeps torch.cuda.memory_snapshot segments whose segment_pool_id is in _preparation_pools and returns padding and inactive-block ranges. export_model feeds those ranges into both inactive and zero_ranges (ignition/preparation/runtime_core.py:300-301), which the native exporter uses to split allocations and to zero/skip content (heliopause/src/export/capture.rs:1471-1490 live pieces, :1305 without_zero_ranges). So adding the warmup pool id shifts what the exported core carries — undeclared in the description.
  4. The new GPU test does not test what the claim needs. tests/preparation/test_capture_cublas_workspace_cuda.py:123-173 uses a plain torch.cuda.MemPool() plus a SimpleNamespace with warmup_pool=lambda: export_warmup — no real CoreStorage, no assertion that the seed lands inside CoreStorage.mappings. This is exactly the objection #331's reviewer yatesdr raised about #331 (2026-11-18: "the test uses a plain torch.cuda.MemPool; an export keeps warmup memory in CoreStorage retention, which the test never touches … post one export with the out-of-allocation pointer check from #266"), and it recurs here unaddressed. The "inside declared core mappings" claim rests only on the unposted GB10 export runs.
  5. In the export path the module-level pool is never created at all now (capture.py:67-70 is skipped when pool is passed), so an export process holds one warmup pool (~34 MiB/rank) instead of two. Retention is moved, not added — but the description does not say the old pool disappears.
  6. No statement about already-exported cores. The description does not say whether cores exported before this change on unified-memory GPUs still carry the unowned segment and need a re-export. #331's reviewer required exactly such a sentence for the analogous change (yatesdr, 2026-11-19: "the description should say that cores exported before this change … need a new export"), and #331's final description carries it.
  7. The 2 MiB / 32 MiB figures are pool segment sizes, not request sizes. The seed (capture.py:72-73) requests a 512×512 bf16 operand plus empty_like — 1 MiB of tensor bytes total.
  8. Doc drift: docs/preparation-development.md:88-91 still says only that with warmup_storage "eager warmups allocate from its transient pools and release them before capture"; the PR changes where the warmup seed lives and does not update it.

The change

4 files, +101/−5, one commit 2535841 (production code 23 lines):

The why

CoreStorage is a CUDA-VMM-backed preparation storage; its device window is declared to the native exporter as preserve_address=True allocations (ignition/preparation/runtime_core.py:308-310) with discover_allocations=True (runtime_core.py:360). Allocation discovery classifies recorded-but-undeclared device segments as external-N allocations (heliopause/src/export/capture.rs:1331-1380) and validates each by cuPointerGetAttribute memory kind and owning context against the serving context, rejecting with "external allocation {addr}+{size} is not device memory in the serving context" (capture.rs:1463). On integrated GPUs CoreStorage additionally reserves everything below EXTERNAL_FLOOR, with a special (8,7) GA10B window (core_storage.py:60-70, :126-187). So the described failure mode is consistent with real code paths — but I could not find a report, log or issue of it anywhere in the tracker, and the GB10/DGX Spark platform named is squarely in the charter's target set. Open tracking issue for this exact class of defect: #266; the detection mechanism that would catch it at export time is #332 (open, mark-yong, "Report unresolved kernel argument address candidates during export"), which #606 also does not mention.

Recent activity in the areas

ignition/preparation: Luke Alonso 156 commits / 180 days, Martin Vit 52, Eugene Rakhmatulin 36. tests/preparation: Luke Alonso 204, Martin Vit 34, jasonc 23. Immediately preceding commits to the touched files include a39f6777 (2026-11-28, "Fix silent export corruption in AOT lowering, zero-init downloads, and drafter scope"), c9935887 (2026-11-27, integrated GA10B support — relevant because core_storage.py:60-70 now carries an integrated-GPU address window), 3e2fcd27 (GC deferral, touched capture_forwards), f377dc85 (removed joint kernel tuning), ea756eef (#425), 1eb61e81 (#331). The packet reports no commits on main since 44f59df touching these four files, so there is no merge conflict today.

People

avifenesh is a first-time contributor and is not among the contributors the charter names (@voipmonitor, @original-el8, @lukealonso). Their 180-day record: #605 (open, ForwardCache source hash, 2026-11-29), #567 (closed, resident prefixes on ordinary completion, 2026-11-28), 0 merged. #606 is their second open PR in two days, both in ignition/preparation-adjacent code. The people who own or review this area and who one would expect to be pulled in: mark-yong (author of #331 and #332, Discord myong_acct), yatesdr (standing reviewer of the warmup-workspace contract, ran the GB10 A/B on #331), FujitsuPolycom (independently exported DeepSeek V4.1 on 4× GB10 for #331), calvarado2004 (reported #266 on 4× GB10), Luke Alonso and Martin Vit (commit volume). None of them has engaged on #606, and the author did not link the PR into the #266/#331 thread.

Community

Zero comments, zero reviews, zero reactions, no labels, no CI checks; opened and last updated in the same minute (2026-11-29 16:28). Interest so far: none beyond the description.

Project fit

Claims and evidence

Claim What backs it What is missing
Fixes native export rejection on unified-memory GPUs The rejection path is real (capture.rs:1331-1380, :1463); GB10 export runs asserted No issue, no error text, no command, no log; unreproduced outside the author's host
35 passed, 1 skipped across 5 named test files Command with FLARE_RUN_CUDA_TESTS=1 is given Not runnable here (needs CUDA + flare_heliopause); no CI on the head commit
End-to-end 75/79-graph Qwen3.8 runtime-core exports succeed on spark-b23d Asserted Recipe/checkpoint live in the external recipes repo; no pointer-scan output (#266's check), no flare run serving replay
"Both allocations stay inside declared core mappings" Asserted for exports only No test asserts CoreStorage.mappings coverage; the GPU test uses a fake storage and a plain MemPool (Key finding 4)
Non-export capture behaviour preserved Verified by reading capture.py:118-122; the 2-arg call and all CPU stubs still match —
Retained memory implication Not stated #331's reviewer required the retention cost be stated; here the cost is moved from module pool to CoreStorage and not mentioned either way

Reach

Export/preparation path only, on integrated (unified-memory) GPUs; each rank owns an independent CoreStorage, so multi-rank behaviour is independent by construction (as the description says). Adds one long-lived MemPool per CoreStorage (one fewer module pool in export processes), changes exported allocation content slightly via unused_ranges() → inactive/zero_ranges, and touches no CLI flag, config default, dependency or metadata schema. Documentation is not updated (docs/preparation-development.md:88-91).

Process

Open and self-declared ready for review; one commit; no CI checks; no reviews; no labels. The description satisfies AGENTS.md's four-part content requirement (why / what changed / claimed benefit / evidence + limitations, AGENTS.md:114-140) and carries the mandatory Discord: line (AGENTS.md:142-153). Signed-off-by could not be verified from here; it is a recurring blocker in this area (yatesdr raised it on #331 and on #332).

Open questions

  1. Is the native-export rejection reproducible, and on which stack? Does an export of a core produced before this change still carry the unowned segment (i.e. is a re-export required)?
  2. Does the warmup seed landing in a _preparation_pools segment change the exported byte content in a way reviewers must approve (runtime_core.py:300-301)?
  3. Is reversing #331's "outside any caller-owned pool" invariant an accepted design change, and should #331/#266 be updated to say so?
  4. Should the validation instead be a real-CoreStorage GPU test plus the #266 pointer scan on a 4-rank GB10 export (what #331's reviewer required)?
  5. Why is the _warmup_pool attribute created via getattr rather than declared in __init__ like _retention_pool (core_storage.py:73)?

Not found / not relevant: no issue, discussion, or benchmark in the tracker corroborates the specific GB10 export failure; no competing fix; #410, #432, #420, #404, #297, #246, #509, #479, #474, #465, #427, #408, #262, #245, #222, #122, #110 only overlap at file level and are not on this topic.