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

[Tests][Doc] Remove LightningTrainer PBT Examples and Test #36476

Merged

Conversation

woshiyyya
Copy link
Member

@woshiyyya woshiyyya commented Jun 15, 2023

Why are these changes needed?

Removing the PBT example for LightningTrainer to fix the flaky release test lightning_gpu_tune_3x16_3x1.aws.

The perturbed learning rate set by PBT is also not used, since Lightning's optimizer state will be fully loaded back. In general, we should remove the samples and tests for LightningTrainer with PBT, since it currently doesn't actually do anything.

Kicked off a release test: https://buildkite.com/ray-project/release-tests-pr/builds/42409#0188c120-a83b-4233-ae49-b1b370db7bea

Related issue number

Closes #36403

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 added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • 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 :(

Signed-off-by: woshiyyya <xiaoyunxuan1998@gmail.com>
@woshiyyya woshiyyya marked this pull request as ready for review June 15, 2023 22:17
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.

Thanks! Should we also include "PBT is not compatible with LightningTrainer" somewhere in the docs? Another option is to just open an issue and collect feedback if users are actively trying to get that to work.

Signed-off-by: woshiyyya <xiaoyunxuan1998@gmail.com>
@woshiyyya
Copy link
Member Author

@justinvyu OK, added a note in the example.

Another option is to just open an issue and collect feedback if users are actively trying to get that to work.

Or maybe make post in discuss.ray.io?

Copy link
Contributor

@matthewdeng matthewdeng left a comment

Choose a reason for hiding this comment

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

+1 to creating a Github issue to track this as a feature request.

@matthewdeng matthewdeng merged commit 42f128a into ray-project:master Jun 21, 2023
@woshiyyya
Copy link
Member Author

Created a tracking issue: #36660

arvind-chandra pushed a commit to lmco/ray that referenced this pull request Aug 31, 2023
…ct#36476)

Signed-off-by: woshiyyya <xiaoyunxuan1998@gmail.com>
Signed-off-by: e428265 <arvind.chandramouli@lmco.com>
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.

[release/air] lightning_gpu_tune_3x16_3x1.aws is flaky due to LightningTrainer not working with PBT
3 participants