Repository navigation
How to build llamafile.exe with Intel OneAPI (MKL) compilers? #430
Answered
by
jart
llm-finetune
asked this question in
Q&A
|
I am trying to run inference on my Windows machine using llamafile.exe. How can I build the llamafile.exe using Intel's One API compilers? Intel MKL has given us higher speed than openBLAS when we compiled the llama.cpp standalone. |
Answered by
jart
May 21, 2024
Replies: 1 comment
|
llamafile should already give you very good performance, for the reasons explained in https://justine.lol/matmul/. Basically, you get BLAS-like performance out of the box. If you still want to use MKL, then it's recommended you use https://github.com/ggerganov/llama.cpp/ and follow the instructions at https://github.com/ggerganov/llama.cpp/?tab=readme-ov-file#intel-onemkl |
0 replies
Answer selected by
llm-finetune
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
llamafile should already give you very good performance, for the reasons explained in https://justine.lol/matmul/. Basically, you get BLAS-like performance out of the box. If you still want to use MKL, then it's recommended you use https://github.com/ggerganov/llama.cpp/ and follow the instructions at https://github.com/ggerganov/llama.cpp/?tab=readme-ov-file#intel-onemkl