Opened by a workflow run, Dec 2, 2026 6:05 PM EST. decide malicious: all_clear (100%): No malicious content found
explore
Author: lukealonso (COLLABORATOR; charter-named priority contributor, dominant recent author of ignition/preparation — 13 merged PRs there in 180 days; Discord: lukealonso)
Motivation: Exporting a tensor-parallel model with local tuning replicas (--tuning-gpus spanning several TP replicas) sharded tuning only across corresponding ranks, so all 8 ranks in each replica raced the same candidates, picked different winners by timing jitter, and then crashed when AOT forwards failed to bind the mismatched scratch_layout because post-tuning reconciliation was skipped for replicas.
Scale: +526 / −15 lines in 3 files (tuning.py +27/−8, tuning_replicas.py +17/−7, new 482-line test file)
Proposal:
authorization()/ReplicaPreparationgainshare_across_ranks, widening the cache and candidate-race exchange to allreplicas*tpprocesses while replica-local collectives stay TP-group scopedRecordedPreparationSession.tune()gathers(device.identity, _local_tuning_catalog)from every replica and, when TP>1 and all reports are identical, shards(replica*tp+rank, range(replicas*tp))and sets_sharded- Post-tuning
reconcile_selectionsandagree_selectionsare un-gated from "not a tuning replica" to "serving replica 0" - Shard reset around the reconcile replay is now keyed on
shard_ranks is not Noneinstead ofself._sharded - New tests: two
authorization()unit tests, a real 4-process GlooReplicaPreparation.prepare()spawn test, three mockedtune()tests Touches: ignition/preparation/tuning.py(tune(), sharding and reconciliation gates)ignition/preparation/tuning_replicas.py(authorization(),ReplicaPreparation)tests/preparation/test_tuning_replicas.py(new; first in-tree CPU coverage of the tuning-replica path) Related items:- #647 Fix externalized core signing, stream-0 weight race… (merged): introduced the exact reconcile gate this removes, two days earlier, same author
- #668 fix(ignition): reconcile divergent multi-host selections… (open): same author, multi-host counterpart of the same repair
- #383 Distribute matching local tuning races across unequal TP catalogs (merged): closest precedent, and where "benefit is not measured" was a block
- #678 expose current_source_roots and propagate source roots to tuning replicas (open): only other open PR on this file, line-disjoint (32-125 vs 142-194)
- #651 Multi-host default autotune still fails kernel agreement (open): sibling symptom family, different path
Link: https://github.com/NVIDIA/hyperflare-inference/pull/695
Autobot comments: No documentation was updated, and
docs/cli-design.md:574-578plusdocs/model-preparation.md:203-209, 252-260still state corresponding-rank-only sharing and R-way sharding — a charter line-42 friction. The R-way→R*TP-way scaling claim has no measurement, and the description admits the TP=8/16-GPU repro was never re-run, so theBindingMismatchfix is unevidenced beyond fake-job tests. The description also hides that the shard-reset guard changed predicate (touching the existing multi-host branch). The homogeneous gate is all-or-nothing on the whole pickled catalog plus strictDeviceIdentity, so asymmetric catalogs get no scaling benefit and, since_shardedstays False, no cross-replica agreement check either. The wider shard count silently invalidates shard-count-keyed partial tuning checkpoints. The PR has no comments, reviews, labels, or Autobot intake, unlike every sibling PR that week.
Classify intake
Selected: bug, performance, area:preparation
Threshold: 65%
Triage
-
triage:review: 49.8% -
triage:validation: 49.8% -
triage:design-review: 0.1% -
none: 0.1% -
triage:investigate: 0.1% -
triage:partial: 0.0% -
triage:integration: 0.0% -
triage:verify-for-closure: 0.0% -
triage:superseded: 0.0%
Priority
-
priority:P2: 56.0% -
priority:P1: 23.4% -
none: 20.6%
Type
- [✓]
bug: 86.7% - [✓]
performance: 85.2% -
community: 37.8% -
enhancement: 32.1% -
duplicate: 20.2% -
documentation: 0.6%
Area
- [✓]
area:preparation: 99.2% -
area:memory: 11.9% -
area:kernels: 4.2% -
area:rocenante: 2.3% -
area:orbit: 1.1% -
area:scheduling: 0.7% -
area:selene: 0.4% -
area:api: 0.3% -
area:caching: 0.3% -
area:engram: 0.1% -
area:packaging: 0.1%
Model
-
model:gemma4: 2.3% -
model:glm-5.3: 1.6% -
model:nemotron-3.5-bolt: 1.2% -
model:deepseek-v4.1: 1.1% -
model:kimi-k3.1: 0.8% -
model:mimo-v2.6: 0.8% -
model:deepseek-v4: 0.4% -
model:qwen3.8-flash-next: 0.2% -
model:qwen3.8-27b: 0.2% -
model:inkling-small: 0.1% -
model:muse-glimmer: 0.1%
Apply Labels (Intake)
Applied: +bug, +performance, +area:preparation
Value Proposition
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.
Full report Decide Value: yes (100%): This change is worth reviewing: it provides value to the project in line with its charter.
Subtraction and simplicity
Subtraction/Simplicity review of PR #695. The production diff is lean (44 lines, no new flags or knobs), but four concrete simplifications exist, plus one lower-value duplication question and one item of dead code.
- Dead constructor keyword:
share_across_ranks=FalseinReplicaPreparation.__init__(ignition/preparation/tuning_replicas.py:74, stored:78) is never passed in production —tuning.py:430omits it and production assigns the attribute afterwards attuning.py:443. The kwarg exists only fortests/preparation/test_tuning_replicas.py:150. - Two duplicated error-message ternaries at
tuning_replicas.py:42-46and:50-54can revert to the one-line pre-PR wording (the original string stays true in share mode, sincepeers = statesat:34is a superset of the corresponding ranks). Saves ~8 lines and removes the flag from both error paths. Keep the exact string matched attest_tuning_replicas.py:129. - One sharding decision is stored four ways and branch-tested a fourth time at
tuning.py:439-451; assigningself._replica_coordinator.share_across_ranks = self._sharded = shareand computing the(shard_rank, shard_ranks)pair once removes 3-4 statements and leavesshard_ranks is not None(:525,:534) as the single "a shard was configured" predicate. - ~130 lines of test duplication:
test_tuning_replicas.py:159-225writes the same 6-fieldSimpleNamespaceseven times, and:366-395re-hand-assigns ~28 session attributes already written intests/preparation/test_tuning_shards.py:225-253(plus a second_FakeCoordinatorvs:179-211). Repo precedent for a shared helper exists (tests/preparation/payload_fixture.py). - Lower value:
_local_tuning_catalog(tuning.py:35-49) is a fourth dependency-graph traversal alongsidetuning_shards.local_components(:29-53) andcomponent_key(:56-58); a question, not a defect, because the strict byte-identical gate needs its collective-producing-request inclusion.
Checked clean: no speculative config knobs, only the one documented #383 fallback, replica-local collective slice (tuning_replicas.py:55-70) untouched, no dead code on touched paths. Doc staleness (docs/cli-design.md:574-578, docs/model-preparation.md:203-209, :252-260) belongs to the correctness/docs lens.
Open: whether the kwarg or the post-construction write should survive; whether self._sharded is still needed in the replica branch; whether _local_tuning_catalog should converge with component_key; where a shared session double should live, since tests/preparation/ has no conftest.py (not opened).
Correctness and contracts
Correctness/contracts review of PR #695 (tuning replicas: cross-rank tuning sharing + serving-replica reconciliation).
What I verified as sound: shard arithmetic replica*tp+rank matches the Gloo member index (tuning.py:446 vs tuning_replicas.py:81); replica-local collectives stay sliced to the TP group (tuning_replicas.py:55); TuningComplete barrier is symmetric per replica and replica groups are independent (tuning.py:637-643); shard_ranks is not None is equivalent to the old self._sharded in the multi-host branch (no behaviour change, no stale state); TP=1 and --autotune-effort off are untouched; --tuning-gpus + multi-host is still rejected twice.
Findings, highest first:
- Major: the motivating TP=8 Ergo/16-GPU
BindingMismatchrepro was not re-run (PR text admits it) and no diff file touchesForwardCache/aot.py(not opened); the R-way→R*TP scaling claim has no measurement — the same objection that held #383. - Major: on the asymmetric fallback (
share_across_ranks=False)_shardedstays False, soagree_selectionsnever runs anywhere and only replica 0 reconciles (tuning.py:521-522, 546-549); replicas>0 can still write divergent selections — the PR text claims coverage for asymmetric catalogs. - Major: reconciliation is gated on
self._coordinator is not None and len(self._coordinator.ranks) > 1(tuning.py:521); with_coordinator is None,ranks=(0,)(:428) and no reconcile happens at all — needs confirmation the 16-GPU single-host repro has a multi-rank coordinator. - Major: two docs passages that name exactly this behaviour are now false (docs/cli-design.md:574-578; docs/model-preparation.md:203-209, 252-260), against charter line 42.
- Minor→Major (operator cost): shard width R→R*TP invalidates partial tuning checkpoints, contradicting docs/model-preparation.md:224-229, undocumented.
- Minor:
authorization()now requires all R*TP processes ready before any proceeds (tuning_replicas.py:34, 49-54) — wider head-of-line coupling, presented as pure benefit. - Minor:
share_across_rankskwarg is dead in production (attribute assigned after construction, tuning.py:430/443); catalog equality is gathered whole (tuning.py:431-433 + tuning_replicas.py:84-96) instead of a digest; the new Gloo test leaves processes unkilled on failure.
Open: whether the repro has a multi-rank coordinator; whether the missing fallback-path agreement is intended; whether a homogeneous run's selections from replicas>0 are ever cross-checked; commit trailers unverified.
Final review
Recommendation: Changes Requested
The 44-line production change in ignition/preparation/{tuning,tuning_replicas}.py is technically sound, deadlock-free, and cleanly scoped with zero blockers: shard-rank indexing matches the Gloo group layout, replica-local collectives remain isolated per replica, serving-replica reconciliation resets/restores shard state properly on both homogeneous and fallback paths, and non-serving replicas still exit cleanly via TuningComplete. However, two non-trivial pre-merge gaps remain: two documentation passages (docs/cli-design.md:574-578, docs/model-preparation.md:203-209, 252-260) now directly contradict the new default TP>1 --tuning-gpus behavior, and both headline claims (eliminating the 16-GPU TP=8 BindingMismatch and R -> R*TP scaling) lack end-to-end GPU confirmation or before/after measurements on ccb9f5b.
Merge Risk
Level: Low
- Narrow, preparation-only blast radius: Only 44 changed production lines across
ignition/preparation/tuning.pyandignition/preparation/tuning_replicas.py; zero Helios/runtime, Protobuf, model-core, CLI, or CUDA-kernel changes. Single-rank (tensor_parallel == 1),--autotune-effort off, and multi-host (--ranks, mutually exclusive with--tuning-gpus) paths are unaffected. - Verified coordination & failure-isolation invariants: Cross-rank
ready_cache/ready_tuningsynchronization matchesProcessGroupGloomember order (replica * tp + rank), replica-local collectives stay sliced to[replica * tp : (replica + 1) * tp]and still advance while another replica waits on a local race, and non-serving replicas (index > 0) skip reconciliation and exit cleanly via their own TP-grouptuning_completebarrier. - Minor operational side effect: On homogeneous TP>1
--tuning-gpusruns, tuning shard count widens fromRtoR * TP, which invalidates in-progress partial tuning checkpoints from priorR-way runs (docs/model-preparation.md:224-227); completed selection caches remain valid.
Walkthrough
ignition/preparation/tuning_replicas.py:32-70, 73-82, 123-125: Addsshare_across_ranks: bool = Falsetoauthorization()andReplicaPreparation. WhenTrue,ready_cacheandready_tuningsynchronize across allreplicas * tensor_parallelprocesses (peers = states) so_tuning_resultsselects one global winner across every rank, whileready_collectivesandready_collective_tuningremain scoped tostates[replica * tp : (replica + 1) * tp].ignition/preparation/tuning.py:421, 431-451, 465-466: Gathers(self.device.identity, _local_tuning_catalog(requests))across all replica processes (preserving the corresponding-rank geometry check). Whenself.autotune,tensor_parallel > 1, and all reports matchreports[0], setsshare_across_ranks = True,self._sharded = True, andconfigure_tuning_shard(index * tp + rank, range(processes)); otherwise falls back to corresponding-rank sharding(index, range(replicas)). Also tracksshard_ranksexplicitly across both replica and non-replica branches.ignition/preparation/tuning.py:521-535, 546-549: Replaces theself._replica_coordinator is Nonegate withself.tuning_replica is None or self.tuning_replica.index == 0so serving replica 0 runs post-tuningreconcile_selections(andagree_selectionswhenself._sharded), while non-serving replicas skip both and exit viaTuningComplete. Changes the replay shard reset/restore guard fromif self._shardedtoif shard_ranks is not Noneso fallback replica runs (_sharded == False,shard_ranks == range(replicas)) also reset to(0, (0,))duringself._coordinator.preparereplay.tests/preparation/test_tuning_replicas.py:1-483: Adds the first CPU test suite for tuning replicas—unit tests forauthorization()in both modes (including mixed local/collective progress and mismatched race keys), a 4-process (2 × TP2) GlooReplicaPreparation.prepare()test, and three mockedRecordedPreparationSession.tune()tests covering homogeneous cross-rank sharding, unequal-catalog fallback with serving-replica reconciliation, and non-serving replicaTuningCompleteexit.
Pre-merge Checks
- [PASS] Security / malicious screen: No credential exposure, shell execution, or untrusted input paths; the
picklepayload uses the existing localTemporaryDirectoryGlooFileStorebetween parent and spawned local replica workers (tuning_replicas.py:84-96, 186-201). - [WARN] Charter & value fit: Clean root-cause fix in the right layer with minimal footprint and no flags or per-model branches, with
Discord: lukealonsoand a four-part PR description; however, the--tuning-gpus× TP docs are now stale (charter supported-matrix/docs check) and the sharding-scaling claim lacks measurements (charter #210,docs/design-review.mdPrinciple 12). - [PASS] Related / duplicate / conflict check: Cleanly complements merged #647 and open multi-host counterpart #668 (
--tuning-gpusand--ranksare mutually exclusive attuning_replicas.py:181-182andtuning.py:426-427), and is line-disjoint from open #678 (tuning_replicas.py:32-125vs:142-194). Nomaincommits since branch point touch these files. - [WARN] Tests & verification evidence: CPU CI is green on
ccb9f5band the new CPU tests verify scheduling and Gloo coordination cleanly, but the motivating multi-GPU TP=8--tuning-gpusexport has not been re-run onccb9f5band no before/after tuning timing or liveForwardCache._prepare_ranksrun is reported.
Blockers
None.
Should Fix
-
Update stale
--tuning-gpusdocumentation (docs/cli-design.md:574-578,docs/model-preparation.md:203-209, 252-260)docs/cli-design.md:574-576currently states: "For TP2,--gpus 0,1 --tuning-gpus 0-5creates three independent TP2 groups. Corresponding ranks share candidate results while collectives stay within each replica." After this PR, homogeneous TP>1 replicas share local candidate results across allreplicas * tensor_parallelGPUs and adopt one global winner; corresponding-rank sharing is now only the fallback when GPUs or local catalogs differ across TP ranks.docs/model-preparation.md:203-204still scopes cross-rank candidate sharing to "Without extra tuning replicas...", and--tuning-gpus LIST(:252-260) does not mention cross-rank sharing (R * TPshard width, which invalidates priorR-shard partial checkpoints per:224-227) or serving-replica reconciliation.- Fix: Update both passages to reflect global
R * TPlocal-race sharing on homogeneous replicas, corresponding-rank fallback with serving-replica reconciliation when devices or catalogs differ, and the partial-checkpoint shard-count implication.
-
Substantiate or qualify the end-to-end GPU fix and
R -> R*TPscaling claim (docs/design-review.mdPrinciples 12 & 16; Charter #210)- The new CPU tests (
tests/preparation/test_tuning_replicas.py) stubb12xsessions/jobs/coordinators with scripted latencies and never exerciseForwardCache._prepare_ranksor real sharded races; the PR explicitly notes that multi-GPUignition export --tuning-gpushas not yet been re-run onccb9f5b, and no before/after tuning wall-clock numbers back theR-way →(R * TP)-way scaling claim (the same gap that held #383). - Fix: Re-run the motivating multi-GPU TP>1
ignition export --tuning-gpusonccb9f5band report thatBindingMismatchno longer occurs alongside before/after tuning wall-clock time; or, if hardware access is unavailable before merge, clearly label theBindingMismatchresolution and scaling speedup as expected rather than measured results in the PR description (docs/design-review.mdPrinciple 16) so a maintainer can explicitly sign off on CPU-only verification.
- The new CPU tests (
Subtract / Simplify
-
Drop the production-unused
share_across_ranksparameter onReplicaPreparation.__init__(ignition/preparation/tuning_replicas.py:74, 78;ignition/preparation/tuning.py:430, 443)- Production must construct
ReplicaPreparationbefore callinggather()to inspect catalogs (tuning.py:430-433), sotuning.py:443always mutatesself._replica_coordinator.share_across_ranksafter construction; the constructor kwarg is only passed by the Gloo test (tests/preparation/test_tuning_replicas.py:150). - Fix: Initialize
self.share_across_ranks = Falsewithout an unused__init__kwarg (or passshare_across_ranksintoprepare(..., share_across_ranks=False)), and have the Gloo test follow the same production contract.
- Production must construct
-
Remove the two mode-conditioned error-message ternaries in
authorization()(ignition/preparation/tuning_replicas.py:42-46, 50-54)- Both 5-line ternaries branch only on prose between
"tuning ranks ..."/"corresponding tuning ranks ..."and"a tuning rank finished before its peers"/"a tuning replica finished before its corresponding rank". The unifiedshare_across_ranks=Truewordings ("tuning ranks declared different candidate races"and"a tuning rank finished before its peers") are accurate in both modes (whereas the pre-PR"corresponding rank"wording would be misleading in cross-rank mode). Removing both ternaries saves 8 lines and keepsshare_across_ranksscoped solely to peer selection (:34).
- Both 5-line ternaries branch only on prose between
-
Trim mechanical repetition in
tests/preparation/test_tuning_replicas.py:159-225, 282-396_FakeJob.advance(:162-224) repeats the same 6-fieldSimpleNamespaceliteral 7 times; a 2-line_step(...)helper cuts ~40 lines and makes the scripted state transitions immediately readable._make_replica_session/_FakeCoordinator(:282-396) duplicates the ~28-attributeobject.__new__(RecordedPreparationSession)setup fromtests/preparation/test_tuning_shards.py:179-253; extracting a shared helper prevents silent test drift whenRecordedPreparationSession.__init__gains attributes.
Nits
- Reap spawned Gloo workers on failure (
tests/preparation/test_tuning_replicas.py:254-259): Wrap thejoin(timeout=30)and assertions in atry/finallythat terminates/kills/joins any still-alive child process (matchingignition/preparation/tuning_replicas.py:209-216) so a deadlocked worker does not leak live Gloo sockets into the rest of the pytest session. - Gather catalog digest instead of full pickled catalog (
ignition/preparation/tuning.py:431-433, 441):reports[i][1]is only ever compared for equality (item == reports[0]). Hashing_local_tuning_catalog(requests)(e.g. SHA-256 digest) avoids transiently materializingprocesses × catalog_bytesinReplicaPreparation.gather()(tuning_replicas.py:87-96) on large catalogs.
Dropped on verification
- Correctness F1a ("asymmetric fallback path has no cross-replica agreement, contradicting PR claim; warm retries can still diverge"): Dropped—verified false. On the fallback path (
share_across_ranks=False), corresponding ranks across replicas still synchronize viastates[rank::tensor_parallel](tuning_replicas.py:34), non-serving replicas (index > 0) exit immediately viaTuningCompletewithout compiling or loading forwards (tuning.py:637-643,tuning_replicas.py:169-174), serving replica 0 runsreconcile_selectionsacross its TP group on every run including warm retries (tuning.py:521-535), skippingagree_selectionswhen_sharded is False and not spans_hostsmatches existing single-host non-replica behavior (tuning.py:456, 548), and the PR description accurately scopes the agreement check to homogeneous catalogs andreconcile_selectionsto asymmetric catalogs/warm retries. - Correctness F1b ("reconciliation depends on non-None multi-rank
_coordinator; needs confirmation on 16-GPU repro"): Dropped—verified false viaignition/preparation/rank_group.py:278-363andtuning.py:428-429._coordinatorisNoneonly whenTP == 1(single serving rank, nothing to reconcile); everyTP > 1serving replica spawns arank_groupwith aCollectivePreparationwhoselen(ranks) == TP > 1. - Correctness F1c suggested fixes ("construct
ReplicaPreparationafter catalog comparison; raise inauthorization()on mode disagreement"): Dropped—constructingReplicaPreparationafter the comparison is impossible becauseReplicaPreparation.gather()(tuning.py:431) performs the catalog comparison, and every process derivesshare_across_ranksdeterministically from the identical allgatheredreportslist (tuning.py:441), so processes cannot disagree on the mode. (The narrower unused-kwarg API cleanup is retained underSubtract / Simplify#1.) - Correctness F2a ("wider
R*TPrendezvous creates head-of-line coupling"): Dropped—this is the inherent, intended synchronization required for globalR * TP-way candidate sharding and winner selection, identical to existingTP-way sharding without replicas. - Correctness F4b ("PR description omits
if self._sharded→if shard_ranks is not Nonepredicate change"): Dropped—low-signal; the PR description accurately summarizes the temporary(0, (0,))reset/restore around reconciliation replay, and widening the guard toshard_ranks is not Noneis the exact implementation needed to make that reset/restore work on the fallback replica path as well. - Subtraction 2's proposed replacement string (
"a tuning replica finished before its corresponding rank"): Corrected—that pre-PR string would be misleading when two ranks inside the same replica disagree undershare_across_ranks=True; replaced inSubtract / Simplify#2 with the accurate unified strings. - Subtraction 3 ("collapse
share_across_ranks/self._sharded/shard_rank/shard_ranksinto chained assignment intuning.py:438-451"): Dropped—low-signal style preference; the existing 13-line block is clearer than a chained attribute assignment. - Subtraction 5 ("unify
_local_tuning_catalogwithtuning_shards.local_components/component_key"): Dropped—_local_tuning_catalog(tuning.py:35-49) is pre-existing untouched code with intentionally different semantics (it retains collective producers of local dependencies and theircollective.ranks, whereaslocal_componentsexcludes any component touching a collective).
Classify triage
Selected: triage:review
Threshold: 65%
Triage
- [✓]
triage:review: 65.0% -
triage:validation: 34.8% -
triage:design-review: 0.1% -
none: 0.0% -
triage:investigate: 0.0% -
triage:verify-for-closure: 0.0% -
triage:integration: 0.0% -
triage:partial: 0.0% -
triage:superseded: 0.0% Decision to Test: no (88%): Testing will not add significant value as the code stands today. The code is either not yet ready to merge, or adequate testing has already been done to validate the contents of the code, or the available hardware is not suitable to test with.
Apply labels
Applied: +triage:review