On 2025-04-15 14:52, Clint Adams wrote:
> On Tue, Apr 15, 2025 at 03:17:36AM +0000, Clint Adams wrote:
>> I see that you're building and installing the cpu baseline
>> libggml-cpu with -DGGML_AVX512=OFF , however, in the .deb
>> produced this happens:
>>
>> % objdump -D /usr/lib/x86_64-linux-gnu/ggml/libggml-cpu.so| grep -i
>> vinserti
>>   2c60c:    62 f3 fd 28 38 c1 01     vinserti64x2 $0x1,%xmm1,%ymm0,%ymm0
> 
> I delved slightly deeper, and these instructions are only produced in
> `build-cpu-hwcaps-x86-64-v4`, so the problem is that only the -v4
> object is making it into the .deb.

Thanks Clint, I must have messed up the latest install patterns somehow.

This should install four builds with varying instruction support, with
glibc automatically picking the best version supported by the current CPU.

This worked fine when ggml was still imbedded in llama.cpp [1], so I
guess I messed up somewhere when I factored ggml out.

Should be an easy fix, will do an upload later.

Best,
Christian

[1]: https://lists.debian.org/debian-ai/2025/02/msg00005.html

Reply via email to