-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[User] error: inlining failed in call to 'always_inline' 'vfmaq_f16': target specific option mismatch #1655
Comments
On my configuration with Virtualbox I added the following lines in the source code to disable AVX2 support. in the ggml.c file line 1528: #undef AVX2 in the ggml-quants-k.c file line 46: #undef AVX2 A make command and away you go |
The same error output in the same environment on last master |
It doesn't work on macOS, due to an issue that seems to originate in llama.cpp: ggerganov/llama.cpp#1655
I found a solution for my using llama.cpp in Apple Silicon Linux VMs (and probably also Docker on Apple Silicon) without changing any code. Maybe this also helps your issue and you can close it Just build with the following command for Apple Silicon Linux VMs: |
this appears to be working for Virtualbox installation of Linux Kali as well. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Expected Behavior
compilation should succeed.
Current Behavior
[comp](error: inlining failed in call to 'always_inline' 'vfmaq_f16': target specific option mismatch)
Environment and Context
Host PC : Mac M1 Max, Ventura 13.4
Docker container running in arm64v8/ubuntu:22.10
$ lscpu
lscpu
Architecture: aarch64
CPU op-mode(s): 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Vendor ID: 0x00
Model name: -
Model: 0
Thread(s) per core: 1
Core(s) per cluster: 8
Socket(s): -
Cluster(s): 1
Stepping: 0x0
BogoMIPS: 48.00
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm
jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimdfhm dit uscat ilrcpc flagm ss
bs sb paca pacg dcpodp flagm2 frint
Vulnerabilities:
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Not affected
Spec store bypass: Vulnerable
Spectre v1: Mitigation; __user pointer sanitization
Spectre v2: Not affected
Srbds: Not affected
Tsx async abort: Not affected
$ uname -a
Linux 6cd3c73970c8 5.15.49-linuxkit #1 SMP PREEMPT Tue Sep 13 07:51:32 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
Failure Information (for bugs)
compilation failed.
Steps to Reproduce
just run make
Failure Logs
The text was updated successfully, but these errors were encountered: