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

[release/air] Fix air_example_gptj_deepspeed_fine_tuning.gce failing... #36562

Conversation

krfricke
Copy link
Contributor

@krfricke krfricke commented Jun 20, 2023

... to pull model from a public s3 bucket (#36276)

This PR fixes the air_example_gptj_deepspeed_fine_tuning.gce release test. It was failing due to our GCE nodes not having an AWS credentials file. This is not needed due to the s3 bucket being public, so we just pass a --no-sign-request flag to use AWS cli as an anonymous user. This also removes the --quiet flag since this cell is not shown to users anyways, and it'd help us catch some aws cli error in the future.

This PR also fixes the recent datasets==2.13.0 breaking TransformersTrainer.

Why are these changes needed?

Related issue number

Closes #36507

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

…g to pull model from a public s3 bucket (ray-project#36276)

This PR fixes the `air_example_gptj_deepspeed_fine_tuning.gce` release test. It was failing due to our GCE nodes not having an AWS credentials file. This is not needed due to the s3 bucket being public, so we just pass a `--no-sign-request` flag to use AWS cli as an anonymous user. This also removes the `--quiet` flag since this cell is not shown to users anyways, and it'd help us catch some aws cli error in the future.

This PR also fixes the recent `datasets==2.13.0` breaking `TransformersTrainer`.

Signed-off-by: Justin Yu <justinvyu@anyscale.com>
@krfricke krfricke marked this pull request as ready for review June 20, 2023 07:33
@krfricke
Copy link
Contributor Author

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.

It might be too late to include this full PR in 2.5.1 since the wheel is already generated - in particular, the changes to fix datasets.

We can just include the documentation fix?

@ArturNiederfahrenhorst ArturNiederfahrenhorst added the @author-action-required The PR author is responsible for the next step. Remove tag to send back to the reviewer. label Jun 20, 2023
@zhe-thoughts
Copy link
Collaborator

+1 to just include docs fixes

Kai Fricke added 2 commits June 21, 2023 09:52
Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Kai Fricke <kai@anyscale.com>
@krfricke
Copy link
Contributor Author

Updated! PTAL

@krfricke krfricke removed the @author-action-required The PR author is responsible for the next step. Remove tag to send back to the reviewer. label Jun 21, 2023
@ArturNiederfahrenhorst ArturNiederfahrenhorst merged commit 3efd5e0 into ray-project:releases/2.5.1 Jun 21, 2023
@krfricke krfricke deleted the 2.5.1/pin-transformers branch September 22, 2023 22:43
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.

6 participants