Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit e5a2501

Browse files
committed
typo
1 parent 68cdec6 commit e5a2501

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

runner/et.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ if(executorch_FOUND)
112112
endif()
113113

114114
if(LINK_TORCHAO_CUSTOM_OPS)
115-
target_link_libraries(et_run PRIVATE "${TORCHCHAT_ROOT}/torchao-build/cmake-out/ops/linear/linear_a8wxdq_op/liblinear_a8wxdq_aten${CMAKE_SHARED_LIBRARY_SUFFIX}")
115+
target_link_libraries(et_run PRIVATE "${TORCHCHAT_ROOT}/torchao-build/cmake-out/ops/linear/linear_a8wxdq_op/liblinear_a8wxdq_executorch${CMAKE_SHARED_LIBRARY_SUFFIX}")
116116
endif()
117117

118118
# Adding target_link_options_shared_lib as commented out below leads to this:

torchchat/utils/scripts/install_utils.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,11 @@ install_torchao_custom_aten_ops() {
195195
install_torchao_custom_executorch_ops() {
196196
echo "Building torchao custom ops for ExecuTorch"
197197
pushd ${TORCHCHAT_ROOT}/torchao-build/src/ao/torchao/experimental
198-
export TORCHAO_INCLUDE_DIRS=${TORCHCHAT_ROOT}/torchao-build/src/ao
199198

200199
CMAKE_OUT_DIR="${TORCHCHAT_ROOT}/torchao-build/cmake-out"
201200
cmake -DCMAKE_PREFIX_PATH=${MY_CMAKE_PREFIX_PATH} \
202-
-DEXECUTORCH_INCLUDE_DIRS=${EXECUTORCH_INCLUDE_DIRS} \
203-
-DEXECUTORCH_LIBRARIES=${EXECUTORCH_LIBRARIES} \
201+
-DEXECUTORCH_INCLUDE_DIRS="${EXECUTORCH_INCLUDE_DIRS}" \
202+
-DEXECUTORCH_LIBRARIES="${EXECUTORCH_LIBRARIES}" \
204203
-DTORCHAO_OP_TARGET="EXECUTORCH" \
205204
-S . \
206205
-B ${CMAKE_OUT_DIR} -G Ninja

0 commit comments

Comments
 (0)