ggml-org/whisper.cpp

OpenBLAS hardcoded in Makefile - and should we use it?

開放

#414 建立於 2023年1月16日

 (4 則留言) (0 個反應) (0 位負責人)C++ (6,074 個分叉)batch import
enhancementgood first issue

倉庫指標

星標
 (52,968 顆星)
PR 合併指標
 (平均合併 5天 20小時) (30 天內合併 36 個 PR)

描述

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?

貢獻者指南