-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[quant][refactor tests] Clean up test_quantization.py #59088
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
Conversation
Summary: Clean up comments and organize the tests better Test Plan: python test/test_quantization.py Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit 11283f5 (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions to the (internal) Dr. CI Users group. |
@supriyar has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Summary: Clean up comments and organize the tests better Test Plan: python test/test_quantization.py Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D28750064](https://our.internmc.facebook.com/intern/diff/D28750064) [ghstack-poisoned]
from quantization.core.test_quantized_op import TestQNNPackOps # noqa: F401 | ||
from quantization.core.test_quantized_op import TestQuantizedLinear # noqa: F401 |
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.
I feel ideally we should merge these into TestQuantizedOps actually.
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.
Yeah I think we can have a unified class for all ops. I'll add a todo
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.
Looks good, had one comment that can be addressed in a future PR.
@supriyar has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
This pull request has been merged in 886a2dd. |
Summary: Pull Request resolved: pytorch#59088 Clean up comments and organize the tests better Test Plan: python test/test_quantization.py Imported from OSS Reviewed By: jerryzh168 Differential Revision: D28750064 fbshipit-source-id: 4c36922e25e3adea3aaa8b4d9185dc28b17aa57c
Stack from ghstack:
Summary:
Clean up comments and organize the tests better
Test Plan:
python test/test_quantization.py
Reviewers:
Subscribers:
Tasks:
Tags:
Differential Revision: D28750064