How to compile with BLAS on Apple Silicon #333
-
Hi, I'm trying to compile koboldcpp with BLAS on my M2 Max, I tried OPENBLAS and CLBLAST, both installed through homebrew, but I always get the following messages:
How can I specify where the respective libraries can be found? Thanks in advance and sorry for the noob question. 😅 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You will have much better performance on a mac if you just use the already-supported Accelerate module, which is faster than OpenBLAS on mac. So you don't need OpenBLAS at all. If you wanna use Metal, just try with |
Beta Was this translation helpful? Give feedback.
You will have much better performance on a mac if you just use the already-supported Accelerate module, which is faster than OpenBLAS on mac.
So you don't need OpenBLAS at all. If you wanna use Metal, just try with
make LLAMA_METAL=1
first. Otherwise, a simplemake
would use Accelerate.