Explore scratchpad · NVIDIA/hyperflare-inference #675

Raw Markdown for agents: https://autobot.eidonix.com/p/08dcc785-a6ee-4286-8f2d-3e131f08a403.md

#1 [high] Related work: open #668 already implements the same peer b12x_environment propagation

#668 "fix(ignition): reconcile divergent multi-host selections, propagate peer b12x env and kernel cache, and harden ForwardCache", open, by lukealonso (COLLABORATOR), opened 2026-12-01 22:26, updated 2026-12-02 03:04, labels area:preparation, area:rocenante, bug, performance, priority:P2, triage:review; +423/-44 over 8 files incl. ignition/cli/serve.py, ignition/preparation/host_ranks.py, ignition/preparation/aot.py, ignition/preparation/collectives.py, tests/preparation/*. Closes #651.

Its part 2 is the same bug as #675: "Dropped Recipe.b12x_environment and leaked config.kernel_cache on peer hosts ... 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."

Implementation differs from #675:

So the two PRs touch the same functions and the same line region (join in serve.py, HostRendezvous init/_admit, knock, serve_peer) but are not stacked: merging both would produce a semantic duplicate (two channels for the same data) and textual conflicts. #668 is by the area's main maintainer and was reviewed by flare-autobot (Changes Requested, 0 blockers, 3 should-fix) and has a hardware +1 from nepenth on 2x GB10 TP2 GLM-5.3 (comment 2026-12-02 03:04) specifically confirming the missing B12X_W4A16_A4_PREFILL=1 on rank 1 caused a +33% cold prefill regression (18.4s vs 12.6s @32k) and --reuse-weights layout mismatches.

#675's description does not mention #668 or #651 at all.

#2 [high] Change: what the diff actually does at head 92b977d (file:line)

Facts verified at PR head 92b977d (read_file / search_code at ref pr/675):

#3 [high] Project fit: documented "no environment variables, b12x from recipe" rule; multi-host docs silent; B12X_COMPILE_CACHE_DIR

Docs and contract facts for #675:

#4 [high] Why: bug is real and measured, but #675 cites no issue, PR or measurement

Why: the defect #675 targets is corroborated independently, but the PR never links the reports.

#5 [high] People: first-time contributor, no reviews yet; area owned by Luke Alonso

#6 [high] Claims and evidence: 195-pass self-reported with no CI; tests verified by reading; what they don't prove

Claims vs evidence, keeping verified apart from claimed:

CLAIMED (PR description): "Ran CUDA_VISIBLE_DEVICES='' pytest tests/cli tests/preparation/test_host_ranks.py tests/preparation/test_checkpoint_source.py on Linux aarch64 with flare_heliopause and protoc: 195 passed, 0 failed."

VERIFIED BY READING (head 92b977d):

#7 [high] Process and reach: ready-for-review, zero engagement, knock() 3-tuple signature change, additive wire key, no docs

Process and reach:

Process

Reach / who is affected

#9 [high] Research summary

Case file for #675 is complete; every angle has scratchpad entries (7 notes, high/medium importance) with citations.

Headline: #675's defect is real and independently measured, but the PR cites none of it — the same bug is already described, fixed and hardware-verified inside open PR #668 (lukealonso, collaborator, same three files plus aot.py/collectives.py (not opened), closes #651), whose peer-b12x propagation reaches peers through a different channel (a control message in HostRendezvous.prepare, applied in serve_peer) whereas #675 piggybacks it on the admission JSON and applies it in join via environment.apply. The two are not stacked: they are semantic duplicates that would textually collide in the same functions, and #668's reviewer already noted overlap with #667, which is #675's merge base. Nobody has engaged with #675 (0 comments, no labels, no CI checks, ready-for-review, first-time contributor who filed the closely related #676 the same morning from the exact 2×GB10 GLM-5.3 TP2 setup).

Verified at head 92b977d: validation at host_ranks.py:193-205 permits B12X_COMPILE_CACHE_DIR that #668 rejects; knock now returns a 3-tuple (:623) and closes the control socket on malformed env (:612-620); join applies the recipe env before serve_peer with socket cleanup (serve.py:548-555); the description's "compute source_identity() before knock" is already true on main, so the only real reorder is environment.apply. Tests are genuine loopback-TCP tests but the "before runtime_patches.apply()" claim rests on a monkeypatched apply, and the 195-pass result is self-reported with no CI. Charter/docs fit the documented "no environment variables, b12x from the recipe's declared settings" rule (docs/cli-design.md:46-51), yet neither multi-host doc is updated and #668's review asked for exactly that note; peers still inherit rank zero's absolute config.kernel_cache, which #675 does not address.

#10 [high] Community: no comments, reviews, labels or bot engagement on #675; the relevant +1 and hardware data are on #668

Community engagement on #675 is zero, and this is itself a finding:

#8 [medium] Recent activity: #667 merge base, #647/#648 context, other open PRs on the same files

Recent activity in the touched areas (from orientation packet + search_history at pr/675) and how #675 sits against it:

#11 [medium] Leads: orientation-packet items followed or set aside (with reasons)

Orientation-packet leads, each followed or explicitly set aside (so a later reader does not have to re-check them):

FOLLOWED AND MATERIAL

CHECKED, NOT RELEVANT TO #675