Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion tools/cmake/preset/llm.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows" OR CMAKE_SYSTEM_NAME STREQUAL
"WIN32"
)
# Windows or other OS-specific code here
# Windows-specific code: disable quantized and custom ops when building with
# CUDA
if(EXECUTORCH_BUILD_CUDA)
set(EXECUTORCH_BUILD_KERNELS_QUANTIZED OFF)
set(EXECUTORCH_BUILD_KERNELS_LLM OFF)
endif()
elseif(CMAKE_SYSTEM_NAME STREQUAL "Android")
# Android-specific code here
else()
Expand Down
Loading