From 3d5dc76743928c792c76f8003307b61cef4e8157 Mon Sep 17 00:00:00 2001 From: jathu Date: Tue, 1 Jul 2025 13:21:21 -0700 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Enable=20Executorch=20module=20and?= =?UTF-8?q?=20training=20extensions=20by=20default?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/cmake/preset/pybind.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/cmake/preset/pybind.cmake b/tools/cmake/preset/pybind.cmake index 1a60db834d8..3f19a87805d 100644 --- a/tools/cmake/preset/pybind.cmake +++ b/tools/cmake/preset/pybind.cmake @@ -20,6 +20,8 @@ set_overridable_option(EXECUTORCH_BUILD_KERNELS_CUSTOM_AOT ON) set_overridable_option(EXECUTORCH_BUILD_EXTENSION_FLAT_TENSOR ON) set_overridable_option(EXECUTORCH_BUILD_EXTENSION_DATA_LOADER ON) set_overridable_option(EXECUTORCH_BUILD_KERNELS_OPTIMIZED ON) +set_overridable_option(EXECUTORCH_BUILD_EXTENSION_MODULE ON) +set_overridable_option(EXECUTORCH_BUILD_EXTENSION_TRAINING ON) if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")