try Building OPENBLAS on windows (failing) #193
Unanswered
basel45rob
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi , I am trying to compile with OPENBLAS support on windows and just cant seem to get it right.
the install instructions in the readme are not working for me.
I've set the env args in powershell :
then ran : "python setup.py install"
using: set LLAMA_OPENBLAS = "1" | set DBLAS_LIBRARIES=psth/openblas/include/cblas.h" | etc.
also works.
And the blas lib is recognized but it wont build with blas support.
I tried compiling llama.cpp with openblas and then putting that in vendor but it wont build.
If I start fresh (delete - clone repo again) then it finds the openblas lib and there is a llama.dll file but when running llama-cpp-python BLAS =0. like the lib wasn't used in compiling.
I saw that you need to add "openblas" in the cmakefiles.text - in the private extra libs. after adding it, compile error is:
copying to root folder didnt work...what am I missing?
any help would be appreciated. Thanks
putting the llama.cpp windows instructions for openblas which worked:
Beta Was this translation helpful? Give feedback.
All reactions