-
Couldn't load subscription status.
- Fork 700
Fix XNNPACK build on Windows #13259
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
Merged
GregoryComer
merged 43 commits into
gh/GregoryComer/141/head
from
gh/GregoryComer/117/head
Aug 26, 2025
Merged
Fix XNNPACK build on Windows #13259
Changes from 21 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
94c4f20
Update
GregoryComer 352c059
Update
GregoryComer d8f8b12
Update
GregoryComer 8e8b78c
Update
GregoryComer 9cfd2b6
Update
GregoryComer 5b1330b
Update
GregoryComer 378fcdd
Update
GregoryComer db12da0
Update
GregoryComer 4ee5cd0
Update
GregoryComer b79f2e1
Update
GregoryComer 0abe592
Update
GregoryComer 52b9ff1
Update
GregoryComer c045a60
Update
GregoryComer 783cb51
Update
GregoryComer 0dc6f36
Update
GregoryComer 5fa2464
Update
GregoryComer 597dddd
Update
GregoryComer 7b45dac
Update
GregoryComer 6e80b0c
Update
GregoryComer a4f0cd5
Update
GregoryComer 4540ae8
Update
GregoryComer d6a6fe4
Update
GregoryComer 0411181
Update
GregoryComer b9fc97f
Update
GregoryComer 4919b55
Update
GregoryComer 53e6ba1
Update
GregoryComer 4996713
Update
GregoryComer 0fa419d
Update
GregoryComer 1d7b71d
Update
GregoryComer cd7fd0e
Update
GregoryComer e346888
Update
GregoryComer 28605ca
Update
GregoryComer 1423edb
Update
GregoryComer ce55ae8
Update
GregoryComer 57d2e24
Update
GregoryComer 4404db8
Update
GregoryComer e0a7a1d
Update
GregoryComer faf1700
Update
GregoryComer 593055e
Update
GregoryComer 54b32b4
Update
GregoryComer efd02e4
Update
GregoryComer 4dd225a
Update
GregoryComer a8edd06
Update
GregoryComer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # Copyright (c) Meta Platforms, Inc. and affiliates. | ||
| # All rights reserved. | ||
| # | ||
| # This source code is licensed under the BSD-style license found in the | ||
| # LICENSE file in the root directory of this source tree. | ||
|
|
||
|
|
||
| # keep sorted | ||
| set_overridable_option(EXECUTORCH_BUILD_EXTENSION_DATA_LOADER ON) | ||
| set_overridable_option(EXECUTORCH_BUILD_EXTENSION_EVALUE_UTIL ON) | ||
| set_overridable_option(EXECUTORCH_BUILD_EXTENSION_FLAT_TENSOR ON) | ||
| set_overridable_option(EXECUTORCH_BUILD_EXTENSION_MODULE ON) | ||
| set_overridable_option(EXECUTORCH_BUILD_EXTENSION_RUNNER_UTIL ON) | ||
| set_overridable_option(EXECUTORCH_BUILD_EXTENSION_TENSOR ON) | ||
| set_overridable_option(EXECUTORCH_BUILD_XNNPACK ON) | ||
|
|
||
| # These XNNPACK options don't currently build on Windows. | ||
| set_overridable_option(XNNPACK_ENABLE_AVX256SKX OFF) | ||
| set_overridable_option(XNNPACK_ENABLE_AVX256VNNI OFF) | ||
| set_overridable_option(XNNPACK_ENABLE_AVX256VNNIGFNI OFF) | ||
| set_overridable_option(XNNPACK_ENABLE_AVX512BF16 OFF) | ||
|
|
||
| # Below options are not yet buildable on Windows, but should be. | ||
| set(EXECUTORCH_BUILD_PORTABLE_OPS OFF CACHE BOOL "") | ||
| #set_overridable_option(EXECUTORCH_BUILD_EXECUTOR_RUNNER ON) | ||
| #set_overridable_option(EXECUTORCH_BUILD_KERNELS_OPTIMIZED ON) | ||
| #set_overridable_option(EXECUTORCH_BUILD_KERNELS_QUANTIZED ON) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.