Skip to content
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

[web] remove xnnpack from web backends #19116

Merged
merged 2 commits into from
Jan 14, 2024
Merged

Conversation

fs-eire
Copy link
Contributor

@fs-eire fs-eire commented Jan 12, 2024

Description

XNNPACK is already disabled in web assembly build. This change removes the xnnpack backend registration in JS.

@fs-eire fs-eire marked this pull request as ready for review January 12, 2024 21:49
guschmue
guschmue previously approved these changes Jan 12, 2024
snnn
snnn previously approved these changes Jan 12, 2024
@fs-eire fs-eire dismissed stale reviews from snnn and guschmue via 40aa35b January 13, 2024 01:31
@fs-eire fs-eire requested a review from a team as a code owner January 13, 2024 01:31
@fs-eire fs-eire merged commit f917dde into main Jan 14, 2024
89 of 93 checks passed
@fs-eire fs-eire deleted the fs-eire/web-remove-xnnpack branch January 14, 2024 07:04
mszhanyi pushed a commit that referenced this pull request Jan 15, 2024
### Description
XNNPACK is already disabled in web assembly build. This change removes
the xnnpack backend registration in JS.
@jing-bao
Copy link

jing-bao commented Apr 8, 2024

Hi, may I know the reason of removing xnnpack backend from web? Is it a temporary workaround for any issue or does ONNX Runtime Web decide to remove xnnpack in the future?

@fs-eire
Copy link
Contributor Author

fs-eire commented Apr 9, 2024

Hi, may I know the reason of removing xnnpack backend from web? Is it a temporary workaround for any issue or does ONNX Runtime Web decide to remove xnnpack in the future?

The major reason is that we didn't see significant performance benefit from using XNNPACK comparing to the default ONNX Runtime CPU EP.

siweic0 pushed a commit to siweic0/onnxruntime-web that referenced this pull request May 9, 2024
### Description
XNNPACK is already disabled in web assembly build. This change removes
the xnnpack backend registration in JS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants