Skip to content

Conversation

@mcremon-meta
Copy link
Contributor

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

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 4, 2024

🔗 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 Failures

As of commit 6b560c1 with merge base 84f5a56 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 4, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63795843

facebook-github-bot pushed a commit that referenced this pull request Oct 4, 2024
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
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63795843

Copy link
Contributor

@zonglinpeng zonglinpeng left a 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
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63795843

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 8fc3e20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants