From 83db9c468e9937151496bce439c9986738129cbd Mon Sep 17 00:00:00 2001 From: xiezhongtao Date: Fri, 16 Jan 2026 14:26:01 +0800 Subject: [PATCH] =?UTF-8?q?refactor(ggml-hip):=20=E7=A7=BB=E9=99=A4HIP?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=A3=80=E6=9F=A5=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 海光设备不再强制要求ROCM/HIP V6.1以上版本 --- ggml/src/ggml-hip/CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ggml/src/ggml-hip/CMakeLists.txt b/ggml/src/ggml-hip/CMakeLists.txt index 23b6889..e622232 100644 --- a/ggml/src/ggml-hip/CMakeLists.txt +++ b/ggml/src/ggml-hip/CMakeLists.txt @@ -43,9 +43,10 @@ find_package(hip REQUIRED) find_package(hipblas REQUIRED) find_package(rocblas REQUIRED) -if (${hip_VERSION} VERSION_LESS 6.1) - message(FATAL_ERROR "At least ROCM/HIP V6.1 is required") -endif() +# +# if (${hip_VERSION} VERSION_LESS 6.1) +# message(FATAL_ERROR "At least ROCM/HIP V6.1 is required") +# endif() message(STATUS "HIP and hipBLAS found")