feat: easy job replication from W&B job url #582
Draft
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.
The
automodelCLI enables users to run jobs interactively or in batch mode (e.g., on SLURM or k8s) based on the contents of a YAML config. The Wandb is often used to log metrics (such as loss and gradient_norm), but also the config that was used to launch a job.This PR introduces two more commands to the
automodelCLI:replicateresumeBy running
automodel replicate <wandb_job_url>the same job is launched again on the user's hardware. This is a great feature for collaboration, but also for debugging, since with the help of uv/docker we can get the exact same environment.And finally, the
automodel resume <wandb_job_url>allows users to resume a previous run job -- assuming that the checkpoints for the job are still accessible.