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
Run main on the model-f16, still have the same error
Convert the 13B model, still same error in quantize step
Env:
Darwin Tungs-MacBook-Pro.local 21.6.0 Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:22 PDT 2022; root:xnu-8020.140.41~1/RELEASE_ARM64_T6000 x86_64
Activity
[-]Illegal hardware instruction in quantize[/-][+]Illegal hardware instruction in quantize step[/+]prusnak commentedon Mar 12, 2023
What does
cc --versionandc++ --versionsay?brozkrut commentedon Mar 12, 2023
This error happens when binary is compiled for x86_64 instead of arm64.
This is common mistake if you are compiling under conda like environment.
Check binary quantize with:
file quantizeOn Apple Silicon Macs it should print:
quantize: Mach-O 64-bit executable arm64If it shows x86_64 then you have to recompile after exiting conda environment:
make cleanmaketunglee35 commentedon Mar 13, 2023
@prusnak it said
tunglee35 commentedon Mar 13, 2023
Solved by re-install
condaenv. Thanks guysbowbowbow commentedon Mar 14, 2023
@brozkrut
Thank you, it works as you said.
JerryYao80 commentedon May 29, 2023
@brozkrut I got the error in Windows 7:
when I executed :
and I checked my quantize file:
But the architecture of docker image named ghcr.io/ggerganov/llama.cpp:full is amd64:
and my environment is:
SO I'M CONFUSED:
1 Must I re-compile quantize?
2 How to re-compile if I use docker image?
3 Is there anywhere that I can download directly?
amanreddy77 commentedon Jan 19, 2024
amanreddy77 commentedon Jan 19, 2024
can you please explain me
iqk_mul_mat(ARM_NEON): adding bf16 support (ggml-org#41)
EVOKE: iSWA dual-cache support in kv_block_save/load (ggml-org#41)
EVOKE: iSWA dual-cache support in kv_block_save/load (ggml-org#41)
Merge pull request ggml-org#41 from tc-mb/feat/web-demo-readme
Merge pull request ggml-org#41 from tc-mb/feat/web-demo-readme
feat(l10n): patches 36-42 + ru.json 246 фраз — финальная русификация …