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

[ROCm] torch.sum optimization by increasing min_values_per_thread #1591

Merged
merged 1 commit into from
Sep 13, 2024
Merged

[ROCm] torch.sum optimization by increasing min_values_per_thread #1591

merged 1 commit into from
Sep 13, 2024

Conversation

jerrymannil
Copy link

Follow-up to pytorch#135397.
AMD gpus perform better with fewer thread blocks.
So increase the min_values_per_thread as well.
This helped improved CvT benchmark performance on MI300X

Co-author: @carlobertolli

Follow-up to pytorch#135397
AMD gpus perform better with fewer thread blocks
So increase the min_values_per_thread as well

Co-author: https://github.com/carlobertolli
Copy link

@carlobertolli carlobertolli left a comment

Choose a reason for hiding this comment

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

LGTM

@pruthvistony pruthvistony merged commit c1b6f60 into ROCm:release/2.4 Sep 13, 2024
1 check failed
jithunnair-amd pushed a commit that referenced this pull request Oct 23, 2024
)

Follow-up to pytorch#135397.
AMD gpus perform better with fewer thread blocks.
So increase the min_values_per_thread as well.
This helped improved
[CvT](https://github.com/facebookresearch/FAMBench/tree/main/benchmarks/cvt)
benchmark performance on MI300X

Co-author: @carlobertolli
(cherry picked from commit c1b6f60)
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.

3 participants