Skip to content

Commit 6292fe5

Browse files
committed
up
1 parent f13cb03 commit 6292fe5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/source/using-executorch-ios.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ The ExecuTorch Runtime for iOS and macOS (ARM64) is distributed as a collection
1414
* `kernels_llm` - Custom kernels for LLMs
1515
* `kernels_optimized` - Accelerated generic CPU kernels
1616
* `kernels_quantized` - Quantized kernels
17+
* `kernels_torchao` - Quantized CPU kernels from torchao
1718

1819
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.
1920

examples/models/llama/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ endif()
123123

124124
if(EXECUTORCH_BUILD_KERNELS_TORCHAO_MPS)
125125
# Currently only enable this on Arm-based Macs
126-
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
126+
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL
127+
"arm64"
128+
)
127129
if(EXECUTORCH_BUILD_MPS)
128130
add_subdirectory(
129131
${CMAKE_CURRENT_SOURCE_DIR}/../../../third-party/ao/torchao/experimental/ops/mps

0 commit comments

Comments
 (0)