Skip to content

Conversation

@borisfom
Copy link
Contributor

@borisfom borisfom commented Oct 9, 2024

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

  • Non-breaking change (fix or new feature that would not break existing functionality).

borisfom and others added 4 commits October 9, 2024 15:06
Signed-off-by: Boris Fomitchev <bfomitchev@nvidia.com>
Signed-off-by: Boris Fomitchev <bfomitchev@nvidia.com>
@Nic-Ma
Copy link
Contributor

Nic-Ma commented Oct 10, 2024

PR looks good to me, please ensure the logic is covered by unit tests.
@yiheng-wang-nv @KumoLiu Please help review this PR.

Thanks.

Copy link
Contributor

@KumoLiu KumoLiu left a 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!

@borisfom
Copy link
Contributor Author

/build

@borisfom
Copy link
Contributor Author

@KumoLiu : Sure, obviously it doesn't make it to 1.4, so the target is dev branch. Can we get it merged?

@KumoLiu
Copy link
Contributor

KumoLiu commented Oct 17, 2024

/build

@KumoLiu KumoLiu enabled auto-merge (squash) October 17, 2024 01:03
@KumoLiu
Copy link
Contributor

KumoLiu commented Oct 22, 2024

/build

@KumoLiu KumoLiu merged commit 052dbb4 into Project-MONAI:dev Oct 22, 2024
28 checks passed
@borisfom borisfom deleted the fix-rearrange branch October 22, 2024 19:40
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