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

optimize upsample bilinear backward #1370

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

jianyizh
Copy link
Contributor

@jianyizh jianyizh commented Feb 17, 2025

We do not need to use atomic add for this op. Currently I only implement the case of align corners = True

Before: These kernels take 31ms out of 82ms in torchbench pytorch_unet fp16 training.
Now they takes 2.26ms out of 51ms....

@jianyizh jianyizh changed the title optimize upsample bilinear backward [WIP] optimize upsample bilinear backward Feb 17, 2025
@jianyizh jianyizh changed the title [WIP] optimize upsample bilinear backward optimize upsample bilinear backward Feb 18, 2025
@jianyizh jianyizh force-pushed the jianyi/upsample_bilinear_bwd branch from 323b24a to 279c6f0 Compare February 19, 2025 03:03
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.

1 participant