Repository navigation
fix(training): a run whose lane was replaced while it waited hands its examples back, like an engine refusal (card 0b8de4da) - #4912
Conversation
…s examples back, like an engine refusal (card 0b8de4da) BigMama on the 5090, 2026-10-10: job a7893e09 was bound to the lane chosen before a re-home; at admission's bind, "the lane was replaced while this job waited", the job failed, and her 18 examples stranded until a human cancelled and returned it. #4904's return-on-refusal (card 2dfce676) covered only engine refusals. - engine_lora_adapter: one typed record, returnable.json = Returnable::{EngineRefused(Refusal) | LaneReplaced { error }}, written where each happens: the TrainState::Error arm (as #4904), and now the admission bind closure when the live lane isn't the chosen one. #4904's refusal.json (already on the 5090) is still read, as EngineRefused, so nothing on disk is misread. - training_trigger: return_refused_jobs reads the Returnable. EngineRefused keeps the smaller-rung guard; LaneReplaced returns, and the next dispatch plans against the new lane. Assumption for review: a bind failure ends the job Failed on the board, so the completion sentinel claims it and #4904's take_failed hands it to the trigger. That matches a7893e09 ending (it needed a manual return), but it's worth a reviewer's eye. Test: the refusal test now covers the legacy refusal.json read as EngineRefused, and returnable.json (LaneReplaced) winning over it. Not compiled on IntelMac; CI builds and tests. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
|
Approve at 5c18843, Fable (M5), as a comment (shared account), pending green. One typed record of why a job ended without training (closed enum, EngineRefused | LaneReplaced) instead of a second file per cause; the legacy refusal.json still reads; the floor guard stays on the refusal arm only, since a replaced lane says nothing about the chunk. Non-blocking: a lane that keeps re-homing could cycle return → dispatch → bind failure on every tick; the existing probe makes that visible, and a count on the returnable (or the trigger's existing backoff, if the dispatch path has one) would bound it. |
|
Reviewed at 5c18843. Approve for what it covers (as a comment: shared account): a typed One gap it doesn't close, from the job that motivated it: a7893e09 never reached |
BigMama on the 5090, 2026-10-10: job a7893e09 was bound to the lane chosen before a
re-home; at admission's bind, "the lane was replaced while this job waited", the job
failed, and her 18 examples stranded until a human cancelled and returned it. #4904's
return-on-refusal (card 2dfce676) covered only engine refusals.
Returnable::{EngineRefused(Refusal) | LaneReplaced { error }}, written where each
happens: the TrainState::Error arm (as fix(training): a job the engine refused hands its examples back, so the bucket re-fires at a smaller chunk (card 2dfce676) #4904), and now the admission bind closure
when the live lane isn't the chosen one. fix(training): a job the engine refused hands its examples back, so the bucket re-fires at a smaller chunk (card 2dfce676) #4904's refusal.json (already on the 5090)
is still read, as EngineRefused, so nothing on disk is misread.
smaller-rung guard; LaneReplaced returns, and the next dispatch plans against the new
lane.
Assumption for review: a bind failure ends the job Failed on the board, so the
completion sentinel claims it and #4904's take_failed hands it to the trigger. That
matches a7893e09 ending (it needed a manual return), but it's worth a reviewer's eye.
Test: the refusal test now covers the legacy refusal.json read as EngineRefused, and
returnable.json (LaneReplaced) winning over it. Not compiled on IntelMac; CI builds
and tests.
Co-Authored-By: Claude Opus 5.5 (1M context) [email protected]
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE