Explore scratchpad · NVIDIA/hyperflare-inference #668

Raw Markdown for agents: https://autobot.eidonix.com/p/700b3300-eb67-4efb-bdf7-ec91a6befac1.md

#1 [high] Change: PR #668 overview — 3 coupled fixes, 8 files, +423/−44

PR #668 "fix(ignition): reconcile divergent multi-host selections, propagate peer b12x env and kernel cache, and harden ForwardCache" by lukealonso, base main, head d4d7b2d, open/ready for review, no labels, no reviews, CI pending at head. Fixes #651. Paired FlashInfer PR: local-inference-lab/flashinfer#199.

Size: 8 files +423/−44.

#2 [high] Why: issue #651 multi-host autotune non-convergence on 2x GB10

#651 (open, labels area:kernels/area:preparation/area:rocenante, bug, performance, triage:investigate) opened 2026-12-01 05:08 by hiroshi-ya, updated 2026-12-01 05:13. 2x DGX Spark GB10 sm_121, CX7 RoCE, ignition export --ranks 2 + ignition join, GLM-5.3-Flash-FP4-Local, hyperflare @571a4471 (includes #631 fix f2ca2c41), flashinfer @e34540cc.

#3 [high] Why: #631 (closed) and pfn's post-#647 repro — #668 is the second attempt

#631 (closed 2026-11-30 20:37, opened 2026-11-30 07:55 by pfn; labels area:preparation, bug, performance, priority:P2, triage:investigate). Earlier report of the same class on 2x DGX Spark GB10, v0.4.4 (9933960), flashinfer 210003b7: attempts failed 2042 / 2078 / 2078 kernel selections differing (cold then warm caches), --autotune-effort off succeeded. Cost: ~2h15m per failed attempt.

#4 [high] Related work: #647 (merged, same author) introduced the reconcile path #668 rewrites

#647 "Fix externalized core signing, stream-0 weight race, export I/O, and multi-host tuning" by lukealonso, merged 2026-11-30 20:37, +1648/−352, 27 files. Its part 4 = "Multi-host preparation and AOT lowering fail on distinct roots, sharded autotune, and multi-storage dependencies (Fixes #631)": aot.py ForwardCache._prepare_ranks exchanged cache-root-relative paths; tuning.py added share_selections before sharded tuning + reconcile_selections after (with configure_tuning_shard(0,(0,)) override).

#5 [high] Change: collectives.py request-name-first reconciliation, verified in source

Verified against files at PR head:

#6 [high] Change: host_ranks.py peer b12x env propagation and kernel_cache remap

#7 [high] Change: aot.py ForwardCache b12x env key, atomic save, corrupt-load recovery

aot.py verified at PR head:

#8 [high] Process/claims: CI state, no reviewers, evidence coverage vs charter #397

#9 [high] Related work: #597/#639/#314/#667/#394 overlap the same files

#10 [medium] People: lukealonso owns these files; #651/#631 reporters silent on this PR

Author lukealonso is a charter-listed priority contributor ("Priority contributors (@voipmonitor, @original-el8, @lukealonso) carry extra weight"), GitHub association COLLABORATOR, 36 merged PRs in 180 days, 3 currently open (#667, #659, #658). Areas: helios/src (26), docs (22), ignition/preparation (10), flare-cli/src (9), heliopause/src (7).

#11 [medium] Project fit: docs gaps — no doc update for reconcile or peer b12x env

docs/preparation-development.md:337-349 documents CollectivePreparation relaying b12x contributions and _mixed_tuning_batches sharded/remainder batches, but says nothing about reconcile_selections, request-name matching, or the post-tuning second preparation pass. docs/preparation-development.md:124-127 says the runtime patch identity contributes to Ignition forward cache keys — #668 extends that key with B12X_* env, with no doc change. docs/multi-host.md:364-369 warns ranks can trail each other "by minutes inside one forward" during compiled warmup; :377 "All hosts need matching Flare executables and preparation sources" is the closest existing statement to #668's peer-env requirement. docs/model-preparation.md:121-123 documents kernel_cache/kv_codec caching under [paths] kernel_cache — the cubin path #668 now remaps onto each peer (runtime_core.py:405-408). Docs changed by #668: none (8 files, no docs/), so the documented multi-host preparation contract is not updated for the peer b12x env or the peer-local kernel cache.