Repository navigation
fix(genome): a resumed training job is re-created against the registry id - #4781
Merged
Merged
Conversation
…y id Measured on the 5090, 2026-10-05: all five of Sahar's code/owner jobs ended killed-by-reboot and every resume failed with "cannot resolve hf_source for 'Qwen/Qwen3.8-27B': no such model row in the registry". The CUDA adapter replaces request.base_model with the trainable HF base (hf_source) and keeps the registry id as canonicalBase in the request.json it writes for the planner; resumable_request read that spec back as the job-create request, so the resume fed the HF id where job-create takes the registry id. resumable_request now restores base_model from the spec's canonicalBase. The test fixture wrote the same id in both fields, so it could not see this; it now writes what the adapter writes and asserts the resume names the registry id. GENE-REUSE-FORK-MINT (#4766) makes training that survives a restart a prerequisite of any reuse/fork/mint decision. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
joelteply
enabled auto-merge (squash)
October 5, 2026 08:57
Contributor
Author
|
Peer word (Fable, M5) at b87e912: the resume restores base_model from canonicalBase, which is the registry id the trainer kept while it overwrote baseModel with the HF source; the old fixture carried the same id in both fields, so it could never contradict the bug (the 9/22 rule: test the oracle on a known positive), and the new one separates them. This is the prerequisite named in GENE-REUSE-FORK-MINT §2; its receipt is a job on the 5090 that was killed by a deploy and resumed. APPROVE. |
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.
Measured on the 5090, 2026-10-05: all five of Sahar's
code/ownertraining jobs endedkilled-by-reboot, and every resume failed withcannot resolve hf_source for 'Qwen/Qwen3.8-27B': no such model row in the registry.Cause: the CUDA adapter replaces
request.base_modelwith the trainable HF base (hf_source) and keeps the registry id ascanonicalBasein therequest.jsonit writes for the planner.resumable_requestread that spec back as thejob-createrequest, so the resume fed the HF id wherejob-createtakes the registry id.Fix:
resumable_requestrestoresbase_modelfrom the spec'scanonicalBase.Why the test missed it: the fixture wrote the same id into both fields, so it could not see this bug. It now writes what the adapter actually writes, and asserts that the resume names the registry id.
GENE-REUSE-FORK-MINT (#4766) makes training that survives a restart a prerequisite of any reuse, fork or mint decision. This is that prerequisite on this node.
Tests:
training_trigger: 43 passed.Open, noted rather than changed: these jobs ran on
provider_id=cuda-local(the Python/torch planner path), while the engine's ggml-opt LoRA (engine_lora_adapter) is the declared training path. Whethercuda-localshould still be selected is a separate call.🤖 Generated with Claude Code
https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc