-
Notifications
You must be signed in to change notification settings - Fork 700
Cleanup export_model API calls #5882
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/5882
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 6b560c1 with merge base 84f5a56 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D63795843 |
ebd030c to
718b0c8
Compare
Summary: Lots of things are redundant and a few need to move to utils. Subsequent changes will split the export function and separate the run part. Main changes: - call `fuse_pt2` after `convert_pt2` instead of `quantize_pt2`, and avoid calling `convert_pt2` twice - move `print_ops_info` into `export_to_cadence` - remove the need to call `export_to_edge` in `export_model` - move the serialization utils to `utils.py` Differential Revision: D63795843
|
This pull request was exported from Phabricator. Differential Revision: D63795843 |
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.
nice! did you try to run from the cmake side to check the CPU/HIFI flow?
Summary: Lots of things are redundant and a few need to move to utils. Subsequent changes will split the export function and separate the run part. Main changes: - call `fuse_pt2` after `convert_pt2` instead of `quantize_pt2`, and avoid calling `convert_pt2` twice - move `print_ops_info` into `export_to_cadence` - remove the need to call `export_to_edge` in `export_model` - move the serialization utils to `utils.py` Reviewed By: zonglinpeng Differential Revision: D63795843
718b0c8 to
6b560c1
Compare
|
This pull request was exported from Phabricator. Differential Revision: D63795843 |
|
This pull request has been merged in 8fc3e20. |
Summary:
Lots of things are redundant and a few need to move to utils. Subsequent changes will split the export function and separate the run part.
Main changes:
fuse_pt2afterconvert_pt2instead ofquantize_pt2, and avoid callingconvert_pt2twiceprint_ops_infointoexport_to_cadenceexport_to_edgeinexport_modelutils.pyDifferential Revision: D63795843