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 log level and should_log_artifact #1603

Merged
merged 2 commits into from
Oct 8, 2022

Conversation

dakinggg
Copy link
Contributor

@dakinggg dakinggg commented Oct 7, 2022

What does this PR do?

Removes the should_log_artifact which was unused as far as we know, and would require a user writing a custom filter function that takes in state and LogLevel to decide whether to log an artifact. Also, the WandBLogger did not support this argument. should_log_artifact was also the only use of LogLevel, so that has been removed everywhere.

What issue(s) does this change relate to?

Closes CO-1189
Relates to CO-1167

Manual testing

Manually tested saving (loading) checkpoints to (from) WandB and S3.

@dakinggg dakinggg requested review from a team and eracah as code owners October 7, 2022 21:03
@dakinggg dakinggg changed the title Remove log level Remove log level and should_log_artifact Oct 7, 2022
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.

Amazing. Feels so good to get rid of LogLevel. Like a big monkey off of our backs

@dakinggg dakinggg merged commit 48661e9 into mosaicml:dev Oct 8, 2022
@dakinggg dakinggg deleted the remove_log_level branch October 20, 2022 18:28
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