-
Notifications
You must be signed in to change notification settings - Fork 6k
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 to pull model from a public s3 bucket
#36276
[release/air] Fix air_example_gptj_deepspeed_fine_tuning.gce
failing to pull model from a public s3 bucket
#36276
Conversation
…an download without credentials) Signed-off-by: Justin Yu <justinvyu@anyscale.com>
Running release test: https://buildkite.com/ray-project/release-tests-pr/builds/41810 |
GCE: 55 minutes (training time) + 6 minutes (model download time) --> > 1 hour
AWS: ~45 minutes (training time) + 5 minutes (model download time) = 50 minutes (~10 minutes faster in total)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good to me but it looks like the test timed out - should we increase the timeout here?
@krfricke The GCE version is taking like 10 minutes longer for some reason. The instances used between GCE and AWS are slightly different which could be the reason, but I'm wondering if there's another underlying problem here. Let's increase the timeout as you suggest and then we can investigate what takes the GCE 10 minutes longer after. New release test runs: https://buildkite.com/ray-project/release-tests-pr/builds/42246#0188bbb4-5953-4b12-914c-f760a784436b |
…ase/gptj_finetuning_gce
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
…ase/gptj_finetuning_gce
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
The tests are now failing due to a new HF datasets release. This PR now also includes a fix for that. See release tests running here: https://buildkite.com/ray-project/release-tests-pr/builds/42420 |
…13.0" This reverts commit 5f6e700. Signed-off-by: Justin Yu <justinvyu@anyscale.com>
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
…ase/gptj_finetuning_gce
Latest successful run of release tests: https://buildkite.com/ray-project/release-tests-pr/builds/42460 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looks good to me.
…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>
…g... (#36562) * [release/air] Fix `air_example_gptj_deepspeed_fine_tuning.gce` failing 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`. Signed-off-by: Justin Yu <justinvyu@anyscale.com> * undo code change Signed-off-by: Kai Fricke <kai@anyscale.com> * undo code change Signed-off-by: Kai Fricke <kai@anyscale.com> --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com> Signed-off-by: Kai Fricke <kai@anyscale.com> Co-authored-by: Justin Yu <justinvyu@anyscale.com>
…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> Signed-off-by: e428265 <arvind.chandramouli@lmco.com>
Why are these changes needed?
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
breakingTransformersTrainer
.Other notes
IterableDataset.from_generator
to avoid using these semi-privateExamplesIterable
way of creating the iterable dataset, but this led to an infinite recursive pickling error.ExamplesIterable
because we don't use anything inExamplesIterable
anyways.datasets
pinned version to another PR.Related issue number
Closes #36274 and fixes #36772
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.