Skip to content

Commit 1c5c7ad

Browse files
committed
✨ Enable MPS build on macOS by default.
1 parent 28cbc2b commit 1c5c7ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/cmake/preset/pybind.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ set_overridable_option(EXECUTORCH_BUILD_EXTENSION_FLAT_TENSOR ON)
2222

2323
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
2424
set_overridable_option(EXECUTORCH_BUILD_COREML ON)
25+
set_overridable_option(EXECUTORCH_BUILD_MPS ON)
2526
elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
2627
set_overridable_option(EXECUTORCH_BUILD_COREML ON)
2728
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows" OR CMAKE_SYSTEM_NAME STREQUAL "WIN32")

0 commit comments

Comments
 (0)