Skip to content

Fix xnnpack demo #122

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
Closed

Fix xnnpack demo #122

wants to merge 1 commit into from

Conversation

guangy10
Copy link
Contributor

@guangy10 guangy10 commented Aug 24, 2023

Summary:
Fixed several issues with the XNNPACK demo:

  • broken buck build
    • buck2 build //examples/backend:xnn_executor_runner doesn't build in OSS
    • buck2 build //examples/backend:xnnpack_examples doesn't build Meta-internally
  • broken README file, e.g. missing .md so no format at all
  • broken generated file names, e.g. ugly name like mv2_xnnpack_.pte

Differential Revision: D48661299

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

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

Summary:
Pull Request resolved: pytorch/executorch#122

Fixed several issues with the XNNPACK demo:
  - broken buck build in OSS (see errors in P813564245)
     - `buck2 build //examples/backend:xnn_executor_runner` doesn't build
     - `buck2 build //examples/backend:xnnpack_examples` doesn't build
  - broken `README` file, e.g. missing `.md` so no format at all ([see the file in OSS](https://github.com/pytorch/executorch/blob/main/examples/backend/README))
  - broken generated file names, e.g. ugly name like `mv2_xnnpack_.pte` or `mv2_xnnpack__quantize.pte`

Reviewed By: kirklandsign

Differential Revision: D48661299

fbshipit-source-id: e670b52cf5fb7636810a3fc4e5b0d52665d4931e
@facebook-github-bot
Copy link
Contributor

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

Copy link
Contributor

@huydhn huydhn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will rebase my WIP #123 on top of this change

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 35db16d.

facebook-github-bot pushed a commit that referenced this pull request Aug 25, 2023
Summary:
TSIA. After #122, we can now add XNNPACK tests to CI.  Note that `xnn_executor_runner` is only available via buck2 here, its cmake support will come in the next PR.

Pull Request resolved: #123

Test Plan:
Spot check for `add` example which supports both XNNPACK and quantization.  Both are tested:

Linux: https://github.com/pytorch/executorch/actions/runs/5970562477/job/16198874573?pr=123
MacOS: https://github.com/pytorch/executorch/actions/runs/5970562477/job/16198877840?pr=123

Reviewed By: guangy10, kirklandsign

Differential Revision: D48670404

Pulled By: huydhn

fbshipit-source-id: 51974887cce141d9abccf3581f5003dfb23fe53d
Gasoonjia pushed a commit that referenced this pull request Jul 30, 2024
jirioc pushed a commit to nxp-upstream/executorch that referenced this pull request May 14, 2025
Merge in AITEC/executorch from feature/nxf93343/add-arguments-to-graph-vizualizer to main-nxp

* commit 'd7f00fe0d22415070dfdad20f4bd1538ad921281':
  Fix de/quantize nodes visualization
  Add option to visualize directly fx.Graph in dot exporter
  Add option to show arguments in dot representation of graph
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