A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 17, 04:15 UTC
[Bugfix] Fix ROCm support in CMakeLists.txt (#3534)
James Whedbee committed
Mar 20, 2024 at 16:05 UTC
80e254834de9c3c34eaca02d8880e952b3daf344
1 file changed
+1
-1
CMakeLists.txt
+1
-1
@@ -51,7 +51,7 @@ append_cmake_prefix_path("torch" "torch.utils.cmake_prefix_path")
51
52
# Ensure the 'nvcc' command is in the PATH
53
find_program(NVCC_EXECUTABLE nvcc)
54
-if (NOT NVCC_EXECUTABLE)
54
+if (CUDA_FOUND AND NOT NVCC_EXECUTABLE)
55
message(FATAL_ERROR "nvcc not found")
56
endif()
57