-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Streamlined Rearrange in SpatialAttentionBlock #8130
Conversation
Signed-off-by: Boris Fomitchev <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: Boris Fomitchev <[email protected]>
PR looks good to me, please ensure the logic is covered by unit tests. Thanks. |
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.
Hi @borisfom, thanks for the update. Overall looks good to me.
We've already code freeze for version 1.4, and QA is expected to complete their testing by the end of this week. As a result, this PR may not be included in the 1.4 release. Thank you for your understanding!
/build |
@KumoLiu : Sure, obviously it doesn't make it to 1.4, so the target is dev branch. Can we get it merged? |
/build |
/build |
The Rearrange code failed dynamo export in 24.09 container:
pytorch/pytorch#137629
While we can't still use dynamo export with TRT in 23.09, I also noticed that my workaround improved runtime by about 1 second end-to-end for 100 seconds run.
Description
Replaced einops Rearrange with reshape/transpose
Types of changes