Skip to content

Commit f50bfa9

Browse files
authored
bump torchao pin (#11340)
Bump torchao pin
1 parent b5a6362 commit f50bfa9

File tree

5 files changed

+3
-4
lines changed

5 files changed

+3
-4
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 \

backends/vulkan/_passes/int4_weight_only_quantizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import torch
88
import torch.nn.functional as F
99

10-
from torchao.quantization.GPTQ import _check_linear_int4_k
10+
from torchao.quantization.GPTQ.GPTQ import _check_linear_int4_k
1111
from torchao.quantization.unified import Quantizer
1212
from torchao.quantization.utils import groupwise_affine_quantize_tensor
1313

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 \

third-party/ao

Submodule ao updated 100 files

0 commit comments

Comments
 (0)