Skip to content

Commit 8b28f31

Browse files
committed
Limit Windows ARM64 build to supported kernels
1 parent c5f9775 commit 8b28f31

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.ci/scripts/setup-windows-arm64.ps1

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,17 @@ cmake -S . -B $buildDir `
2222
-DEXECUTORCH_BUILD_EXTENSION_TENSOR=ON `
2323
-DEXECUTORCH_BUILD_EXTENSION_FLAT_TENSOR=ON `
2424
-DEXECUTORCH_BUILD_EXTENSION_NAMED_DATA_MAP=ON `
25-
-DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=ON `
25+
-DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=OFF `
2626
-DEXECUTORCH_BUILD_KERNELS_CUSTOM=OFF `
2727
-DEXECUTORCH_BUILD_KERNELS_CUSTOM_AOT=OFF `
2828
-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=OFF `
2929
-DEXECUTORCH_BUILD_XNNPACK=ON `
3030
-DEXECUTORCH_BUILD_EXTENSION_LLM=ON `
31-
-DEXECUTORCH_BUILD_EXTENSION_LLM_RUNNER=ON
31+
-DEXECUTORCH_BUILD_EXTENSION_LLM_RUNNER=ON `
32+
-DXNNPACK_ENABLE_ARM_BF16=OFF `
33+
-DXNNPACK_ENABLE_ARM_DOTPROD=OFF `
34+
-DXNNPACK_ENABLE_ARM_FP16_SCALAR=OFF `
35+
-DXNNPACK_ENABLE_ARM_FP16_VECTOR=OFF
3236

3337
cmake --build $buildDir --config Release -j $env:NUMBER_OF_PROCESSORS
3438

.github/workflows/windows-msvc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
9090
- name: Install build dependencies
9191
shell: pwsh
92-
run: python -m pip install pyyaml torch==2.13.0 --extra-index-url https://download.pytorch.org/whl/test/cpu
92+
run: python -m pip install pyyaml
9393

9494
- name: Build ExecuTorch
9595
shell: pwsh

0 commit comments

Comments
 (0)