Skip to content

Remove <model>.pte generation from export_bundled_program.py #692

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

Closed
wants to merge 1 commit into from

Conversation

vmpuri
Copy link

@vmpuri vmpuri commented Oct 9, 2023

Summary:
Currently, this script generates two files:

  • <model>.pte after calling save_pte_program
  • <model>.bp after calling save_bundled_program

Since this example is intended to showcase the functionality of the bundled program, we shouldn't generate <model>.pte -- only <model>.bp.

We should also rename the function to reflect this.

Gasoonjia tarun292 do you agree w/ the above? Just a small thought I had while using this.

Reviewed By: tarun292, Gasoonjia

Differential Revision: D50069707

Summary:
Currently, this script generates two files:
- `<model>.pte` after calling `save_pte_program`
- `<model>.bp` after calling `save_bundled_program`

Since this example is intended to showcase the functionality of the bundled program, we shouldn't generate `<model>.pte` -- only `<model>.bp`.

We should also rename the function to reflect this.

Gasoonjia tarun292 do you agree w/ the above? Just a small thought I had while using this.

Reviewed By: tarun292, Gasoonjia

Differential Revision: D50069707
@netlify
Copy link

netlify bot commented Oct 9, 2023

Deploy Preview for resplendent-gnome-14e531 canceled.

Name Link
🔨 Latest commit 9f4d01e
🔍 Latest deploy log https://app.netlify.com/sites/resplendent-gnome-14e531/deploys/65237a51f20a91000868c27a

@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 9, 2023
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in b602439.

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.

2 participants