Skip to content

ROCm 7.1.x breaks HIP backend in ggml #3553

@goodroot

Description

@goodroot

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 -j
error: 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:

  • hipDataTypehipblasDatatype_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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions