Bug#1118618: Updating rocr-runtime libraries to 6.4 causes llama.cpp/ggml to fail
On 2025-10-23 20:00, Cordell Bloor wrote:
> On 2025-10-23 03:09, Christian Kastner wrote:
>> I believe either rocr-runtime's B-D of libamdhip64-dev needs to be
>> bumped to 6.4.3-1~exp2, or libamdhip64-5 needs to be fixed in stable.
>
> You have the dependency order backwards. The libamdhip64-5 package
> depends on librocr-runtime64-1.
Oh, got it. Thanks for clarifying.
In that case, I think a
Breaks: libamdhip65-5 (<= $somever)
would be warranted for libhsa-runtime64-1, to prevent the upgrade of the
latter on systems where this would trigger this case.
Where $somever would be the most recent version broken, so 5.7.1-7
unless I'm mistaken.
> I suspect we can fix this in libamdhip64-5, but I'll have to take a
> look. I'd be backporting some code from rocdevice.cpp to avoid
> "Error creating new instance of Device".
That might be even better. Obviously my own primary interest is for
ggml, but if this is a general issue, I suspect others could run into it
as well.
If a fix comes out, the Breaks could be adjusted for it.
Best,
Christian
Reply to: