Skip to content
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

Remove runtime estimator state dict #2015

Merged

Conversation

mvpatel2000
Copy link
Contributor

@mvpatel2000 mvpatel2000 commented Feb 28, 2023

What does this PR do?

Removes any state information from runtime estimator. This simplifies checkpoints. Also fixes resumption, which was broken before.

image

Example above. Note that the orange line starts below since it doesn't know about eval when resuming until first eval.

What issue(s) does this change relate to?

CO-1851

Copy link
Contributor

@eracah eracah left a comment

Choose a reason for hiding this comment

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

LGTM. Why did it have a state_dict to begin with?

@mvpatel2000
Copy link
Contributor Author

LGTM. Why did it have a state_dict to begin with?

Bad design :(

@mvpatel2000 mvpatel2000 merged commit f964848 into mosaicml:dev Mar 1, 2023
@mvpatel2000 mvpatel2000 deleted the mvpatel2000/patch-runtime-estimator branch March 1, 2023 02:51
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