Skip to content

Commit 4d7a65f

Browse files
committed
up
1 parent 1bb36fe commit 4d7a65f

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

.ci/scripts/test_llama_torchao_lowbit.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ cmake --build cmake-out -j16 --target install --config Release
4040

4141
# Install llama runner with torchao
4242
cmake -DPYTHON_EXECUTABLE=python \
43-
-DCMAKE_PREFIX_PATH=$(python -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())') \
4443
-DCMAKE_BUILD_TYPE=Release \
4544
-DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON \
4645
-DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=ON \

examples/models/llama/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ endif()
116116
if(EXECUTORCH_BUILD_TORCHAO)
117117
# Currently only enable this on Arm-based Macs
118118
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
119+
set(TORCHAO_BUILD_ATEN_OPS OFF)
119120
set(TORCHAO_BUILD_EXECUTORCH_OPS ON)
120121
set(TORCHAO_BUILD_CPU_AARCH64 ON)
121122
set(TORCHAO_ENABLE_ARM_NEON_DOT ON)

examples/models/llama/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,6 @@ Next install the llama runner with torchao kernels enabled (similar to step 3.2
447447
448448
```
449449
cmake -DPYTHON_EXECUTABLE=python \
450-
-DCMAKE_PREFIX_PATH=$(python -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())') \
451450
-DCMAKE_BUILD_TYPE=Release \
452451
-DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON \
453452
-DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=ON \

0 commit comments

Comments
 (0)