Skip to content

[tests] add a test on torch compile for varied resolutions #11776

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

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

Conversation

sayakpaul
Copy link
Member

What does this PR do?

After #11360 and #11297, we can notice how torch.compile() can also benefit scenarios that go through shape changes.

This PR adds a test to catch recompilation errors on shape changes when compilation was performed with dynamic=True. I think it mimics many practical user workflows.

Requesting a review from Yiyi as you were interested in this feature.

Cc: @anijain2305 @StrongerXi for visibility.

@sayakpaul sayakpaul requested review from DN6 and yiyixuxu June 23, 2025 09:35
@sayakpaul sayakpaul added performance Anything related to performance improvements, profiling and benchmarking torch.compile labels Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Anything related to performance improvements, profiling and benchmarking torch.compile
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant