-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Update mlflow with using resolve_tags #6746
Conversation
#6745 adds additional info about the run, as in the native API
Codecov Report
@@ Coverage Diff @@
## master #6746 +/- ##
========================================
- Coverage 91% 83% -9%
========================================
Files 192 192
Lines 12174 13174 +1000
========================================
- Hits 11133 10869 -264
- Misses 1041 2305 +1264 |
trying to fix some backward compatibility issues with `resolve_tags`
Hello @stllfe! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-04-05 06:15:37 UTC |
added a default for `getattr` in case the `registry` object exists, but has no proper attribute (weird case but who knows...)
Any suggestions on code formatting and typing checks? |
fixed, mind re-check whether it is what you want to get? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my testing, it shows that everything works great with at least v1.0.0
and above of mlflow!
FYI, the part with resolve_tags
works even below that version, but then some other places still do break. Say, in version 0.9.1
they had run.info.run_uuid
as opposed to run.info.run_id
in later versions, etc. However, there are more drastic changes in metrics logging API, so I guess it would be just easier to highlight somewhere that the lowest supported version is v1.0.0
... In MLFlowLogger docs maybe?
@stllfe mind check the failing test? |
removed the first if statement, so that `resolve_tags` would be defined either case
@Borda done! Removed that |
The failed tests are unrelated. Can you also update the CHANGELOG? Do you see a way to test this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !
Fixes #6745: adds additional info about the run, as in the native API. This message is also related to what I'd like to solve.