Skip to content

Commit 211131f

Browse files
committed
Revert "Change some more"
This reverts commit e37a0f3.
1 parent e37a0f3 commit 211131f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/models/llava/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ if(LLAVA_RUNNER_NO_TORCH_DUMMY_IMAGE)
7979
add_definitions(-DLLAVA_NO_TORCH_DUMMY_IMAGE=1)
8080
message("Buidling the runner without Torch, feeding a dummy image!")
8181
else()
82-
find_package(Torch REQUIRED)
82+
find_package(Torch CONFIG REQUIRED)
8383
endif()
8484

8585
#

extension/llm/custom_ops/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ install(TARGETS custom_ops DESTINATION lib)
6969

7070
if(EXECUTORCH_BUILD_KERNELS_CUSTOM_AOT)
7171
# Add a AOT library
72-
find_package(Torch REQUIRED)
72+
find_package(Torch CONFIG REQUIRED)
7373
add_library(
7474
custom_ops_aot_lib SHARED
7575
${_custom_ops__srcs}

0 commit comments

Comments
 (0)