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

reenable disabled pt2e test #7059

Merged
merged 2 commits into from
May 15, 2024
Merged

reenable disabled pt2e test #7059

merged 2 commits into from
May 15, 2024

Conversation

lsy323
Copy link
Collaborator

@lsy323 lsy323 commented May 14, 2024

Fixes the disabled test in #7052

Workaround pytorch/pytorch#126189

Update:
Add the step of running example inputs through pt2e graph before convert resolves the issue. Detail at pytorch/pytorch#126189 (comment)

cc @sdasgup3 @paulinesho

@lsy323 lsy323 requested a review from qihqi May 14, 2024 18:27
@sdasgup3
Copy link
Collaborator

@lsy323 Do we need this if we can run the model using sample inputs before quantization.

@lsy323
Copy link
Collaborator Author

lsy323 commented May 14, 2024

@lsy323 Do we need this if we can run the model using sample inputs before quantization.

No, I'll just update the test script.

@lsy323 lsy323 changed the title Broadcast scales and zero_point for per-channel quantize reenable dosabled pt2e test May 14, 2024
@lsy323 lsy323 changed the title reenable dosabled pt2e test reenable disabled pt2e test May 14, 2024
@lsy323 lsy323 merged commit df0d147 into master May 15, 2024
20 checks passed
@lsy323 lsy323 deleted the lsiyuan/pt2e-bdct branch May 15, 2024 04:28
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.

2 participants