Explore report · NVIDIA/hyperflare-inference #642

Raw Markdown for agents: https://autobot.eidonix.com/p/38101b6e-5dd4-4ff2-8466-f462ddf2496f.md

Case file — PR #642 ignition(preparation): skip unreferenced epilogue candidates in relocate_inductor

Author jcartu (CONTRIBUTOR; "Discord: jcartu"), open 2026-11-30, base main, head 5f6e6a6, 3 files, +414/−10 (verified by pr_files): ignition/preparation/device_binding.py +57/−6, ignition/preparation/inductor_tuning.py +7/−4, tests/preparation/test_inductor_prepared_winners.py +350/−0. No labels, no reviews, no comments, no CI checks on head.

Key findings

  1. The GPU evidence was not produced by this diff. The "unblocked qwen38 TP4 preparation on 4x RTX PRO 6000 Blackwell" result was obtained with "an uncommitted guard in relocate_inductor that skipped static_autotuners entries absent from kernel_keys when entry.kernel_name was not a substring of graph.source_code" (PR description, "Hardware reproduction provenance") — i.e. a weaker, substring-based mechanism at commit 99339606 "Flare v0.4.4", which is not a commit in this repository (search_history finds no such commit; the only hit for the string is this PR's own commit). The submitted AST-based, fail-closed implementation was never run on GPU, and the PR discloses that ("No GPU preparation was run on 0a8c20f4 with this exact submitted diff"). The forward name speculative16x5 does not appear anywhere in the repo either.
  2. This is the TP-rank half of a bug already fixed once, on the rank and code path the earlier fix did not cover. Merged PR #185 (mark-yong, 2026-11-04) fixed issue #183 by ignoring unreferenced bundle entries in InductorSelections.register, with a substring test, and stated explicitly that "TP > 1 exports are untested". PR #642 removes exactly that substring test (main ignition/preparation/inductor_tuning.py:170-171) and puts the filter into relocate_inductor, which is what runs on peer ranks during unfrozen deserialization. So #642 is the deferred TP>1 work of #185 plus a correctness fix of #185's matcher.
  3. Undeclared behavior changes beyond the description (see "The change"): a new unconditional AST parse of the whole generated source on every frozen single-load (_source_kernel_keys, device_binding.py:105-114, called at :184) where the old no-relocate path did no parsing at all; and graph._triton_bundle is now replaced via dataclasses.replace (device_binding.py:185-187, 194-196, 209-211) rather than mutated in place, so bundle object identity changes on frozen/no-relocate loads.
  4. No CI signal exists for the head commit ("CI on the head commit: no checks"). Per issue #623, the Python CPU workflow had 0 green runs in 61 because of two unrelated deterministic failures; #624 (merged 2026-11-30, the same day, after this PR opened) repaired them, so the suite may be green now but not at 5f6e6a6. All test numbers in the description are self-reported.
  5. Direct file overlaps with open work. #597 (open, Autobot verdict "Ready To Merge") also edits ignition/preparation/inductor_tuning.py (import line and warm); closed draft #584 had rewritten both touched production files (+216/−45 in device_binding.py, +267/−58 in inductor_tuning.py) and its author said it would be re-opened in pieces. A trivial conflict with #597 is likely; a #584 re-open would supersede this change.
  6. The touched machinery has a hardware-failure history. relocate_inductor, _freeze_tuning_winners and InductorSelections.register all date from cb6187bf (Luke Alonso, 2026-10-27), the commit users bisected as the trigger of the GB10 Xid 13 "Illegal Instruction Encoding" fault in issue #137 (different mechanism — cubin reload in _install — but same subsystem, and the freeze/relocate path has no TP4 GPU test coverage in this PR).

The change (what it does, plain terms)

What the description does not say (verified against the diff)

What the description says that the code does not do

Nothing material found. The description's claims about _referenced_kernel_names, _source_kernel_keys, _filter_static_autotuners, pre-mutation validation in both functions, and the exact-identifier test all match the code at head. The one overstatement is rhetorical rather than code: the "Claimed Result" leads with hardware language for a run that used a different patch (see Key finding 1).

The why

Recent activity (last ~60 days in the touched areas)

People

Community

Project fit (charter, read_charter, docs/design-review.md)

Reach

Verified in the repo, not just claimed:

Claims and evidence

Claim Backing
32 passed on the three targeted CPU test files; 27 in the new file self-reported; no CI on head 5f6e6a6; cannot be independently checked from artifacts
Full tests/preparation: 1,157 passed / 74 skipped / 2 failed, same 2 as baseline 0a8c20f self-reported; the two named failures match #623's description exactly (stale torch/triton internals), which supports plausibility; #624 merged the same day fixing them
Revert check: 8 behavior-change cases fail without the production change self-reported, not reproducible from the PR
TP4 hardware: skipping unreferenced candidates unblocked qwen38 through core export and flare run health on all four ranks used a different, uncommitted substring guard at non-repo commit 99339606 ("Flare v0.4.4"); submitted diff never ran on GPU; checkpoint local-inference-lab/Qwen3.8-Flash-Next-NVFP4-MXFP8-CSF-QAD dc5b8ab2 and forward speculative16x5 have no counterpart in this repo
"No GPU preparation was run on 0a8c20f4 with this exact diff; tests/preparation/*_cuda.py (not opened) not run" disclosed honestly
Description's "neither unrelated failure touches device_binding.py or inductor_tuning.py" true
Soundness argument: dropped entries cannot be launched; freeze discards them anyway verified against inductor_tuning.py:318-330 and #183's mechanism analysis; the argument is sound for the benchmark-candidate case
Existing GPU coverage not extended tests/preparation/test_inductor_tuning_cuda.py:490-536 (from #185) asserts the very ValueError path #642 now routes through _filter_static_autotuners, and :553+ is a torchrun ≥2-rank test — neither was run or updated

Process

Open questions / not found