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

[air][tune] Aim logger #32041

Merged
merged 77 commits into from
Mar 3, 2023
Merged

[air][tune] Aim logger #32041

merged 77 commits into from
Mar 3, 2023

Conversation

ju2ez
Copy link
Contributor

@ju2ez ju2ez commented Jan 30, 2023

Why are these changes needed?

The default tensorboardx logger, though very powerful has some downsides to it like poor scalability (slow with many experiments). With this PR I want to give the option for an alternative (powerful) logger in form of the aim logger.

Related issue number

Closes #30537

Fixes #30674

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • proper unit testing of the written aim metrics
    • Release tests

ju2ez and others added 19 commits January 30, 2023 02:17
Signed-off-by: Julian <julianhatzky@googlemail.com>
Signed-off-by: Julian <julianhatzky@googlemail.com>
Signed-off-by: Julian <julianhatzky@googlemail.com>
Signed-off-by: Julian <julianhatzky@googlemail.com>
Signed-off-by: Julian <julianhatzky@googlemail.com>
Signed-off-by: Julian <julianhatzky@googlemail.com>
Signed-off-by: tmynn <hovhannes.tamoyan@gmail.com>
Signed-off-by: Julian <julianhatzky@googlemail.com>
Signed-off-by: Julian <JulianHatzky@googlemail.com>
Signed-off-by: tmynn <hovhannes.tamoyan@gmail.com>
Signed-off-by: Julian <julianhatzky@googlemail.com>
Signed-off-by: tmynn <hovhannes.tamoyan@gmail.com>
…ary (aim)

Signed-off-by: Julian <julianhatzky@googlemail.com>
Signed-off-by: tmynn <hovhannes.tamoyan@gmail.com>
Co-authored-by: Justin Yu <justinvyu@anyscale.com>
Signed-off-by: Julian <JulianHatzky@googlemail.com>
Signed-off-by: tmynn <hovhannes.tamoyan@gmail.com>
Signed-off-by: Julian <julianhatzky@googlemail.com>
Signed-off-by: tmynn <hovhannes.tamoyan@gmail.com>
Signed-off-by: Julian <julianhatzky@googlemail.com>
Signed-off-by: tmynn <hovhannes.tamoyan@gmail.com>
Signed-off-by: Julian <julianhatzky@googlemail.com>
Signed-off-by: tmynn <hovhannes.tamoyan@gmail.com>
Signed-off-by: Julian <julianhatzky@googlemail.com>
Signed-off-by: tmynn <hovhannes.tamoyan@gmail.com>
…k.Run class.

Signed-off-by: Julian <julianhatzky@googlemail.com>
Signed-off-by: tmynn <hovhannes.tamoyan@gmail.com>
Signed-off-by: Julian <julianhatzky@googlemail.com>
Signed-off-by: Julian <julianhatzky@googlemail.com>
Copy link
Contributor

@richardliaw richardliaw left a comment

Choose a reason for hiding this comment

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

mostly looks good!

python/ray/tune/logger/__init__.py Outdated Show resolved Hide resolved
python/ray/tune/logger/aim.py Outdated Show resolved Hide resolved
@justinvyu justinvyu requested a review from richardliaw February 7, 2023 20:55
@ju2ez
Copy link
Contributor Author

ju2ez commented Feb 13, 2023

@justinvyu @richardliaw what's left here to do?

@justinvyu
Copy link
Contributor

@justinvyu @richardliaw what's left here to do?

Hey @ju2ez, we're currently waiting on a patch release on aim's side to fix its requirements.txt. Currently, aim fails on our CI due to the version of a certain dependency being incompatible and erroring out. Should be on track to merge it in this week!

Signed-off-by: Justin Yu <justinvyu@berkeley.edu>
Signed-off-by: Justin Yu <justinvyu@berkeley.edu>
Signed-off-by: Justin Yu <justinvyu@berkeley.edu>
Signed-off-by: Justin Yu <justinvyu@berkeley.edu>
@justinvyu justinvyu self-requested a review March 2, 2023 01:24
Copy link
Contributor

@justinvyu justinvyu left a comment

Choose a reason for hiding this comment

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

@richardliaw Should be good after tests pass. Could you also switch your review to approve after a last look?

@justinvyu justinvyu added the tests-ok The tagger certifies test failures are unrelated and assumes personal liability. label Mar 2, 2023
Signed-off-by: Justin Yu <justinvyu@berkeley.edu>
Signed-off-by: Justin Yu <justinvyu@berkeley.edu>
Signed-off-by: Justin Yu <justinvyu@berkeley.edu>
@richardliaw richardliaw merged commit 98cee18 into ray-project:master Mar 3, 2023
ProjectsByJackHe pushed a commit to ProjectsByJackHe/ray that referenced this pull request Mar 21, 2023
Co-authored-by: Justin Yu <justinvyu@anyscale.com>
Co-authored-by: angelinalg <122562471+angelinalg@users.noreply.github.com>
Co-authored-by: tmynn <hovhannes.tamoyan@gmail.com>
Co-authored-by: Justin Yu <justinvyu@berkeley.edu>
Closes ray-project#30537
Fixes ray-project#30674

Signed-off-by: Jack He <jackhe2345@gmail.com>
edoakes pushed a commit to edoakes/ray that referenced this pull request Mar 22, 2023
Co-authored-by: Justin Yu <justinvyu@anyscale.com>
Co-authored-by: angelinalg <122562471+angelinalg@users.noreply.github.com>
Co-authored-by: tmynn <hovhannes.tamoyan@gmail.com>
Co-authored-by: Justin Yu <justinvyu@berkeley.edu>
Closes ray-project#30537
Fixes ray-project#30674

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
peytondmurray pushed a commit to peytondmurray/ray that referenced this pull request Mar 22, 2023
Co-authored-by: Justin Yu <justinvyu@anyscale.com>
Co-authored-by: angelinalg <122562471+angelinalg@users.noreply.github.com>
Co-authored-by: tmynn <hovhannes.tamoyan@gmail.com>
Co-authored-by: Justin Yu <justinvyu@berkeley.edu>
Closes ray-project#30537
Fixes ray-project#30674
elliottower pushed a commit to elliottower/ray that referenced this pull request Apr 22, 2023
Co-authored-by: Justin Yu <justinvyu@anyscale.com>
Co-authored-by: angelinalg <122562471+angelinalg@users.noreply.github.com>
Co-authored-by: tmynn <hovhannes.tamoyan@gmail.com>
Co-authored-by: Justin Yu <justinvyu@berkeley.edu>
Closes ray-project#30537
Fixes ray-project#30674

Signed-off-by: elliottower <elliot@elliottower.com>
ProjectsByJackHe pushed a commit to ProjectsByJackHe/ray that referenced this pull request May 4, 2023
Co-authored-by: Justin Yu <justinvyu@anyscale.com>
Co-authored-by: angelinalg <122562471+angelinalg@users.noreply.github.com>
Co-authored-by: tmynn <hovhannes.tamoyan@gmail.com>
Co-authored-by: Justin Yu <justinvyu@berkeley.edu>
Closes ray-project#30537
Fixes ray-project#30674

Signed-off-by: Jack He <jackhe2345@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests-ok The tagger certifies test failures are unrelated and assumes personal liability.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integration of aim metric tracker as an alternative to tensorboardx in ray tune
5 participants