File tree Expand file tree Collapse file tree 3 files changed +1
-2
lines changed Expand file tree Collapse file tree 3 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ cmake --build cmake-out -j16 --target install --config Release
40
40
41
41
# Install llama runner with torchao
42
42
cmake -DPYTHON_EXECUTABLE=python \
43
- -DCMAKE_PREFIX_PATH=$( python -c ' from distutils.sysconfig import get_python_lib; print(get_python_lib())' ) \
44
43
-DCMAKE_BUILD_TYPE=Release \
45
44
-DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON \
46
45
-DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=ON \
Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ endif()
116
116
if (EXECUTORCH_BUILD_TORCHAO )
117
117
# Currently only enable this on Arm-based Macs
118
118
if (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64" )
119
+ set (TORCHAO_BUILD_ATEN_OPS OFF )
119
120
set (TORCHAO_BUILD_EXECUTORCH_OPS ON )
120
121
set (TORCHAO_BUILD_CPU_AARCH64 ON )
121
122
set (TORCHAO_ENABLE_ARM_NEON_DOT ON )
Original file line number Diff line number Diff line change @@ -447,7 +447,6 @@ Next install the llama runner with torchao kernels enabled (similar to step 3.2
447
447
448
448
```
449
449
cmake -DPYTHON_EXECUTABLE=python \
450
- -DCMAKE_PREFIX_PATH=$(python -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())') \
451
450
-DCMAKE_BUILD_TYPE=Release \
452
451
-DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON \
453
452
-DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=ON \
You can’t perform that action at this time.
0 commit comments