ggml-org/whisper.cpp

OpenBLAS hardcoded in Makefile - and should we use it?

Aberta

#414 aberto em 16 de jan. de 2023

 (4 comentários) (0 reação) (0 responsável)C++ (6.072 forks)batch import
enhancementgood first issue

Métricas do repositório

Stars
 (52.942 estrelas)
Métricas de merge de PR
 (Mesclagem média 5d 20h) (36 fundiu PRs em 30d)

Description

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?

Guia do colaborador