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

[tune/wandb] Fix WandbTrainableMixin config for rllib trainables #22063

Merged
merged 3 commits into from
Feb 3, 2022

Conversation

krfricke
Copy link
Contributor

@krfricke krfricke commented Feb 2, 2022

Why are these changes needed?

The WandbTrainableMixin doesn't work with RLLib trainables as they won't recognize the wandb parameter. Thus we should pop the wandb config before we initialize the rest of the trainable.

Related issue number

Checks

  • 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
    • Release tests
    • This PR is not tested :(

@Yard1
Copy link
Member

Yard1 commented Feb 2, 2022

Can we test for this?

Copy link
Contributor

@xwjiang2010 xwjiang2010 left a comment

Choose a reason for hiding this comment

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

Thanks Kai. How is this related to the riot issue? i.e. doesn't seem related to the gRPC issue that they were seeing right? just confirming...

@krfricke
Copy link
Contributor Author

krfricke commented Feb 3, 2022

Unfortunately does not solve the issue, but may provide a workaround (to be tested)

@krfricke krfricke merged commit bbc64eb into ray-project:master Feb 3, 2022
@krfricke krfricke deleted the tune/wandb-config branch February 3, 2022 16:20
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.

3 participants