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 12, 14:45 UTC
Display warning only when ROCm version is less than Pytorch required version (#29200)
Signed-off-by: Inoki <inoki@inoki.cc>
Inoki committed
Nov 25, 2025 at 07:40 UTC
40a6f53f6c09cd15b07436acc8d631a3a86f7416
1 file changed
+1
-1
CMakeLists.txt
+1
-1
@@ -136,7 +136,7 @@ elseif(HIP_FOUND)
136
137
# ROCm 5.X and 6.X
138
if (ROCM_VERSION_DEV_MAJOR GREATER_EQUAL 5 AND
139
- NOT Torch_VERSION VERSION_EQUAL ${TORCH_SUPPORTED_VERSION_ROCM})
139
+ Torch_VERSION VERSION_LESS ${TORCH_SUPPORTED_VERSION_ROCM})
140
message(WARNING "Pytorch version >= ${TORCH_SUPPORTED_VERSION_ROCM} "
141
"expected for ROCm build, saw ${Torch_VERSION} instead.")
142
endif()