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

Make compile count in Dynamo test more general #6802

Merged
merged 3 commits into from
Mar 22, 2024

Conversation

JackCaoG
Copy link
Collaborator

There has been a lot of changes regarding sgd + dynamo. The purpose of the test_dynamo.py test_resnet18 was to make sure the CompileTime does not increase for the PyTorch/XLA over the time. Instead of using a strict assertEqual we can use assertLessEqual to avoid breaking upstream pytorch prs even if they managed to reduce the compile count for us.

The most recent pr that failed this test is pytorch/pytorch#122349

Copy link
Contributor

@yeounoh yeounoh left a comment

Choose a reason for hiding this comment

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

LGTM

@JackCaoG JackCaoG merged commit 2e5c3b6 into master Mar 22, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants