Repository navigation
Continue MLflow runs as new linked runs (mlflow-inplace: for the old behaviour) - #9
Merged
Merged
Conversation
--config mlflow:<run> now logs the continuation as a new MLflow run named <original>-from-step<N>, tagged mlflow.parentRunId (nested under the original in the UI), mlcast.resumed_from_run and mlcast.resumed_from_checkpoint. The new run can log its own params, config and status, which MLflow doesn't allow in the original run (params are immutable, so e.g. a longer max_time was rejected). Step numbers carry on from the checkpoint. --config mlflow-inplace:<run> keeps the old behaviour. The run id/name/links inherited from a config saved by an earlier resume are dropped, and config/config.yaml is preferred over older temp-named config files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Follow-up to #6. Resuming intrigued-sow-455 in place showed the limits of continuing inside the original run: MLflow rejected the changed
trainer.max_timeparam (params are immutable), and the run's status/console log get overwritten by each continuation.Change
--config mlflow:<run>now logs the continuation as a new run named<original>-from-step<N>, tagged:mlflow.parentRunId= original (the UI nests it under the original)mlcast.resumed_from_run= original run idmlcast.resumed_from_checkpoint= checkpoint filename--config mlflow-inplace:<run>keeps logging into the original run (previous behaviour).resume_traininggainsinplaceandrun_name. For a linked run it clears anyrun_id,run_nameand links inherited from a config saved by an earlier resume (otherwise it would log into the old run again).config.yamlfrom an in-place resume),config/config.yamlis used.Testing
upset-calf-592-from-step40with the three tags pointing at the original, its ownconfig/andlogs/, checkpoints at step 60; the original run was untouched.inplace, themlflow-inplace:prefix, and config.yaml preference. Full suite: 177 passed, 5 skipped.🤖 Generated with Claude Code