File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ cmake_install_executorch_libraries() {
47
47
-DCMAKE_BUILD_TYPE=Release \
48
48
-DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \
49
49
-DEXECUTORCH_BUILD_EXTENSION_DATA_LOADER=ON \
50
+ -DEXECUTORCH_REGISTER_OPTIMIZED_OPS=ON \
50
51
-DPYTHON_EXECUTABLE=" $PYTHON_EXECUTABLE " \
51
52
-Bcmake-out .
52
53
cmake --build cmake-out -j9 --target install --config Release
@@ -58,6 +59,7 @@ cmake_build_llama_runner() {
58
59
retry cmake -DBUCK2=" $BUCK " \
59
60
-DCMAKE_INSTALL_PREFIX=cmake-out \
60
61
-DCMAKE_BUILD_TYPE=Release \
62
+ -DEXECUTORCH_REGISTER_OPTIMIZED_OPS=ON \
61
63
-DPYTHON_EXECUTABLE=" $PYTHON_EXECUTABLE " \
62
64
-Bcmake-out/${dir} \
63
65
${dir}
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ option(EXECUTORCH_BUILD_PYBIND "Build the Python Bindings" OFF)
158
158
159
159
option (EXECUTORCH_BUILD_QNN "Build the Qualcomm backend" OFF )
160
160
161
- option (EXECUTORCH_REGISTER_OPTIMIZED_OPS "Build the optimized kernels" ON )
161
+ option (EXECUTORCH_REGISTER_OPTIMIZED_OPS "Build the optimized kernels" OFF )
162
162
163
163
option (EXECUTORCH_REGISTER_QUANTIZED_OPS "Build the quantized kernels" OFF )
164
164
Original file line number Diff line number Diff line change 18
18
cmake_minimum_required (VERSION 3.19 )
19
19
project (llama_runner )
20
20
21
- option (EXECUTORCH_REGISTER_OPTIMIZED_OPS "Build the optimized kernels" ON )
21
+ option (EXECUTORCH_REGISTER_OPTIMIZED_OPS "Build the optimized kernels" OFF )
22
22
23
23
if (NOT PYTHON_EXECUTABLE )
24
24
set (PYTHON_EXECUTABLE python3 )
You can’t perform that action at this time.
0 commit comments