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 1840c5c commit b61f549Copy full SHA for b61f549
CMakeLists.txt
@@ -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})
+ 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()
0 commit comments