-
Notifications
You must be signed in to change notification settings - Fork 607
Make test_force_quant_dequant_fusion use GraphBuilder. #10926
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/10926
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 26357dd with merge base cb3eba0 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D74841541 |
Summary: Use GraphBuilder to create the model for unit testing. Differential Revision: D74841541
This pull request was exported from Phabricator. Differential Revision: D74841541 |
op=exir_ops.edge.quantized_decomposed.dequantize_per_tensor.default, | ||
args=(permute, 4.5, 6, 0, 127, torch.int8), | ||
) | ||
builder.output(dequant) |
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.
Nit: use a variable for readability
builder.output(dequant) | |
builder.output(dequant) | |
graph_module = builder.get_graph_module() |
|
||
graph_module = FuseQuantDequantToRequantizePass( | ||
force_quant_dequant_fusion=True | ||
)(graph_module).graph_module | ||
)(builder.get_graph_module()).graph_module |
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.
)(builder.get_graph_module()).graph_module | |
)(graph_module).graph_module |
Summary: Use GraphBuilder to create the model for unit testing. Reviewed By: mcremon-meta, zonglinpeng Differential Revision: D74841541
Summary: Use GraphBuilder to create the model for unit testing. Reviewed By: mcremon-meta, zonglinpeng Differential Revision: D74841541
This pull request was exported from Phabricator. Differential Revision: D74841541 |
Summary: Pull Request resolved: pytorch#10926 Use GraphBuilder to create the model for unit testing. Reviewed By: mcremon-meta, zonglinpeng Differential Revision: D74841541
This pull request was exported from Phabricator. Differential Revision: D74841541 |
Summary: Pull Request resolved: pytorch#10926 Use GraphBuilder to create the model for unit testing. Reviewed By: mcremon-meta, zonglinpeng Differential Revision: D74841541
Summary: Use GraphBuilder to create the model for unit testing. Reviewed By: mcremon-meta, zonglinpeng Differential Revision: D74841541
This pull request was exported from Phabricator. Differential Revision: D74841541 |
Summary: Use GraphBuilder to create the model for unit testing. Reviewed By: mcremon-meta, zonglinpeng Differential Revision: D74841541
This pull request was exported from Phabricator. Differential Revision: D74841541 |
Summary: Pull Request resolved: pytorch#10926 Use GraphBuilder to create the model for unit testing. Reviewed By: mcremon-meta, zonglinpeng Differential Revision: D74841541
Summary: Use GraphBuilder to create the model for unit testing. Reviewed By: mcremon-meta, zonglinpeng Differential Revision: D74841541
This pull request was exported from Phabricator. Differential Revision: D74841541 |
Summary: Use GraphBuilder to create the model for unit testing. Reviewed By: mcremon-meta, zonglinpeng Differential Revision: D74841541
Summary: Pull Request resolved: pytorch#10926 Use GraphBuilder to create the model for unit testing. Reviewed By: mcremon-meta, zonglinpeng Differential Revision: D74841541
This pull request was exported from Phabricator. Differential Revision: D74841541 |
Summary: Use GraphBuilder to create the model for unit testing.
Differential Revision: D74841541