the PKGBUILD's makedepends should be updated to include hipblas-common. It is not getting installed when rocm is upgraded and is needed for the build.
With the latest hipblas
yay -Qi hipblas
Name : hipblas
Version : 6.3.2-2
the package is not finding a cmake file
-- Detecting HIP compile features - done
CMake Error at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
By not providing "Findhipblas-common.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"hipblas-common", but CMake did not find one.
And fails to build
Pinned Comments
wgottwalt commented on 2024-11-09 10:46 (UTC) (edited on 2024-11-26 15:23 (UTC) by wgottwalt)
Looks like the ROCm 6.2.2-1 SDK has a malfunctioning compiler. It produces a broken ollama binary (fp16 issues). You may need to stay with ROCm 6.0.2 for now. I don't know if this got fixed in a newer build release. But the initial SDK version "-1" is broken.
ROCm 6.2.4 fixes this issue completely.