Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
Empty file.
1 change: 0 additions & 1 deletion .github/workflows/apple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ jobs:
"backend_xnnpack"
"kernels_custom"
"kernels_optimized"
"kernels_portable"
"kernels_quantized"
"threadpool"
)
Expand Down
1 change: 0 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ let products = deliverables([
"threadpool",
],
],
"kernels_portable": [:],
"kernels_quantized": [:],
])

Expand Down
5 changes: 2 additions & 3 deletions docs/source/using-executorch-ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ The ExecuTorch Runtime for iOS and macOS is distributed as a collection of prebu
* `backend_mps` - MPS backend
* `backend_xnnpack` - XNNPACK backend
* `kernels_custom` - Custom kernels for LLMs
* `kernels_optimized` - Optimized kernels
* `kernels_portable` - Portable kernels (naive implementation used as a reference)
* `kernels_optimized` - Accelerated generic CPU kernels
* `kernels_quantized` - Quantized kernels

Link your binary with the ExecuTorch runtime and any backends or kernels used by the exported ML model. It is recommended to link the core runtime to the components that use ExecuTorch directly, and link kernels and backends against the main app target.
Expand Down Expand Up @@ -66,7 +65,7 @@ let package = Package(
dependencies: [
.product(name: "executorch", package: "executorch"),
.product(name: "backend_xnnpack", package: "executorch"),
.product(name: "kernels_portable", package: "executorch"),
.product(name: "kernels_optimized", package: "executorch"),
// Add other backends and kernels as needed.
]),
]
Expand Down
9 changes: 0 additions & 9 deletions scripts/build_apple_frameworks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ liboptimized_native_cpu_ops_lib.a,\
libportable_kernels.a,\
:"

FRAMEWORK_KERNELS_PORTABLE="kernels_portable:\
libportable_kernels.a,\
libportable_ops_lib.a,\
:"

FRAMEWORK_KERNELS_QUANTIZED="kernels_quantized:\
libquantized_kernels.a,\
libquantized_ops_lib.a,\
Expand All @@ -86,7 +81,6 @@ usage() {
echo " --custom Only build the Custom kernels."
echo " --mps Only build the Metal Performance Shaders backend."
echo " --optimized Only build the Optimized kernels."
echo " --portable Only build the Portable kernels."
echo " --quantized Only build the Quantized kernels."
echo " --xnnpack Only build the XNNPACK backend."
echo
Expand All @@ -104,7 +98,6 @@ set_cmake_options_override() {
"-DEXECUTORCH_BUILD_KERNELS_CUSTOM=OFF"
"-DEXECUTORCH_BUILD_MPS=OFF"
"-DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=OFF"
"-DEXECUTORCH_BUILD_PORTABLE_OPS=OFF"
"-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=OFF"
"-DEXECUTORCH_BUILD_XNNPACK=OFF"
)
Expand Down Expand Up @@ -135,7 +128,6 @@ for arg in "$@"; do
--custom) set_cmake_options_override "EXECUTORCH_BUILD_KERNELS_CUSTOM" ;;
--mps) set_cmake_options_override "EXECUTORCH_BUILD_MPS" ;;
--optimized) set_cmake_options_override "EXECUTORCH_BUILD_KERNELS_OPTIMIZED" ;;
--portable) set_cmake_options_override "EXECUTORCH_BUILD_PORTABLE_OPS" ;;
--quantized) set_cmake_options_override "EXECUTORCH_BUILD_KERNELS_QUANTIZED" ;;
--xnnpack) set_cmake_options_override "EXECUTORCH_BUILD_XNNPACK" ;;
*)
Expand Down Expand Up @@ -240,7 +232,6 @@ for mode in "${MODES[@]}"; do
append_framework_flag "EXECUTORCH_BUILD_XNNPACK" "$FRAMEWORK_BACKEND_XNNPACK" "$mode"
append_framework_flag "EXECUTORCH_BUILD_KERNELS_CUSTOM" "$FRAMEWORK_KERNELS_CUSTOM" "$mode"
append_framework_flag "EXECUTORCH_BUILD_KERNELS_OPTIMIZED" "$FRAMEWORK_KERNELS_OPTIMIZED" "$mode"
append_framework_flag "EXECUTORCH_BUILD_PORTABLE_OPS" "$FRAMEWORK_KERNELS_PORTABLE" "$mode"
append_framework_flag "EXECUTORCH_BUILD_KERNELS_QUANTIZED" "$FRAMEWORK_KERNELS_QUANTIZED" "$mode"

cd "${OUTPUT_DIR}"
Expand Down
Loading