-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add Mlflow integration callback. #1028
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
Conversation
@sile @toshihikoyanase @g-votte #!/bin/bash -eo pipefail
. venv/bin/activate
mypy .
optuna/integration/mlflow.py:49: error: "FixedTrial" has no attribute "number"
optuna/integration/mlflow.py:51: error: "FixedTrial" has no attribute "value"
optuna/integration/mlflow.py:60: error: "FixedTrial" has no attribute "number"
optuna/integration/mlflow.py:62: error: "FixedTrial" has no attribute "datetime_complete"
optuna/integration/mlflow.py:63: error: "FixedTrial" has no attribute "state"
Found 5 errors in 1 file (checked 122 source files)
Exited with code exit status 1 |
@PhilipMay
I think it's because the expected type is not |
@g-votte thanks. Now I have this issue:
|
@PhilipMay |
3fd9e52
to
c348e8e
Compare
Codecov Report
@@ Coverage Diff @@
## master #1028 +/- ##
=======================================
Coverage 90.40% 90.40%
=======================================
Files 128 128
Lines 11159 11159
=======================================
Hits 10088 10088
Misses 1071 1071 Continue to review full report at Codecov.
|
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.
Although some more changes would be done later for setup.py
and test cases, I put several comments for the current implementation.
@g-votte @toshihikoyanase |
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.
Thanks a lot for you continuously working on this feature! Although I still would like add more detailed review later, I put a few comments.
Thanks for your comments and recommendations. I incorporated everything. Are there any more issues you see? |
Merged and rebased master again. |
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.
Thanks a lot for your quick and continuous actions! I put some additional comments.
I'd still like to work on some more review.
e3b77b0
to
74843df
Compare
Resolved all review items and merged + rebased master again. |
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.
Thanks for the PR and sorry for my late participation. I left some comments if you could take a look.
Co-Authored-By: Hiroyuki Vincent Yamazaki <hiroyuki.vincent.yamazaki@gmail.com>
Co-Authored-By: Hiroyuki Vincent Yamazaki <hiroyuki.vincent.yamazaki@gmail.com>
Co-Authored-By: Shotaro Sano <g-votte@users.noreply.github.com>
Merged and rebased master again. |
Thanks for the comment!
You're right. I agree😄 |
All remarks are handled, code changes accepted and tests are green. |
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. We may want to follow up the nested run question and other nits after merging this PR.
@PhilipMay
Thanks a lot for your long-running contribution!
@harupy
Thank you very much for your feedback!
Yes - thanks. Was fun with you implementing and discussing this stuff. Although I initialy thought that it would be easier and quicker I learned a lot from your comments and remarks. |
This is the PR for a Mlflow integration callback. Also see the discussion here: #1017
Todo
setup.py