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

[AIR] [Release] Fix air_benchmark_pytorch_training_e2e_gpu_1x1_20gb #29326

Merged

Conversation

amogkam
Copy link
Contributor

@amogkam amogkam commented Oct 13, 2022

Signed-off-by: Amog Kamsetty [email protected]

Changes to the release test to fix breaking read_images changes

Closes #29240

Why are these changes needed?

Related issue number

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 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: Amog Kamsetty <[email protected]>
Signed-off-by: Amog Kamsetty <[email protected]>
@amogkam
Copy link
Contributor Author

amogkam commented Oct 14, 2022

Signed-off-by: Amog Kamsetty <[email protected]>
@amogkam amogkam merged commit 813be65 into ray-project:master Oct 14, 2022
@amogkam amogkam deleted the fix-benchmark-training-preprocessing branch October 14, 2022 16:41
# Fix fixed synthetic value for perf benchmark purpose
df.loc[:, "label"] = df["label"].map(lambda _: 1)
df = pd.DataFrame(
{"image": [preprocess(image) for image in batch], "label": [1] * len(batch)}
Copy link
Member

Choose a reason for hiding this comment

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

wait do we still need to return a DataFrame here ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No probably not, but I'm just following what was recommended in this PR: https://github.com/ray-project/ray/pull/29177/files#diff-e2bccb297d421f0dcff1892c4f23993064f52b17710787c41c3a2ae9dbc84159L13

#29177 should have updated these release tests but it was missed.

We should do another round making sure all the docs, examples, and tests are consistent with each other.

WeichenXu123 pushed a commit to WeichenXu123/ray that referenced this pull request Dec 19, 2022
…ay-project#29326)

Signed-off-by: Amog Kamsetty [email protected]

Changes to the release test to fix breaking read_images changes

Signed-off-by: Weichen Xu <[email protected]>
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][ci] air_benchmark_pytorch_training_e2e_gpu_1x1_20gb failed
3 participants