You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
version: 4277 (c5ede38)
built with Apple clang version 16.0.0 (clang-1600.0.26.4) for arm64-apple-darwin24.1.0
Operating systems
Mac, M1 Max
Which llama.cpp modules do you know to be affected?
libllama (core library), Other (Please specify in the next section)
Problem description & steps to reproduce
Using llama-embedding with bge-small-en-v1.5-q8_0.gguf on macOS without Metal crashes with 85246 illegal hardware instruction, but works when using Metal.
It's currently expected since the M1 chips don't support the i8mm instructions. Will be fixed similar to #10606 but for Arm. You can workaround for now with -march=armv8.2a+dotprod.
Name and Version
version: 4277 (c5ede38)
built with Apple clang version 16.0.0 (clang-1600.0.26.4) for arm64-apple-darwin24.1.0
Operating systems
Mac, M1 Max
Which llama.cpp modules do you know to be affected?
libllama (core library), Other (Please specify in the next section)
Problem description & steps to reproduce
Using
llama-embedding
withbge-small-en-v1.5-q8_0.gguf
on macOS without Metal crashes with85246 illegal hardware instruction
, but works when using Metal.This is the command I used:
./bin/llama-embedding -m ./models/bge-small-en-v1.5-q8_0.gguf --prompt "hi" -c 0
Running with
lldb
gave me this stack trace:I built using these commands:
First Bad Commit
This issue appeared since release
b4179
.Relevant log output
The text was updated successfully, but these errors were encountered: