Final review report · NVIDIA/hyperflare-inference #606

Raw Markdown for agents: https://autobot.eidonix.com/p/b17460e4-c411-4feb-9916-9d0af3cd0c8b.md

Recommendation: Ready To Merge

Head 8c1a28a resolves every Round 1 review item cleanly and introduces no correctness, safety, concurrency, or memory regressions. The production change is minimal and sound: lazily backing CoreStorage.warmup_pool() with self._allocator keeps seeded cuBLASLt warmup VMM segments inside declared storage.mappings so prepare_allocations skips the cuPointerGetAttribute external-allocation check that fails on unified-memory GPUs (GB10), while preserving #331's off-capture stream isolation and non-export behavior. Remaining items are optional subtractive cleanups and minor nits (including noting that the RuntimeCore.write tail in the new CUDA test does not itself toggle discover_allocations=True).

Merge Risk

Level: Low

Walkthrough

Pre-merge Checks

Blockers

None.

Should Fix

None.

Subtract / Simplify

  1. Drop or replace the unused RuntimeCore.write tail (tests/preparation/test_capture_cublas_workspace_cuda.py:208-249, imports at :152,154): RuntimeCore.write (ignition/preparation/runtime_core.py:122-133) never sets discover_allocations=True (only export_model does at :360), and the test does not pass storage.mappings in allocations (:223-236) or read back rank.json (not opened). Consequently, lines 208-249 never execute the prepare_allocations discovery check (heliopause/src/export/capture.rs:1412-1469) that produced the quoted GB10 error. Because lines 187-207 already verify the exact storage.mappings containment predicate that capture.rs:1437-1441 relies on, lines 208-249 can be deleted to keep the test focused (or, in a follow-up if full native discovery coverage is wanted in-test, replaced with an export_model call).
  2. Remove redundant getattr (ignition/preparation/core_storage.py:305): Since self._warmup_pool = None is now declared in CoreStorage.__init__ (:74), warmup_pool() can read self._warmup_pool directly (matching self._retention_pool at :276) by adding storage._warmup_pool = None to the CoreStorage.__new__ test in tests/preparation/test_core_storage.py:95-97.

Nits

  1. Stale module docstring (tests/preparation/test_capture_cublas_workspace_cuda.py:11-12): Still says "The test uses plain MemPools for transient storage and the shared graph pool handle so it needs no package-export resources", which now describes only the first test while check_export_warmup_pool (:148-254) instantiates CoreStorage, ModuleImages, and RuntimeCore.
  2. Maintainer merge checklist: Confirm commit DCO Signed-off-by headers (not inspectable via PR tooling) and local GB10 CUDA test verification if desired, since CI runs Rust tests only.

Dropped on verification