#1 [high] What the PR actually changes at head 90b0d31
PR #678 head 90b0d31, 5 files, +136/-20 (production +18/-8).
Production changes:
- ignition/preparation/source_identity.py:17-19 — new
current_source_roots()returning_EXTRA_ROOTS.get(); docstring ofsource_roots(:24) updated. Pure accessor, no behavior change. - ignition/preparation/aot.py:845-847 —
_EXTRA_ROOTS.get()->current_source_roots()insideForwardCache.__init__. Behavior-identical. - ignition/preparation/rank_group.py:295-297 —
_EXTRA_ROOTS.get()->current_source_roots()inprepare_group. Behavior-identical. - ignition/preparation/tuning_replicas.py:142,153,158,174-176,190-194 —
_replicagains a REQUIRED 8th positional argextra_source_roots;prepare_recipecapturescurrent_source_roots()and passes it;_replicabindswith source_roots(extra_source_roots), CoreStorage(...)aroundprepare(...).
KEY: #670 is MERGED. On main, rank_group.py already has _peer(..., extra_roots=()) (:44-45) and with bind_source_roots(extra_roots): around the prepare block (:60-74), and prepare_group already passes extra_roots (:309-310 on main). So the peer-spawn propagation — the actual bug fix — is ALREADY on main. This PR does not add it; it only swaps the private import for a public accessor (zero behavior change).
Therefore the only behavioral delta in this PR is the tuning-replicas spawn signature + binding, which the PR itself discloses is inert today: _replica calls prepare(..., compile_forwards=False) (tuning_replicas.py:160) and exits on TuningComplete (:162-165), so no in-tree ForwardCache, source_identity(), or current_source_roots() reader is reached in a replica. Verified: ForwardCache is constructed only in capture.py:117-118 under if compile_decoder:.
NO performance claim anywhere in the PR. Nothing on a hot path: source_roots/current_source_roots are CLI-invocation/context-bind scoped; ForwardCache.init already rglobs two source trees (aot.py:837-844).
#2 [high] Hardware fit: cn5 usable, cn7 cannot exercise either spawn path
Code constraints that decide machine choice:
- rank_group.prepare_group (ignition/preparation/rank_group.py:304) spawns peers only for
range(1, len(config.devices)). With a single GPU this loop is EMPTY — no_peerprocess is ever created, so cn7 (1 x GB10) cannot exercise the rank_group spawn path at all. - tuning_replicas.prepare_recipe (tuning_replicas.py:168-177): returns early at
if not plan.tuning_gpus.tuning_devices(ignition/cli/preparation.py:84-107) requiresindices[:count] == serving GPU indicesandlen(indices) % count == 0, and returnstuning_gpus=()whenlen(selected) <= count. So replicas > 0 needs at least 2*world_size GPUs.replicas = len(tuning_gpus) // world_size; spawn loop isrange(1, replicas).- world_size=1 -> needs 2 GPUs (e.g. --gpus 0 --tuning-gpus 0,1): replicas=2, one
_replicaspawned. - world_size=2 -> needs 4 GPUs (e.g. --gpus 0,1 --tuning-gpus 0,1,2,3): replicas=2, one
_replicaspawned.
- world_size=1 -> needs 2 GPUs (e.g. --gpus 0 --tuning-gpus 0,1): replicas=2, one
- tuning_devices:99-102 additionally requires each tuning replica GPU to match its corresponding serving GPU
(name, capability). cn5 is 4 x identical "RTX PRO 6000 Blackwell Max-Q Workstation Edition" -> homogeneous, so tuning replicas are permitted on cn5. - cn7 = 1 x GB10, arm64, 10 CPUs, 60 GiB RAM: cannot spawn a TP peer and cannot allocate a tuning replica. Conclusion: cn7 is useless for this PR; do not book it.
Mixed-SKU claim is NOT reproducible: cn5's four GPUs are all the same SKU (the product name literally is "RTX PRO 6000 Blackwell Max-Q Workstation Edition"). The PR's author-reported evidence referenced a Max-Q + Workstation 4-GPU mixed-SKU rig; no machine listed can reproduce that.