-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
guide: GH resuming workflow #207
Labels
Comments
more musings (for live = dvclive.Live(resume=True)
model = Model(load="model.pkl" if Path("model.pkl").exists() else None)
while (epoch := live.get_step()) < 100:
history = model.fit(X, Y, epochs=1)
if epoch % 10 == 0: # at most 10 epochs are lost upon CML respawing a spot instance
model.save("model.pkl")
live.log("loss", history['loss'])
live.next_step() |
Out of curiosity, what makes this p1? Perhaps there are there lots of support cases that could be avoided by or redirected to this? Thanks |
lots of support requests over YEARS; super overdue. |
This was referenced Nov 24, 2022
deprioritized and frozen. Removing from CML project board for now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add a self-hosted long-running example to https://cml.dev/doc/cml-with-dvc (or somewhere else)
cml runner --reuse --labels=cml
and probably--cloud-spot
runs-on: [self-hosted, cml]
andtimeout-minutes: 50400
timeout-minutes: 50400
- this signals to CML to restart the workflow just before timeout.The text was updated successfully, but these errors were encountered: