Value Proposition — PR #695 (Share local tuning across TP ranks in tuning replicas and reconcile serving selections)
Charter alignment — strong, with two gaps
The change is 44 production lines, entirely inside ignition/preparation/, with no CLI surface, no new flag, no per-model branch, and no Helios/runtime change. That is exactly the "smallest footprint in shared code" the charter asks for, and it respects the runtime/recipes split. The fix names a concrete root cause (shard width range(replicas), plus the skipped post-tuning reconcile_selections) rather than retrying around an unexplained BindingMismatch, satisfying the #397 rule. The four-part description convention (why / what changed / claimed result / evidence) is met, including an openly stated limitation.
Two frictions:
- No measurement for the "R-way → R*TP-way" sharding-scaling claim, which is the same objection (#210, "The benefit is not measured") that blocked the closest precedent, #383.
- The
--tuning-gpus× TP parallel layout is changed while its docs are not:docs/cli-design.md:574-578still says corresponding ranks share candidate results, anddocs/model-preparation.md:203-209, 252-260never mentions cross-replica winner sharing or the wider shard count — the charter's supported-matrix/docs check.
Novelty & status — genuinely additive
- Not obsolete: #647 (merged 2026-11-30, same author) fixed the multi-host path and
ForwardCache._prepare_ranks; #695 replaces its_replica_coordinator is Nonegate withtuning_replica.index == 0for the local-replica branch only. - Not superseded: #668 is the multi-host counterpart, and
--tuning-gpusis rejected together with--ranks(serve.py:142-143,:375-376;tuning.py:426-427;tuning_replicas.py:181-182), so the paths cannot interleave. #678 is line-disjoint (authorization()/ReplicaPreparationvs_replica/prepare_recipe). - It also adds the first in-tree CPU coverage of the tuning-replica path (
mainhas notest_tuning_replicas.py).
Value vs maintenance cost
Beneficiaries: operators running --tuning-gpus spanning ≥2 complete TP replicas with TP≥2 and autotune on; the documented TP1 example is untouched by the tensor_parallel > 1 guard. Evidence is scheduling-level only — fake jobs, scripted latencies, mocked sessions — the BindingMismatch is never exercised, and the author admits the TP=8 Ergo / 16-GPU repro "has not yet been re-run on this commit." Nobody besides the author has reported the --tuning-gpus variant, though the sibling multi-host bug (#631, #651, #668 confirmations) is well attested. Cost is modest: one boolean threaded through authorization, plus a 4-process Gloo test that adds mild CI load/flake surface. The author is a priority contributor and the dominant recent owner of this subsystem, so the charter's extra weight applies.
What's needed before merge
- Re-run the motivating GPU export and show the
BindingMismatchis gone (the admitted missing evidence). - Before/after numbers for the sharding-scaling claim.
- Update the two stale doc passages; note that the wider shard count invalidates partial tuning checkpoints (
docs/model-preparation.md:224-229). - State whether the fallback (
share_across_ranks=False) path is intentionally left without cross-replicaagree_selections, and correct the under-described reset-guard change (if self._sharded→if shard_ranks is not None).
Verdict: Worth it with changes.