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 d69d3db commit 09886f1Copy full SHA for 09886f1
CMakeLists.txt
@@ -457,7 +457,7 @@ endif()
457
# Torch uses outdated components to detect CUDA arch, causing failure on
458
# latest CUDA kits. Set CMake variable TORCH_CUDA_ARCH_LIST in the form of
459
# "major.minor" if required.
460
-if(DEFINED Torch_DIR)
+if(ENABLE_DEEPKS OR DEFINED Torch_DIR)
461
find_package(Torch REQUIRED)
462
if(NOT Torch_VERSION VERSION_LESS "2.1.0")
463
set_if_higher(CMAKE_CXX_STANDARD 17)
0 commit comments