-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Quantization: preserving pre and post forward hooks #37233
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
💊 CI failures summary and remediationsAs of commit ce7aae3 (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 on the GitHub issue tracker or post in the (internal) Dr. CI Users group. This comment has been revised 54 times. |
305339e to
93540f8
Compare
|
Could you add some tests in quantization/tests_quantize.py? |
|
@jerryzh168 |
205fdda to
ef1fdb7
Compare
|
@jerryzh168
|
25190b2 to
6e535ba
Compare
6e535ba to
0d4987a
Compare
519cf47 to
5e9ad51
Compare
d1d028a to
493fac9
Compare
jerryzh168
left a comment
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, thanks!
test/quantization/test_quantize.py
Outdated
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.
Can you also add a test for quantize_dynamic() API?
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.
yes, sure. done
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.
@raghuramank100 ping :)
raghuramank100
left a comment
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.
Request additional tests, thanks for the PR!
efa6f70 to
4063e8b
Compare
4063e8b to
c8de10d
Compare
jerryzh168
left a comment
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.
lg
facebook-github-bot
left a comment
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.
@jerryzh168 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
|
got this error: class TestPostTrainingStatic(QuantizationTestCase): |
1. While do convert() preserve module's pre and post forward hooks 2. While do fusion preserve the first module's pre forward hooks and the last modules's post forward hooks
c8de10d to
ce7aae3
Compare
@jerryzh168 Fixed that. I've lost this during rebase somehow |
facebook-github-bot
left a comment
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.
@jerryzh168 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
|
@jerryzh168 merged this pull request in 0c77bd7. |
Uh oh!
There was an error while loading. Please reload this page.