Skip to content

Commit aa50e80

Browse files
authored
Update CMakeLists.txt
1 parent be0e1dc commit aa50e80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ option(BUILD_TENSOREXPR_BENCHMARK "Build C++ binaries for tensorexpr benchmarks
177177
option(BUILD_MOBILE_BENCHMARK "Build C++ test binaries for mobile (ARM) targets(need gtest and gbenchmark)" OFF)
178178
option(BUILD_MOBILE_TEST "Build C++ test binaries for mobile (ARM) targets(need gtest and gbenchmark)" OFF)
179179
option(BUILD_JNI "Build JNI bindings" OFF)
180-
option(BUILD_MOBILE_AUTOGRAD "Build autograd function in mobile build (in development)" OFF)
180+
option(BUILD_MOBILE_AUTOGRAD "Build autograd function in mobile build (in development)" ON)
181181
cmake_dependent_option(
182182
INSTALL_TEST "Install test binaries if BUILD_TEST is on" ON
183183
"BUILD_TEST" OFF)
@@ -329,7 +329,7 @@ cmake_dependent_option(
329329
option(USE_TBB "Use TBB (Deprecated)" OFF)
330330
cmake_dependent_option(
331331
USE_SYSTEM_TBB "Use system-provided Intel TBB." OFF "USE_TBB" OFF)
332-
option(ONNX_ML "Enable traditional ONNX ML API." ON)
332+
option(ONNX_ML "Enable traditional ONNX ML API." OFF)
333333
option(HAVE_SOVERSION "Whether to add SOVERSION to the shared objects" OFF)
334334
option(BUILD_LIBTORCH_CPU_WITH_DEBUG "Enable RelWithDebInfo for libtorch_cpu target only" OFF)
335335
cmake_dependent_option(
@@ -605,7 +605,7 @@ if(INTERN_BUILD_MOBILE AND NOT BUILD_CAFFE2_MOBILE)
605605
set(INTERN_USE_EIGEN_BLAS ON)
606606
# Disable developing mobile interpreter for actual mobile build.
607607
# Enable it elsewhere to capture build error.
608-
set(INTERN_DISABLE_MOBILE_INTERP ON)
608+
set(INTERN_DISABLE_MOBILE_INTERP OFF)
609609
endif()
610610

611611
# ---[ Utils

0 commit comments

Comments
 (0)