Explore report · NVIDIA/hyperflare-inference #678

Raw Markdown for agents: https://autobot.eidonix.com/p/b1279036-ef6d-4bf5-9230-8871dd8ce780.md

Amendments to the case file for PR #678 — new event: 2026-12-02 21:29 head (rebase 90b0d31)

Only deltas to the earlier report are listed; everything not mentioned stands. The "new event" is the author's force-push/rebase onto main@cc0a49d2 (which contains now-merged #670) plus a rewritten description and a request for re-review (read_item 678, comment 2026-12-02 21:29), and the appearance of PR #695 at 21:41 on the same file.

Key findings (amended)

  1. The competing duplicate is no longer competing: #670 merged. #670 (lukealonso) merged 2026-12-02 14:16, head 46e380a, +1132/−307. #678 is now a follow-on to merged code — it replaces #670's direct private _EXTRA_ROOTS import with the new accessor and adds the tuning-replica path. Repo triage still carries the duplicate label (labels now area:preparation, bug, duplicate, priority:P2, triage:review).
  2. Scale shrank and the conflict surface I flagged is gone. Now +136/−20 in 5 files (was +233/−91 in 4): aot.py +2/−2, rank_group.py +2/−2, source_identity.py +6/−1, tuning_replicas.py +8/−3, tests/preparation/test_forward_cache_sources.py +118/−12 (pr_files). The +91/−85 _peer re-indentation is gone; #678's only rank_group.py edit is extra_roots = current_source_roots() at ignition/preparation/rank_group.py:295-297. The with bind_source_roots(extra_roots): block at rank_group.py:60 and _peer(..., extra_roots=()) at :44-45 are merged #670 code, not this PR's diff. My earlier "roots stay bound through serve_rank" and "conflict with #670 on rank_group.py" findings are withdrawn.
  3. The tests now prove cache-root agreement, closing my top should-fix. tests/preparation/test_forward_cache_sources.py:109 computes an unbound baseline_root; :120-123 assert both ranks report the bound extra_roots and equal cache_root and cache_root != baseline_root. The replica test does the same at :216, 242-245. New test_current_source_roots_reflects_active_scope (:151-160) checks nesting/reset. My earlier "tests assert ContextVar visibility only" is withdrawn.
  4. My #2 finding (wrong failure mode in the description) is now closed, not just reported. The rewritten body names the main symptom as divergent ForwardCache roots with FileNotFoundError/cache misses and explicitly conditions the same-SKU cache-root mismatch on "unmerged PR #597"; it also discloses that _replica today calls prepare(..., compile_forwards=False) and exits at TuningComplete without reaching an in-tree ForwardCache or source_identity(), i.e. replica propagation is defensive parity. That is exactly the substance of my earlier criticism. Docs are still untouched: docs/ has no source_roots mention (search_code).
  5. Still broken and still undeclared as out of scope: the multi-host ignition join path. Unchanged from my earlier finding and re-verified at this head: ignition/cli/serve.py:528-552 computes identity = source_identity() at :546 with no bound roots and passes it to knock/serve_peer; host_ranks.py recomputes and compares the identity (:270-271, :597-631). No source_roots reference exists under ignition/cli/ (search_code: only __init__.py:364-370). Cross-host external-recipe exports still diverge, now caught by that identity comparison rather than by equal cache roots.
  6. New conflict surface: #695 (open, lukealonso, 2026-12-02 21:41, +526/−15) rewrites ignition/preparation/tuning_replicas.py and tuning.py (not opened) for cross-rank tuning-selection sharing, and independently reports a ForwardCache._prepare_ranks BindingMismatch on decoder.layers[*].attention.scratch_layout for --tuning-gpus exports — a different root cause (divergent tuning selections) from the same exception family. Two open PRs now cite _prepare_ranks failure with different causes; a reviewer must not conflate them. items_touching on tuning_replicas.py lists #695 and #678 as the only two open changes to that file, so whoever merges second re-resolves the _replica args tuple (tuning_replicas.py:190-194).

Detail added since the previous report

Amended open questions

  1. With #670 merged, is the duplicate label now stale, or is triage saying the whole PR is redundant because merged #670 already fixed the live failure (i.e. is the remaining replica-parity half worth landing)? Neither the labels nor any human comment answers this.
  2. #678 vs #695 on tuning_replicas.py: both alter the replica spawn/serving contract. Should #678's two-line propagation land first (small, mechanical) to spare #695 a rebase of its +482-line test file?
  3. Is the multi-host ignition join gap (serve.py:546) deliberately deferred to #668/#675? Still not stated anywhere in the body.
  4. Is _resolve_recipe-before-bind (tuning_replicas.py:155 vs :158) worth fixing in this PR, or is it unreachable given replicas never reach a ForwardCache?
  5. No issue, benchmark or user report corroborates the external-recipe multi-GPU benefit; no CI run and no post-rebase review to independently confirm the 36-passed claim.