-
Notifications
You must be signed in to change notification settings - Fork 41
Add Trackio Integration for Optuna #259
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
base: main
Are you sure you want to change the base?
Conversation
|
@ParagEkbote Thank you for your pull request. Could you fix the CI error? I think you can skip Python 3.9 test by specifying
|
c-bata
left a comment
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.
Thank you the updates! I left an early feedback comment.
Due to the year-end and New Year holidays, my review may take a bit longer than usual. I’ll get back to you once I’m able to resume the review.
Co-authored-by: c-bata <contact@c-bata.link>
|
This pull request has not seen any recent activity. |
Fixes #248
Motivation
As described in the issue, this PR implements an
TrackioCallbackfor optuna-integration. Currently, trackio has a min python version of 3.10 and since python 3.9 has reached EOL, we will be required to bump the min. version in this repo to ensure that CI will be green.Description of the changes
The implementation of the callback is similar to the wandb callback, as the library is designed to be an open-source and offline alternative to wandb. The main difference between the wandb and trackio is that trackio does not rely on a global mutable state, each run is explicitly created and each run has a fixed lifetime. The API docs have also helped to define the scope of the callback.
The runs can be visualized as follows:
We can also display the results as an HF Space and an dataset. The example is as follows:
If the results are not synced, you can do so with the following command:
Could you please review?
cc: @nzw0301