#1 [high] Change: what PR #658 actually does (file-by-file, verified)
PR #658, head f4851b3, base main (packet says rebase base a747a5a5), 5 files, +180/−3. Production ~+27/−3 (ignition/preparation +22/−2, ignition/components +5/−1); tests +153/−0.
-
ignition/preparation/core_storage.py:66-73 (GA10B block, guard
device_window is None and integrated and (major,minor)==(8,7)): EXTERNAL_FLOOR 0x300000000 -> 0x900000000 (36 GiB); DEVICE_BASE 0x1200000000 and RESERVATION_BYTES 48<<30 unchanged. Comment claims external allocations land in "the 24 GiB [0x9_0000_0000, 0xf_0000_0000) range". Class default floor is 0x4000000000 = 256 GiB (core_storage.py:42). -
ignition/preparation/capture.py:52-74
_seed_warmup_workspaces: addsbias = torch.empty((512,), bf16)andout = torch.empty_like(operand); now runs torch.mm(operand,operand,out=out) then torch.addmm(bias,operand,operand,out=out) in the dedicated_warmup_pools[index]pool on the warmup stream, then stream.synchronize(). -
ignition/preparation/capture.py:172-184: after
stream.wait_stream(warm), whengetattr(warmup_storage,"integrated",False): insidewith warmup():(= warmup_storage.transient) allocate probe_buf int8[1], create torch.cuda.CUDAGraph(), captureprobe_buf.zero_()onstream(nopool=arg),del probe_graph, probe_buf; then stream.synchronize() and warmup_storage.seal_low_window(). capture.py:224-227: after eachrecord_export_graph(...)in the exporting branch, reseal again when integrated. Non-exporting/retain_graphs-only path does not reseal. -
ignition/components/sampling.py:125-131:
vocab_idscached_property now does a function-localfrom ignition.preparation.tensor_metadata import record_numeric_tensor, buildsids = persistent_copy(torch.arange(vocab_size, int64, device=histogram.device)),record_numeric_tensor(ids), returns ids. -
Tests: tests/preparation/test_core_storage.py:83-113 (GA10B layout; FakeCuda raises StopAfterWindow to stop init early) and :116-137 (vocab_ids registration, stubs ignition.components.flashinfer_sampling when flashinfer missing); tests/preparation/test_capture_graph_metadata.py:473-569 (two tests: mm+addmm ordering ["mm","addmm","sync"]; probe capture + reseal ordering on a SimpleNamespace storage stub).
Description/change match: yes on all four bullets. Nothing in the diff reverses them.
#2 [high] Claim/evidence: comment and description arithmetic on the 24 GiB window does not add up
core_storage.py:68-70 says external allocations lie in "the 24 GiB [0x9_0000_0000, 0xf_0000_0000) range", and the PR description repeats "the 24 GiB [0x9_0000_0000, 0xf_0000_0000) window below DEVICE_BASE (0x12_0000_0000)".
Arithmetic: 0xf_0000_0000 - 0x9_0000_0000 = 0x6_0000_0000 = 24 GiB, but DEVICE_BASE is 0x12_0000_0000, so the actual usable band between the new floor and the rank-0 device window is 0x12_0000_0000 - 0x9_0000_0000 = 0x9_0000_0000 = 36 GiB, not 24 GiB. 0xf_0000_0000 is exactly DEVICE_BASE - RESERVATION_BYTES (0x12_0000_0000 - 0x3_0000_0000), i.e. the start of the last 48 GiB reservation block, with no special meaning for rank 0.
Also checked: DEVICE_BASE(0x12_0000_0000) + RESERVATION_BYTES(48 GiB) = 0x1E_0000_0000 = 120 GiB, still inside the documented 128 GiB GA10B VMM window (core_storage.py:67), so the raised floor does not overflow the address space.
The upper bound / size in both the code comment and the PR description is unsupported by the constants; the test (tests/preparation/test_core_storage.py:112) only asserts 0x303000000 < EXTERNAL_FLOOR < DEVICE_BASE, so it does not catch the mismatch.
#3 [high] Claim/evidence: cuRAND root cause is asserted, not evidenced anywhere in the repo
The whole justification for the floor change is that cuRAND precalc_xorwow_offset_matrix static tables contain int64 words whose bit patterns fall in [0x3_0000_0000, 0x3_0300_0000] and are mis-scanned as pointers to an external allocation placed at 0x300000000.
Evidence in the tree: none beyond the new comment. grep -i curand returns only ignition/preparation/core_storage.py:69, docs/windows.md:383 (a licence list), ignition/components/sampling.py:241 (an unrelated sampling comment) and the new test name. No fixture dumps the table words; no reproduction log or failing export error message is quoted in the description (contrast #606, whose description quotes the exact native error string).
What the new test does establish (tests/preparation/test_core_storage.py:104-113): integrated (8,7) => EXTERNAL_FLOOR == 0x900000000, DEVICE_BASE == 0x1200000000, RESERVATION_BYTES == 48<<30, and 0x303000000 < EXTERNAL_FLOOR < DEVICE_BASE, i.e. only that the floor sits above the claimed pattern range. That is a restatement of the constant, not a test of the failure mode.
The mechanism the fix relies on is real in code: exported cores record device_address_floor = storage.EXTERNAL_FLOOR (ignition/preparation/runtime_core.py:428) and heliopause rejects retained device allocations below it (heliopause/src/export/capture.rs:3417-3425, "retained device allocation ... is below the restorable address floor"). But that check is not what produces false positives — false positives come from pointer scanning matching an address; raising the floor moves the allocation so the match cannot occur. So the fix is a heuristic that removes one address band; other libraries' static data containing words in [36 GiB, 72 GiB) would still collide. Not stated in the description.
#4 [high] Related work: #606 (open) edits the same three files and the same function as this PR
#606 "fix(ignition): seed warmup workspaces inside export storage pool" (avifenesh, FIRST_TIME_CONTRIBUTOR, opened 2026-11-29, still open, head 8c1a28a, +191/−8; Discord avi7066) changes ignition/preparation/capture.py, ignition/preparation/core_storage.py, tests/preparation/test_core_storage.py, tests/preparation/test_capture_cublas_workspace_cuda.py, docs/preparation-development.md.
Overlap: #606 gives _seed_warmup_workspaces(stream, device, pool=None) a new signature and rewrites its body/docstring at capture.py:52-75 and the call site at capture.py:~119-124; #658 edits the same function body (capture.py:69-73) and the same call site region. It also adds CoreStorage.warmup_pool() in core_storage.py and test_warmup_pool_reuses_one_core_allocator_pool in tests/preparation/test_core_storage.py:83-105 — the same file and neighbouring lines where #658 adds its GA10B test at :83-113. Expect textual conflicts in all three files; the semantics are compatible (different concerns), so it is overlap, not competition.
Context: #606 is the follow-up to merged #331 (Mark Yong, 2026-11-20, "Isolate cuBLAS warmup workspaces from CUDA graph capture"), which is the commit that created _seed_warmup_workspaces (commit 1eb61e81). #658's addmm seeding builds on exactly that function. #331 addressed open issue #266 ("First captured graph keeps a transient cuBLAS split-K workspace: Xid 31 ...", still open).
#606's Autobot review (2026-11-29 18:03) recommended "Ready To Merge" on its head 8c1a28a; it has 4 comments and no human review. Whoever merges second must rebase; the addmm seeding and the warmup-pool plumbing will need to be combined by hand.
#5 [high] Related work: the GA10B block this PR edits was added two days earlier by the same author
git log -- ignition/preparation/core_storage.py: c9935887 "Support integrated GA10B GPUs, adaptive executor parking, and explicit memory limits" (Luke Alonso, 2026-11-27) is the commit that introduced the integrated and (major,minor)==(8,7) block, i.e. EXTERNAL_FLOOR = 0x300000000, DEVICE_BASE 0x1200000000, RESERVATION_BYTES 48 GiB. It landed 2 days before #658 and appears in no PR that search_items can find (no match for its title or for "adaptive executor parking"), so it was likely a direct push to main.
Older lineage for the low-window machinery: 3b8512aa "Keep every external allocation above a serving context's low addresses" (jasonc, 2026-10-13) created seal_low_window/test_low_window.py; cf5cf126-style Windows work (#159 merged, "Windows: prepare, export and serve prepared packages on RTX Spark N1X") and #295 (closed issue, "Windows: cuBLAS handle buffers become pinned external allocations in WDDM's per-process address range") cover the WDDM side; d5c2bd14 / #297 (gmbuell, merged) added the explicit device_window seam and the address-width check.
Read: #658 is a same-author correction of a two-day-old untested-in-CI constant, not a change to long-standing behaviour. The GA10B code path has existed for ~4 days.
#6 [high] Reach: existing reseal sites, probe capture platform gating, and stale docs (256 GiB)
Two independent 2026-11-27/11-29 changes recreated the defect this PR fixes — evidence the "first capture reopens low spans" bug was structurally easy to reintroduce:
- core_storage.py:268-296
transient(): the non-shared branch now doesdel pool; torch.cuda.empty_cache(); # Returned segments may reopen low addresses that later library allocations would take. self.seal_low_window(). So the existing code already knew a pool teardown reopens low spans and resealed there. - core_storage.py:252-254
retain_transient_backing(): resealsif retired_pool. - core_storage.py:130-144
_reserve_low_window(): seals once at construction, then probescuMemAlloc_v2and raisesRuntimeError(f"device allocations still start at {above:#x} below {self.EXTERNAL_FLOOR:#x}")if the driver still hands out a low address.
So the gap #658 closes is specific: a CUDA graph capture (not a MemPool teardown) trims the pre-init slab on unified memory, and nothing resealed after it. The PR adds the reseal after the probe capture (capture.py:184) and after each record_export_graph (capture.py:226-227).
Note the asymmetry: seal_low_window() is a no-op unless self.integrated and os.name != "nt" and is called through getattr(warmup_storage,"integrated",False), so it only fires for real integrated Linux CoreStorage. The probe capture itself is not gated on non-Windows, so on Windows integrated GPUs a probe graph would be captured with no reseal. Minor, but it is an undeclared platform asymmetry.
Docs: docs/runtime-core-design.md:113-116 states "On Linux integrated GPUs, preparation reserves the low address window through 256 GiB without physical backing... Export on either integrated platform rejects reachable external device storage below 256 GiB". The GA10B override to 36 GiB is not documented there or in docs/windows.md:226 (which still says the explicit-window base "must lie at or above EXTERNAL_FLOOR (256 GiB)"). PR does not touch docs — the description says "No core wire format, Protobuf, CLI, or Helios runtime changes", which is true, but it also doesn't mention that docs now disagree with the GA10B constant.
#9 [high] Claim/evidence: CI is CPU-only; the live-SM87 verification predates the rebase
CI on head f4851b3: "passed" per the orientation packet. What CI actually covers: .github/workflows/python-cpu.yml:30-33 runs pytest tests/ -q with CUDA_VISIBLE_DEVICES="" on ubuntu-24.04, so all four new tests are CPU-only by construction, and .github/workflows/native-serving.yml runs only cargo tests (Rust) — it never runs Python/CUDA pytest. So no CI job exercises CoreStorage, CUDA graph capture, cuBLAS, or an actual export.
The PR's own evidence (all self-reported, none reproducible from CI):
- 38 passed, 1 skipped across eight test files on a747a5a5 (Windows-only layout test skipped). 38/1 matches the files named; can't verify without running.
- Live SM87 export of Inkling-2-Mini, core
ga10b-tp1-202612010822, 9 graphs, on Jetson AGX Orin — no log, no artifact link. - Serving check via
flare run --memory-limit -16mon Jetson Orin Nano 8 GB — but explicitly "on a Jetson preparation checkout prior to this rebase onto a747a5a5", i.e. not this commit. - Not run: test_capture_cublas_workspace_cuda.py, test_recorded_export_graph_cuda.py, test_preparation_reclamation.py, test_persistent.py, test_capture_order.py, and a fresh SM87/SM120/SM121 export from a747a5a5.
Charter angle ("Bring real evidence"): the PR names an exact rebase commit, exact test files, passes/fails and a named core id, which is more than most, but the headline claim (works on real Jetson hardware) rests on a pre-rebase checkout, probably because test_preparation_reclamation.py/test_persistent.py/test_capture_order.py need b12x and CI has no GPU. Note also: test_capture_order.py and test_preparation_reclamation.py touch the capture path this PR changes, so the unrun set covers exactly the regressed surface.
#16 [high] Research summary
Case file for PR #658 is gathered across all nine angles; 15 scratchpad entries hold the detail.
What it is. A small, same-author correction (+180/−3; ~+27/−3 of it production code) in three places: a GA10B-only EXTERNAL_FLOOR raise from 12 GiB to 36 GiB (core_storage.py:66-73), a probe graph capture plus repeated seal_low_window() on integrated storage (capture.py:172-184, 224-227), an added torch.addmm seed (capture.py:69-73), and record_numeric_tensor on vocab_ids (sampling.py:125-131). The diff matches the description on all four bullets.
Most important findings a reader could not learn from the description.
- The 24 GiB window arithmetic in both the new comment and the PR description is wrong: the usable band between the new floor (0x9_0000_0000) and
DEVICE_BASE(0x12_0000_0000) is 36 GiB; 0xf_0000_0000 is merelyDEVICE_BASE - RESERVATION_BYTESand has no rank-0 meaning. The new test only asserts an inequality that does not catch it. - The cuRAND root cause is asserted with zero supporting evidence in the repo (no fixture, no log, no quoted error), and the fix mitigates a scanning heuristic rather than removing it.
- Open PR #606 edits the same function (
_seed_warmup_workspaces) and the same three files; it will conflict textually with #658. - The GA10B block being fixed was introduced two days earlier by the same author in commit c9935887 (2026-11-27, no PR found), so this is not a correction of long-standing behaviour.
- Defect #4 (
vocab_ids) is unreachable in-tree — no recipe or Rust code reads it — and the test only checks that the recording call happened. - CI is CPU-only (
CUDA_VISIBLE_DEVICES="") plus Rust-only jobs; the headline live-SM87 verification was run on a checkout prior to the rebase, and the unrun test files are exactly the ones covering the capture path changed here. - Docs (runtime-core-design.md:113-116, windows.md:226) still describe the low window as ending at 256 GiB and were not updated.
- Undeclared: the probe capture is not Windows-gated while the reseal is, and the per-graph reseal now scans 4→36 GiB instead of 4→12 GiB — an unmeasured cost.
- Process: open, ready for review, opened and last touched the same day, no comments and no reviews (the repo's own autobot reviewed #606 within two hours but not this one). Author is a charter-named priority contributor with 35 merges in 180 days and an active Jetson Orin workstream this week.
- Charter: the goals sentence names SM103/SM120/SM121 only, while code and CLI docs name SM87 — this PR follows the shipped code, not the charter text; and "bug fixes need to address the root cause" is in tension with a bit-pattern-avoidance constant.
#17 [high] Key findings: the shortlist the report leads with
Ordered by how much a reader needs it:
- Arithmetic in the new comment and the description is wrong: the band between EXTERNAL_FLOOR 0x9_0000_0000 and DEVICE_BASE 0x12_0000_0000 is 36 GiB, not 24 GiB; [0x9_0000_0000, 0xf_0000_0000) is not "below DEVICE_BASE" as a distinct window — 0xf_0000_0000 = DEVICE_BASE − RESERVATION_BYTES. core_storage.py:68-70; the only assertion is
0x303000000 < EXTERNAL_FLOOR < DEVICE_BASE(tests/preparation/test_core_storage.py:112-113). - cuRAND root cause unsubstantiated: no fixture/log/error string anywhere;
grep -i curandfinds only the new comment, a licence list and an unrelated sampling comment. Fix removes one address band rather than the false-positive mechanism. - Open PR #606 rewrites the same function
_seed_warmup_workspaces(capture.py:52-75) plus the same three files and neighbouring test lines — textual conflict, compatible intent. - The corrected code is 4 days old: commit c9935887 (2026-11-27, same author, no PR found) created the (8,7) block; 3b8512aa (jasonc, 2026-10-13) created seal_low_window.
- vocab_ids has no in-tree consumer (only the new test), so defect #4 is proactive, not observed.
- CI cannot exercise any of this: python-cpu.yml sets CUDA_VISIBLE_DEVICES="" , native-serving.yml is Rust-only. Live SM87 export + Orin Nano serving evidence was gathered on a checkout prior to the a747a5a5 rebase, while the reviewed head is f4851b3.
- Docs untouched and now stale for GA10B: docs/runtime-core-design.md:113-116 and docs/windows.md:226 still say the low window ends at 256 GiB.
- Undeclared platform asymmetry: probe capture is not gated on non-Windows while seal_low_window is a no-op on Windows (core_storage.py:170).
- Cost: seal_low_window called once per exported graph now scans 4 GiB→36 GiB instead of 4→12 GiB; unmeasured (9 graphs => 10 passes on the reported export).
- No review yet at all; author is a charter-named priority contributor.
#18 [high] File map: exact touched regions and their neighbours
ignition/preparation/core_storage.py (production, +4/−1)
- hunk at :66-73 inside
CoreStorage.__init__; guarddevice_window is None and self.integrated and (major,minor)==(8,7); sets EXTERNAL_FLOOR=0x900000000 (DEVICE_BASE 0x1200000000, RESERVATION_BYTES 48<<30 unchanged). Neighbours: class default EXTERNAL_FLOOR=0x4000000000 (:42), LOW_SCAN_START=1<<32 (:44),_reserve_low_window(:130-144),seal_low_window(:164-191), reseal after transient teardown (:296), reseal after retention (:252-254).
ignition/preparation/capture.py (production, +14/−1)
- :52-74
_seed_warmup_workspaces: adds bias + out, runs mm then addmm in_warmup_pools[index]on the dedicated ExternalStream. Neighbours:_warmup_stream(:25-49),_capture_order(:77-79). - :172-184 probe capture + seal, gated by
getattr(warmup_storage,"integrated",False); :224-227 reseal afterrecord_export_graph. Neighbours: call site_seed_warmup_workspaces(warm, device)at :118, warmup loop :158-171, capture loop :187-244,record_export_graphcall :225.
ignition/components/sampling.py (production, +5/−1)
- :125-131
vocab_idscached_property; lazy import of record_numeric_tensor inside. Neighbours:DeviceRequestStatedataclass :66-115,allocate:85-115,admit:133-166.
tests/preparation/test_core_storage.py (+59)
- :83-113 GA10B layout test (FakeCuda raises StopAfterWindow to halt init); :116-137 vocab_ids registration test (stubs flashinfer_sampling only when flashinfer absent). Neighbour: existing Windows host-range test ends at :80.
tests/preparation/test_capture_graph_metadata.py (+94)
- :473-489 mm+addmm ordering; :490-569 probe-capture/reseal ordering with SimpleNamespace storage stub.
Untouched but directly implicated: ignition/preparation/runtime_core.py:428 (device_address_floor=storage.EXTERNAL_FLOOR if storage.integrated else 0), heliopause/src/export/capture.rs:3417-3425 (floor rejection), heliopause/src/export/mod.rs:198, ignition/preparation/tensor_metadata.py:112-115 and :152-207, ignition/preparation/persistent.py:78-81, tests/preparation/test_low_window.py (whole file, uses the class-level floor constant, so unaffected by the per-arch override).
#7 [medium] Reach: vocab_ids is dead code in-tree; the numeric registration is a no-op outside preparation
The only consumer of DeviceRequestState.vocab_ids in the repo is the new test (tests/preparation/test_core_storage.py:135; grep -rn vocab_ids finds ignition/components/sampling.py:126 plus tests only). No recipe, no helios code, no third_party recipe reads it. DeviceRequestState.allocate is called only from tests (tests/components/test_sampling_flashinfer.py:41, test_sampling_score_defaults_cuda.py:30, test_state_transfer.py:43, test_state_transfer_copy_rows_cuda.py:126) plus the new test.
Consequence: the "excludes persistent vocab_ids tables from pointer scanning" benefit cannot be observed in this repository's tested paths — the tensor exists only if a model recipe outside this repo calls state.vocab_ids during preparation (i.e. inside with CoreStorage(...) so that NumericStorage is active: core_storage.py:400-415 pushes numeric_storage.__enter__()).
Mechanism check (tensor_metadata.py): record_numeric_tensor is a no-op when _NUMERIC_STORAGE.get() is None (tensor_metadata.py:112-115), and cache_root reasons aside it works the same as packed_weights.py:62,73. live_metadata (tensor_metadata.py:152-207) marks non-floating tensors opaque unless recorded, so registering an int64 arange is exactly the right lever — the fix is consistent with the design. But the description's "#4 unregistered persistent vocab_ids tensor ... leaving pure numeric vocabulary indices exposed to pointer scanning" is asserted without a failing-export observation, and the new test only asserts record_numeric_tensor was called once with that tensor (test_core_storage.py:133-137) — it does not assert the resulting ranges, nor that export would have failed without it.
Story inconsistency worth flagging: the author reports live SM87 export of Inkling-2-Mini succeeded, yet defects 3 and 4 are described as blocking preparation/export. Since vocab_ids is unreachable in-tree, defect 4 in particular reads as proactive hardening rather than an observed failure.
#8 [medium] Related work: cuBLAS workspace seeding lineage (#331, #266) and the addmm addition
_seed_warmup_workspaces exists because cuBLAS/cuBLASLt cache one workspace per (handle, stream); warmups must not leave that workspace inside the capture pool (capture.py:25-49 docstring, #331, issue #266). The stream is an ExternalStream from cuStreamCreate, deliberately outside torch's round-robin stream pool (capture.py:34-48; asserted by tests/preparation/test_capture_cublas_workspace_cuda.py:99-107).
#658 adds a 512-element bf16 bias and reuses out for torch.addmm(bias, operand, operand, out=out). Shape check: addmm(bias[512], operand[512,512], operand[512,512], out=[512,512]) is valid (betainput + alpha(mat1@mat2)). It warms cuBLAS's epilogue path (bias/beta) variant, which cuBLASLt-style heuristics may give a different workspace/algo than plain mm.
Not covered by any evidence: torch.addmm on bf16 may be dispatched through cuBLASLt rather than legacy cuBLAS depending on torch.backends.cuda.preferred_blas_library(). The PR does not say which backend path it warms, and the CUDA test that would reveal it (tests/preparation/test_capture_cublas_workspace_cuda.py) was not extended or run (description says test_capture_cublas_workspace_cuda.py was not run; CI runs no CUDA pytest — .github/workflows/native-serving.yml is Rust-only, python-cpu.yml runs CUDA_VISIBLE_DEVICES="").
Also: seeding now allocates a second 512-float tensor and keeps the seeded blocks in _warmup_pools[index], a module-level dict never freed. #606 is about moving exactly that pool under CoreStorage ownership; if both land, the admm workspace will live in the CoreStorage-owned pool. That interaction is not discussed in either PR.
#10 [medium] Process & People: open, zero reviews, priority-contributor author, uncommented by the repo bot
PR: open, "ready for review", opened and last updated 2026-12-01 (same day), head f4851b3, base main, 5 files +180/−3, no labels, no reviews, no comments at all (pr_comments returns "No comments.") — notably the repo's own flare-autobot reviewer, which commented on other PRs (#606 got two full reviews within 2 hours), has not posted on #658. Discord handle given: lukealonso.
Author: lukealonso, GitHub association COLLABORATOR, and a priority contributor named in the charter ("Priority contributors (@voipmonitor, @original-el8, @lukealonso) carry extra weight — we never close their PRs out of hand"), with 35 merged PRs in 180 days, 0 closed, 1 other open (#657). Areas: helios/src (25), docs (21), ignition/preparation (10), flare-cli/src (8), heliopause/src (7). Recent same-day merges: #656, #652, #650, #648, #647, #646, #645... i.e. this is a high-velocity maintainer PR stream and #658 is a small correction inside it.
Area ownership in last 180 days (from packet, verified by log): tests/preparation — Luke Alonso 207, Martin Vit 34, jasonc 23; ignition/preparation — Luke Alonso 160, Martin Vit 52, Eugene Rakhmatulin 36; ignition/components — Luke Alonso 108, Martin Vit 58, jasonc 26. Function-level lineage: _seed_warmup_workspaces was authored by Mark Yong (#331), seal_low_window by jasonc (3b8512aa), the device_window seam by gmbuell (#297) — three other people own the neighbouring mechanisms, none has engaged with #658.
Undeclared stacking: #658's description says it was rebased onto a747a5a5, but the PR's head at review time is f4851b3; no evidence in the description of which main state that is, and #647/#648 (adjacent export/preparation work, 2026-11-30) merged the day before — the PR body's "CPU preparation tests on a747a5a5" therefore may not correspond to the reviewed head. Worth asking for a re-run on f4851b3.
#11 [medium] Project fit: charter names SM103/SM120/SM121, code and docs name SM87
Charter (read via read_charter) lines relevant here:
- Goal: "Prepare supported model recipes with Ignition and serve captured CUDA graphs from Rust on SM103, SM120, and SM121." GA10B/SM87 Jetson Orin is NOT one of the three named serving targets, while parity docs elsewhere say otherwise: docs/cli-design.md:6 "Flare serves the model architectures its recipes support on NVIDIA SM87, SM103, ...", ignition/cli/init.py:90 "Prepare native runtime cores for NVIDIA SM87, SM103, SM110, SM120, and SM121 GPUs", ignition/planning.py:38 SUPPORTED_ARCHITECTURES = "SM87, SM103, SM110, SM120, or SM121". So the charter text lags the code, and this PR is more aligned with the shipped code than with the charter sentence.
- Non-goal: "Broad production coverage across arbitrary models, GPUs... requires maintainer sign-off". A GA10B-only
EXTERNAL_FLOORconstant is a per-GPU special case inside shared preparation code — the same class of thing the charter's "Keep the runtime small and model-agnostic"/"No per-model special cases or flags" language targets, though that clause is about the runtime layer, and the precedent (c9... , the (8,7) block itself, plus Windows/WDDM branches in the same file) is already established. - "Bring real evidence: ... Bug fixes need to address the root cause; don't just swallow, skip, or retry an unexplained error." Raising a floor to dodge a bit-pattern collision is a mitigation of a scanning heuristic; the root cause is that pointer scanning treats integer-looking words in read-only library data as pointers. Compliance is arguable and the PR does not argue it.
- "PR descriptions: Expect four parts: why / what changed / claimed result / evidence." #658 has all four, explicitly labelled, plus a Limitations section.
- "Respect contributors": lukealonso is a named priority contributor — extra weight by charter.
Reach on operators: the GA10B winning is a preparation-side constant only; prepared cores keep their recorded floor via device_address_floor in the exported metadata (runtime_core.py:428 → heliopause/src/export/mod.rs:198), so no CLI flag, no config, no wire change (description's compatibility claim holds). Existing GA10B cores exported with the old floor stay loadable but keep the old 12 GiB floor; nothing re-exports them — an operator who already hit the cuRAND collision must re-prepare.
#12 [medium] Recent activity: an active GA10B/Jetson-orin thread this week; no competing fix exists
Wider GA10B / Jetson Orin line of work in the last week, all by lukealonso unless noted — #658 sits in a continuous stream rather than being a one-off:
- c9935887 2026-11-27 direct push "Support integrated GA10B GPUs, adaptive executor parking, and explicit memory limits" — introduced the (8,7) block #658 edits.
- #589 (merged) "Fix CUDA 12 batched copies, Linux ARM64 release portability, and Selene unified-memory budgeting" — "KV allocation already consumes ... on unified-memory SoCs (8–32 GiB Jetson Orin or any integrated GPU with --memory-limit)"; notes HOST_NUMA VMM is unsupported on GA10B and Windows WDDM.
- #497 (merged, FujitsuPolycom) "Reduce disk offload restore latency and integrated-memory intake overhead" — evidence includes "live Jetson Orin GA10B / --memory-limit GPU serving".
- #598 (merged) "core: recognize all known Ampere and Blackwell GPU platforms" — ga10b in helios/src/core/naming.rs:16,158, platform_from_capability(8,7)=ga10b.
- #652 (merged) and #656 (merged) both cite Jetson Orin Nano 8 GB runs under
flare run --memory-limit -16m— the same device/setup #658 uses for its serving check, so the hardware is in active use by this author this week. - #630 (open issue) "GB10 unified memory: KV budget and cuCtxCreate respond to page-cache-polluted MemFree, not MemAvailable" — a separate, unresolved unified-memory sizing complaint; the same class of integrated-GPU accounting fragility, different symptom. Not fixed or referenced by #658.
- #323 (closed), #122 (closed) — earlier unified-memory headroom configurability work; #331/#266 cuBLAS workspace lineage. Docs already carry the GA10B caveats elsewhere: docs/prefix-cache-offload.md:586 ("allocation is unsupported ... such as Windows WDDM and integrated Tegra/GA10B"), selene/src/offload.rs:695, helios/src/runtime_core/memory.rs:25.
No competing PR proposes a different fix for the GA10B floor or the post-capture reseal; no PR reverts or supersedes #658.
#13 [medium] Claim/evidence: what the four new tests do and do not assert
tests/preparation/test_capture_graph_metadata.py:490-569 test_capture_forwards_integrated_storage_probes_and_reseals_low_window: builds a SimpleNamespace storage with integrated=True, transient=contextmanager, seal_low_window=lambda: events.append(...), monkeypatches torch.cuda.CUDAGraph/stream/graph/synchronize/mem_get_info/memory_allocated/memory_reserved, capture._warmup_stream, capture._seed_warmup_workspaces, then asserts events from probe_capture onward equal [probe_capture, transient_exit, stream_sync, seal_low_window, serving_capture, seal_low_window, serving_capture, seal_low_window].
What it verifies: ordering only — that the probe is captured inside transient storage, the stream is synchronized, and reseal runs before the first serving capture and after each exported graph. What it does not verify: that a real probe capture actually trims CUDA's slab, that seal_low_window actually closes spans, that pool= is omitted so the probe capture stays out of the graph pool, or that replay is still correct on hardware. The probe capture passes no pool=, so torch.cuda.graph uses torch's default (a side pool); the test cannot tell.
tests/preparation/test_core_storage.py:83-113 test_ga10b_integrated_window_places_external_floor_above_curand_table: monkeypatches get_device_properties to report is_integrated/major 8/minor 7/total_memory 8 GiB and replaces core_storage._Cuda with FakeCuda that raises after recording, so CoreStorage.__init__ stops right after the constants are set; asserts the three constants. It does not construct the native allocator, does not run _reserve_low_window, so it cannot observe the "allocations still start at ... below floor" guard treating a 36 GiB floor as satisfiable on an 8 GiB device. Worth noting: total_memory=8<<30 with EXTERNAL_FLOOR=36 GiB means the floor exceeds physical memory — that is fine for VMM addressing but the test never checks the allocator accepts it.
tests/preparation/test_core_storage.py:116-137 test_device_request_state_vocab_ids_records_numeric_tensor: stubs ignition.components.flashinfer_sampling only when flashinfer is absent (and pops ignition.components.sampling from sys.modules), then asserts record_numeric_tensor was called once with the arange tensor. Fragile in a GPU CI environment: if flashinfer IS installed it takes the real import path, requiring real triton/flashinfer at import time.
tests/preparation/test_capture_graph_metadata.py:473-489 test_seed_warmup_workspaces_warms_both_mm_and_addmm: monkeypatches torch.mm/torch.addmm to record and delegates to the real ones on 'cpu' tensors; asserts events == ["mm","addmm","sync"]. Solid for ordering, says nothing about cuBLAS workspace identity.
All four are CPU unit tests; none asserts the actual defect each claims to fix reproduces without the patch (no regression test that fails on main).
#14 [medium] Reach: cost of the repeated reseal at a 36 GiB floor, layering, and unchanged docs/deps
The PR touches cuBLAS/cuBLASLt, triton/flashinfer imports, CUDA VMM (cuMemAddressReserve) and CUDA graphs. It changes no dependency pin, no requirement, no build file, no Protobuf, no CLI flag, no config default, and no Rust crate — consistent with the description's compatibility claim. record_numeric_tensor is imported lazily inside the property (sampling.py:127), so it adds an ignition.preparation dependency to ignition.components at call time — the same direction as ignition/components/engram.py:19 importing ignition.preparation.persistent at module scope, so it is not a new layering violation, but it is a new cross-layer import in sampling.py.
Wire/format: the exported core records device_address_floor (heliopause/src/export/mod.rs:198) which is already a metadata field; nothing new is added. Old cores keep their old floor. So: no compatibility break either way.
Deployment: affects only preparation on Linux integrated (8,7) GPUs. The probe capture adds one extra graph capture + synchronize per export and one seal_low_window() per exported graph on integrated storage. seal_low_window walks in granule steps from LOW_SCAN_START (4 GiB) to EXTERNAL_FLOOR, taking the halving path over free runs (core_storage.py:164-191); with the floor raised from 12 GiB to 36 GiB the scan now spans 4→36 GiB per call, and it is called once per exported graph. The existing test asserts a call-count bound (tests/preparation/test_low_window.py:73, < 2 * (context[1] // GRANULE) + 50) only for a 12 GiB-floor fixture using the class constant, so the cost at the 36 GiB floor on Orin is unmeasured. On a 9-graph export that is 10 seal passes over a 32 GiB span. Not quantified anywhere in the PR — the only claimed results are correctness, not time; flare run --memory-limit -16m result is cited as a smoke test.
Docs: no doc updated, though docs/runtime-core-design.md:113-116 and docs/windows.md:226 continue to describe the low window as ending at 256 GiB. Because the GA10B override is per-arch, docs are incomplete rather than wrong.
#19 [medium] The change in plain terms and its size
Plain terms. When Ignition exports a prepared core, it copies GPU memory out and follows pointer-shaped words to decide what else must be copied. To keep that safe on unified-memory GPUs (where the serving process puts its own driver storage at low addresses) preparation reserves every free virtual-address span below a floor, so library allocations are pushed above it. PR #658 (a) moves that floor on Jetson Orin (GA10B, capability 8.7) from 12 GiB to 36 GiB because, it says, cuRAND's static offset tables happen to contain 64-bit words that look like pointers into 12 GiB; (b) notices that the first CUDA graph capture on such a GPU frees part of CUDA's low slab and reopens exactly the spans just sealed, so it runs a throwaway one-byte graph capture first and reseals, and reseals again after each exported graph; (c) also runs a small addmm in the pre-capture warmup so cuBLAS's bias-epilogue workspace is created off the capture stream rather than inside the captured graph; and (d) marks the persistent arange(vocab_size) token table as numeric so the exporter does not scan it for pointers.
Size. 5 files, +180/−3. Production: core_storage.py +4/−1, capture.py +14/−1, sampling.py +5/−1 (27 added, 3 removed). Tests: +153/−0 in two files, four new CPU tests. No new files, no deleted files, no dependency, CLI, config, Protobuf or Rust change. Builds on #331's _seed_warmup_workspaces, jasonc's seal_low_window, and the author's own two-day-old GA10B support commit.
#15 [low] Leads followed/dismissed: packet item-by-item verdicts
Followed or dismissed every orientation-packet lead:
- #606 (open) — followed; recorded as overlap/conflict (entry 4). Same three files, same function
_seed_warmup_workspaces. - #630 (open issue, GB10 unified memory KV budget vs MemFree) — followed; same hardware family, different subsystem (sizing, not export addresses). Nothing shared with #658 except "unified memory is fiddly". Entry 12.
- #647 (merged) "Fix externalized core signing, stream-0 weight race, export I/O, and multi-host tuning" — followed; touched core_storage.py 2026-11-30, one day before. Different region (no overlap with the (8,7) block or seal_low_window). No conflict.
- #323 (closed), #122 (closed) — unified-memory headroom configurability. Not about export address floors; not relevant beyond background.
- #581 (merged, USE_NODE_PRIORITY) — baseline the new capture test's
record_export_graphpath; #658's reseal is added immediately after that call site, so it stacks cleanly. Not a conflict. - #589 (merged) — CUDA 12 batched copies + Linux ARM64 + Selene unified-memory budgeting; relevant as same-hardware ARM64/Jetson work, not overlapping code.
- #331 (merged, cuBLAS warmup workspace isolation) — the function #658 extends; issue #266 still open.
- #425 (merged) "Order Compiled Forward Warmup by Largest CUDA Allocation Request" — the
_capture_order/allocation_ordermachinery in capture.py:77-79, upstream of the code #658 edits; unaffected. - #304 (merged) DGX Spark NVFP4 — unrelated.
- #295 (closed issue, WDDM pinned external allocations) — the Windows counterpart of the same low-address problem; #658's seal is a no-op on Windows (core_storage.py:170).
- #270 (open issue, GB10 TP3 tuning) — different failure (kernel tuning scratch), not relevant.
- #657 (open) — the author's other open PR, different subsystem.
- #652, #641, #655-ish recent commits in the areas — background; #641 ("Resample host memory after flushing CUDA cache in CompilePool") touches the memory-reservation philosophy but not this code.
- Orientation's "Recent activity" list itself (f2ca2c41, 7e9f9634, 8da73911, e80b1f2f, eee6a9fa, f7d6428f, 9a054b49, a39f6777, 555db719, c146d7be) — checked for capture.py/core_storage.py/sampling.py drift; the only ones that touch the exact edited regions are 555db719 (#648 b12x migration, core_storage.py) and f2ca2c41 (#647, core_storage.py); neither touches the (8,7) floor or
_seed_warmup_workspaces. - Community: pr_comments empty; no human reviews; no bot review unlike #606. Nothing to record beyond entry 10.
#20 [low] Correction to entry 5: garbled commit reference
Entry 5 contains a garbled token ("cf5cf126-style Windows work") that should read: the Windows side of the same low-address problem was handled by #159 (merged, "Windows: prepare, export and serve prepared packages on RTX Spark N1X", R4yHarris) and by closed issue #295 (gmbuell, "Windows: cuBLAS handle buffers become pinned external allocations in WDDM's per-process address range"). The explicit device_window seam and address-width check came from d5c2bd14 = PR #297 (gmbuell, merged). No commit cf5cf126 was verified; ignore it.
Lineage summary to use instead: 3b8512aa (jasonc, 2026-10-13) created seal_low_window and tests/preparation/test_low_window.py; #297 added the device_window seam; #159/#295 cover WDDM; c9935887 (lukealonso, 2026-11-27) added the GA10B (8,7) block that #658 corrects.