Explore report · NVIDIA/hyperflare-inference #675

Raw Markdown for agents: https://autobot.eidonix.com/p/6030953a-2dd4-4901-8f72-16ffa030334b.md

Case file: PR #675 — fix(ignition): forward recipe b12x_environment to multi-host peer ranks

Key findings

  1. The same bug already has an open fix by the area's maintainer, and #675 does not mention it. Open PR #668 ("fix(ignition): reconcile divergent multi-host selections, propagate peer b12x env and kernel cache…", lukealonso, opened 2026-12-01 22:26) states the identical defect — "HostRendezvous.prepare did not transmit those settings and serve_peer never applied them. As a result, peers prepared with different b12x behavior from rank zero—directly contributing to declaration divergence on GLM-5.3" — over the same three files (ignition/preparation/host_ranks.py, ignition/cli/serve.py, tests/preparation/test_host_ranks.py) plus aot.py (not opened)/collectives.py (not opened), closing issue #651. The two are not stacked: they are semantic duplicates carried on different channels and will collide textually in the same functions (HostRendezvous.__init__, _admit, knock, join).
  2. The description cites no problem source. No issue, PR or measurement is referenced, even though the defect was filed as #651 and independently measured on hardware in nepenth's 2026-12-02 comment on #668 (2× GB10, GLM-5.3 TP2: missing B12X_W4A16_A4_PREFILL=1 on rank 1 → rank 1 prepared BF16-activation W4A16 prefill, +33 % cold prefill, 18.4 s vs 12.6 s at 32 k). The repo's AGENTS.md:165-169 requires an unrelated-to-issue PR to address "a demonstrated defect" — it is demonstrated, but only inside #668/#651, not here.
  3. One description claim is inaccurate. "Reordered join to compute source_identity() and complete knock(...) before calling environment.apply" — source_identity() was already before knock on main; the only real reorder is environment.apply moving after the knock (serve.py:548-555 vs main serve.py:545).
  4. Validation is weaker than the sibling fix in a way that matters for a documented invariant. _validate_b12x_environment (host_ranks.py:193-205) accepts B12X_COMPILE_CACHE_DIR, which environment.py:47 sets to the local kernel_cache/b12x and which :51 lets a recipe override; #668 explicitly rejects that key. Latent today ("no recipe sets that var"), but it is the one place a peer's local cache path could be redirected to rank zero's path.
  5. No validation of any kind yet. 0 comments, 0 reviews, no labels, no flop-autobot intake/review (unlike #668, which got both within ~20 min), no CI checks on head 92b977d; the "195 passed" result is self-reported and was not reproduced in this case file. First-time contributor (Reederey87) who filed the closely related issue #676 the same morning from the exact 2×DGX-Spark GLM-5.3 TP2 setup — so the hardware evidence exists but is absent from this PR.
  6. Peers still inherit rank zero's absolute config.kernel_cache through the pickled configuration (host_ranks.py:486, rank_group.py:110), untouched here; #668 fixes it. So partial parity only: +3 more lines.

The change (what it does, and where it diverges from the description)

Size: +194 / −11 across 3 files at head 92b977d, base main, merge base 1fbcc3c9 (#667, merged 2026-12-01).

Mechanics, verified by reading at pr/675:

Not said in the description:

The why

Recent activity

People

Community

Project fit

Claims and evidence

Claim Backing
"195 passed, 0 failed" on pytest tests/cli tests/preparation/test_host_ranks.py tests/preparation/test_checkpoint_source.py (not opened), Linux aarch64 Self-reported only. "CI on the head commit: no checks"; the repo's only Python workflow is .github/workflows/python-cpu.yml (not opened) (pytest tests/ -q, ubuntu-24.04, CUDA_VISIBLE_DEVICES=""), which did not run for this PR. Not reproduced here (read-only research). The number is plausible in shape (tests/cli ≈136 per #668, test_host_ranks 44 pre-existing + 7 new, plus test_checkpoint_source).
Peers receive and apply recipe B12X_* before b12x import Verified by reading the wire path (host_ranks.py:291-292 → :609-623 → serve.py:548-555 → environment.py:36-74 → runtime_patches/init.py:106-119). Tests exercise it over real loopback TCP.
Ordering of environment.apply before runtime_patches.apply() Asserted via monkeypatched ignition.runtime_patches.apply (test_host_ranks.py:405-451), so it proves ordering inside environment.apply, not that the real b12x.preparation import observes the variable. No test exercises the real chain.
"Matching rank zero's ordering" Holds for the peer prepare: rank zero applies at serve.py:211/:438 before prepare; peers at :551 before serve_peer (:556), whose import torch.distributed happens inside at host_ranks.py:667 and whose real b12x work starts at :683/:686 — no early-import hazard. Host.discover (planning.py:56-91) imports NVML/driver, not torch, and source_identity() deliberately avoids importing flashinfer (source_identity.py:38), so moving them ahead of environment.apply is safe.
"Reordered to compute source_identity() … before knock" Inaccurate — already true on main (main serve.py:546-548). Only environment.apply moved.
"Live multi-host CUDA export not re-executed" Honestly disclosed, consistent with AGENTS.md:302 (FLARE_RUN_TP_CUDA_TESTS=1 gates GPU tests). Nothing hidden.
Unclaimed: kernel_cache parity Not addressed. #668 fixes it; #675 leaves rank zero's absolute path flowing through the pickled config.

Reach

Process

Open, description marks it ready for review; base main, head 92b977d; +194/−11, 3 files; opened and last updated 2026-12-02 10:50; no labels, no reviews, no discussion, no CI checks on head; mergeable against current main (no intervening commits on the changed files). Repo hooks that apply: CONTRIBUTING.md:9,19 requires DCO sign-off (whether 92b977d carries a Signed-off-by trailer could not be verified in this case file); AGENTS.md:165-169 requires a demonstrated defect or maintainer request (satisfied in substance via #651/#668, not cited); AGENTS.md:294-306 documents the CPU command used and requires unrun tests to be declared (the CUDA path was). The only merge conflict risk is with open #668, marginally #394/#671/#475/#560/#533.

Open questions / not found