Skip to content

[tune] Remove Trainable.update_resources#22471

Merged
richardliaw merged 4 commits intoray-project:masterfrom
Yard1:remove_trainable_update_resources
Feb 25, 2022
Merged

[tune] Remove Trainable.update_resources#22471
richardliaw merged 4 commits intoray-project:masterfrom
Yard1:remove_trainable_update_resources

Conversation

@Yard1
Copy link
Copy Markdown
Member

@Yard1 Yard1 commented Feb 17, 2022

Why are these changes needed?

This API wasn't useful in the first place and was made obsolete by being able to access the current Trainable resources by Trainable.trial_resources.

Related issue number

Closes #22392

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 :(

Copy link
Copy Markdown
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 for the change! Let's just wait for the tests to finish.

@richardliaw richardliaw merged commit d5284a7 into ray-project:master Feb 25, 2022
@Yard1 Yard1 deleted the remove_trainable_update_resources branch February 25, 2022 16:47
simonsays1980 pushed a commit to simonsays1980/ray that referenced this pull request Feb 27, 2022
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.

[tune] remove update_resources from Trainable API

4 participants