Skip to content

Runs: Resume run word smithing#2220

Open
ngrayluna wants to merge 4 commits intomainfrom
resume_run_quick_fix
Open

Runs: Resume run word smithing#2220
ngrayluna wants to merge 4 commits intomainfrom
resume_run_quick_fix

Conversation

@ngrayluna
Copy link
Contributor

Description

Auto enable resume run section used the wrong argument. Also reworded some content to (hopefully) make it more clear.

@ngrayluna ngrayluna requested a review from a team as a code owner March 3, 2026 22:15
@ngrayluna ngrayluna changed the title Resume run quick fix Runs: Resume run word smithing Mar 3, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2026

🔗 Link Checker Results

All links are valid!

No broken links were detected.

Checked against: https://wb-21fd5541-resume-run-quick-fix.mintlify.app

@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2026

📚 Mintlify Preview Links

🔗 View Full Preview

📝 Changed (1 total)

📄 Pages (1)

File Preview
models/runs/resuming.mdx Resuming

🤖 Generated automatically when Mintlify deployment succeeds
📍 Deployment: 9effda7 at 2026-03-03 23:06:36 UTC

---

Specify how a run should behave in the event that run stops or crashes. To resume or enable a run to automatically resume, you will need to specify the unique run ID associated with that run for the `id` parameter:
Specify how W&B should respond if a run stops or crashes. When you initialize a run you can specify how W&B should respond if the run stops or crashes by passing an argument to the `resume` parameter. W&B checks if the run ID already exists and responds based on the argument passed to the `resume` parameter.
Copy link
Contributor

@mdlinville mdlinville Mar 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Specify how W&B should respond if a run stops or crashes. When you initialize a run you can specify how W&B should respond if the run stops or crashes by passing an argument to the `resume` parameter. W&B checks if the run ID already exists and responds based on the argument passed to the `resume` parameter.
This page shows how to configure how W&B will handle a stopped or crashed run. By default, W&B always initializes a new run. If you an argument to the `resume` parameter when you initialize the run, W&B attempts to resume the run with the exact same run ID instead of initializing a new run with the same run ID.

WDYT? As currently written, this seems kind of hard to understand, at least for me.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How bout this?

Specify how W&B should respond if a run stops or crashes by setting the resume parameter in wandb.init(). When you initialize a run, W&B checks whether the run ID already exists and applies the behavior defined by the resume value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants