We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98baab7 commit a4a1f24Copy full SHA for a4a1f24
tools/cmake/preset/llm.cmake
@@ -26,9 +26,13 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
26
elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
27
# Linux-specific code here
28
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows" OR CMAKE_SYSTEM_NAME STREQUAL
29
- "WIN32"
+ "WIN32"
30
)
31
- # Windows or other OS-specific code here
+ # Windows-specific code: disable quantized and custom ops when building with CUDA
32
+ if(EXECUTORCH_BUILD_CUDA)
33
+ set_overridable_option(EXECUTORCH_BUILD_KERNELS_QUANTIZED OFF)
34
+ set_overridable_option(EXECUTORCH_BUILD_KERNELS_LLM OFF)
35
+ endif()
36
elseif(CMAKE_SYSTEM_NAME STREQUAL "Android")
37
# Android-specific code here
38
else()
0 commit comments