ggml-org/whisper.cpp

OpenBLAS hardcoded in Makefile - and should we use it?

Aperta

#414 aperta il 16 gen 2023

 (4 commenti) (0 reazioni) (0 assegnatari)C++ (6074 fork)batch import
enhancementgood first issue

Metriche repository

Star
 (52.968 stelle)
Metriche merge PR
 (Merge medio 5g 20h) (36 PR mergiate in 30 g)

Descrizione

the path to openblas libraries is hardcoded as: /usr/local/include/openblas a la:

ifdef WHISPER_OPENBLAS
        CFLAGS  += -DGGML_USE_OPENBLAS -I/usr/local/include/openblas
        LDFLAGS += -lopenblas
endif

As I wish to give whisper.cpp all the help I can with libraries it can use (M1 arm64 MBP13"), I could install macports' version but it would probably be located in /opt/local/include/openblas (I'm assuming).

Should I install that and change the Makefile? Benefits?

Guida contributor