-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
When building whisper.cpp (via pywhispercpp) with GGML_HIP=ON on a fully updated Arch system, HIP compilation fails due to ROCm 7.1.x breaking changes in hipBLAS datatype signatures. ggml’s HIP backend still targets ROCm 6.x APIs. As such, all hipblas*Ex functions mismatch their argument types, and the build cannot complete.
Reproduction
ROCm Arch packages were recently bumped:
6.4.4 → 7.1.0 (Nov 21, 2025)
7.1.0 → 7.1.1 (Dec 02, 2025)
References:
https://gitlab.archlinux.org/archlinux/packaging/packages/rocblas/-/commits/main
https://gitlab.archlinux.org/archlinux/packaging/packages/rocm-hip-sdk/-/commits/main
Logs
cmake -B build -DGGML_HIP=ON
cmake --build build -jerror: no matching function for call to 'hipblasGemmEx'
note: candidate function not viable: no known conversion from 'hipblasComputeType_t' to 'hipblasDatatype_t'
error: cannot initialize a variable of type 'hipDataType' with an rvalue of type 'hipblasDatatype_t'
error: no matching function for call to 'hipblasGemmStridedBatchedEx'
The full error stream repeatedly shows mismatches between:
-
hipDataType↔hipblasDatatype_t -
hipblasComputeType_t -
parameter index changes in
*GemmEx,*GemmBatchedEx,*GemmStridedBatchedEx
This is consistent with ROCm 7.x signature updates.
Given Arch's bleeding edge, we would expect many more people to hit this once other operating systems make this jump.