ggml-org/whisper.cpp

OpenBLAS hardcoded in Makefile - and should we use it?

オープン

#414 opened on 2023/01/16

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (6,072 件のフォーク)batch import
enhancementgood first issue

Repository metrics

Stars
 (52,942 個のスター)
PR merge metrics
 (平均マージ 5d 20h) (30d で 36 merged PRs)

説明

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?

コントリビューターガイド