Repository navigation
own-cluster rehearsal polish: no-RDMA nodes in cluster probe, one line per lease-probe finding, own ssh nodes at $0 - #917
Merged
Conversation
…ase-probe finding, own ssh nodes at $0 - cluster probe: a node whose inventory declares no RDMA fabric (tcp) is reported as "no RDMA fabric" with a next step, not "fabric unavailable"; it no longer makes the probe exit 1 (--write still sets fabric_group unavailable). The JSON record gains "no_rdma". - node lease takeover probe: each finding is printed once (docker's one daemon seen by the user's and the sudo view, a labelled yeto-<run>- container matched by label and name printed the same line up to four times). - cost: an ssh_trainer row of nodes without price_per_card_hour is the operator's own machines: $0, not unpriced, so no cost_unpriced warning per incarnation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ode's failed node checks fail the probe - ssh_trainer ledger rows count their nodes with and without price_per_card_hour. $0 only when no node declares a price (own machines); when only some do, the row stays unpriced and the cost guard warns (cost_unpriced). A row without the counts (an older ledger) stays unpriced as on main. - cluster probe: a node declaring no RDMA fabric still reports its failed node checks (image pull, container, host probe, unreachable ssh; not its IB checks, not a clock skew alone) with a fix-the-node next step, and fails the probe (exit 1, JSON "no_rdma_failed"). hccs is documented as no RDMA fabric. - tests: partly priced rows, rows without counts, a tcp node whose pull is refused or that is unreachable, declared roce nodes are grouped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
michaellchung
force-pushed
the
own/oc-ab-rehearsal-polish
branch
from
November 26, 2026 21:17
46f6334 to
f67da96
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Small fixes from the own-cluster cloud VM rehearsal (phase A), with the REV-904b review fixes (M1, M2, L). Items whose fix needs a file of an open PR are left for a follow-up.
Changes
yeto/launch/fabric_groups.py). Atcpnode was first said to "get no group", then reported asfabric unavailable(with theib_write_bwnoise of its pairs) and the probe exited 1.group_nodesnow keeps such a node out of the pair evaluation and reports it inno_rdma:no RDMA fabric: <node>: fabric tcp in the inventory: no group, single-node islands only (fabric_group unavailable); next: if the node has IB / RoCE HCAs, set its fabric to ib or roce in the inventory and probe again; otherwise nothing to do (yeto preflight checks the node itself). Not a probe failure: exit 0 when the RDMA nodes are clean.node checks FAILED: <check>: <detail>; next: fix the node (yeto preflight on it names the fix) and probe again, and the probe exits 1 (as on main, where the node wasfabric unavailablewith that reason). The JSON record gainsno_rdmaandno_rdma_failed.--writestill setsfabric_group: unavailablefor such a node, as before.hccs(Ascend's in-node interconnect) is not an RDMA fabric between nodes either and is treated the same way (comment in the code).ib/roceand runs NCCL over sockets is stillfabric unavailable.yeto/launch/node_lease.py):still_runs_scriptprinted one finding up to four times (docker's one daemon listed by the user's and thesudo -nview; a labelledyeto-<run>-container matched by label and by name). Each finding is now printed once.parse_probealready deduplicated, so takeover decisions are unchanged.yeto/launch/ssh_trainer_ledger.py,yeto/cost/billing.py,docs/COST_GUARD.md): anssh_trainerledger row now counts its nodes with and withoutprice_per_card_hour(priced_nodes,unpriced_nodes).own SSH nodes (no price_per_card_hour): $0), nocost_unpriced. This matches thessh:sampler pool (dry-runs at $0) and the capabilities table (price_per_card_hour ... 0 by default).N of M SSH nodes without price_per_card_hour) and the cost guard warns, as on main. A forgotten price is never read as $0.Visible behavior changes
price_per_card_hour, i.e. a trainer rate of $0 per hour) no longer raisescost_unpriced; it counts as $0 in the spend.tcpthat could in fact run IB is no longer grouped with theibnodes by the probe (main measured it and could put it in a group); the probe now tells the operator to declareib/rocefor it and probe again.yeto cluster probeexits 0 (was 1) when the only finding is healthy nodes that declare no RDMA fabric.Tests
New tests (each fails on origin/main unless noted):
tests/test_fabric_groups.py:test_a_tcp_node_is_no_group_and_no_probe_failure_with_a_next_step,test_a_probe_of_tcp_nodes_only_says_so_for_every_node_and_exits_0,test_a_tcp_node_that_fails_its_node_checks_fails_the_probe_with_the_reason(refused pull, unreachable node),test_declared_roce_nodes_are_grouped_and_never_no_rdma,test_a_declared_ib_node_that_runs_over_sockets_stays_fabric_unavailabletests/test_node_lease.py:test_the_probe_prints_each_finding_once(runs the real script under bash with fake docker / sudo)tests/test_ssh_trainer_storage.py:test_cost_prices_an_incarnation_by_the_declared_price_or_at_zero_on_own_nodes(was..._or_leaves_it_unpriced),test_the_cost_guard_does_not_warn_about_own_ssh_nodes,test_a_partly_priced_incarnation_stays_unpriced_and_the_guard_warns(5 nodes at $3 per card hour + 1 without a price),test_a_row_without_node_counts_stays_unpriced(passes on main too: it pins main's behavior for older ledgers)Mutation tests: 18 mutants, all killed. Probe: tcp nodes not filtered out of the pairs; left out of
assignment(); next-step hint dropped;tcptreated as RDMA;rocenot treated as RDMA;no_rdma_failedignored byclean; node checks not collected; unreachable ssh not collected; clock-skew ssh counted; failure line without its reasons. Lease probe: dedupe guard removed; dedupe never records. Cost: own-node rate back to None; own-node note dropped; partly priced read as $0;priced_nodesnot counted; row without counts read as $0; any row without a price read as $0.Gates
run up --dry-runagentic-262k and baremetal-b300-262k incl. preflight, and the pool--dry-run, normalized, line by line vs origin/main; trainerlaunch --dry-runrc=0 in each case on both sides; only the offline model_pull / sandbox status checks fail, on both sides)Left for later
ib_write_bwpairs over tcp nodes too: the plan line is inyeto/cluster_cli.py, but an accurate line needs the preflight'sib_write_bwstep (yeto/launch/preflight/cluster.py, open image adopt: trainer and sampler smoke, the yeto image adopt command and its docs #894) to skip nodes that declare no RDMA fabric (it pairs any node with an active HCA)nvlinkdetail on a single-GPU node (1 GPUs, all pairs),yeto/launch/preflight/cluster.py(image adopt: trainer and sampler smoke, the yeto image adopt command and its docs #894)(resume None)printed by an ssh trainer incarnation that resumes from the store,yeto/launch/ssh_trainer_island.py(fleet: an on-site control plane moves host: state mirror, SSH/Modal island takeover, SSH journal from the store #890)diskcheck does not judge the scratch path and the docker root it writes to,yeto/launch/preflight/cluster.py(image adopt: trainer and sampler smoke, the yeto image adopt command and its docs #894)docs/OWN_CLUSTERS.mdprobe output and exit-code table for nodes that declare no RDMA fabric (several open PRs)🤖 Generated with Claude Code