-
Notifications
You must be signed in to change notification settings - Fork 749
Make test_no_replace_quant_permute_dequant_with_requantize use GraphBuilder. #10927
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
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/10927
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 7c33690 with merge base de72d65 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D74842294 |
…uilder. (pytorch#10927) Summary: Use GraphBuilder to create the model for unit testing. Differential Revision: D74842294
|
This pull request was exported from Phabricator. Differential Revision: D74842294 |
|
This pull request was exported from Phabricator. Differential Revision: D74842294 |
| ) | ||
| builder.output(dequant) | ||
| graph_module = FuseQuantDequantToRequantizePass( | ||
| force_quant_dequant_fusion=False |
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.
any reason to add the flag here?
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.
Although the parameter defaults to False, I chose to set it explicitly to False to avoid any ambiguity, given that the adjacent test has it set to True. Does it seem redundant?
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 have no issue with it, was just wondering if there was a reason, but I noticed the other test being True after this review :)
…uilder. (pytorch#10927) Summary: Use GraphBuilder to create the model for unit testing. Reviewed By: mcremon-meta, zonglinpeng Differential Revision: D74842294
…uilder. (pytorch#10927) Summary: Pull Request resolved: pytorch#10927 Use GraphBuilder to create the model for unit testing. Reviewed By: mcremon-meta, zonglinpeng Differential Revision: D74842294
|
This pull request was exported from Phabricator. Differential Revision: D74842294 |
…uilder. Differential Revision: D74842294 Pull Request resolved: pytorch#10927
Summary: Use GraphBuilder to create the model for unit testing.
Differential Revision: D74842294