mirror of
https://github.com/mudler/LocalAI.git
synced 2026-09-25 15:44:56 -04:00
fix(whisper.cpp): Add stubs and -lcuda
This commit is contained in:
1 parent
0663f66205
commit
b790fca180
1 file changed
+3
@@ -91,10 +91,13 @@ ifeq ($(BUILD_TYPE),openblas)
|
||||
export WHISPER_OPENBLAS=1
|
||||
endif
|
||||
|
||||
|
||||
ifeq ($(BUILD_TYPE),cublas)
|
||||
CGO_LDFLAGS+=-lcublas -lcudart -lculibos -lcublasLt -L$(CUDA_LIBPATH)
|
||||
export LLAMA_CUBLAS=1
|
||||
# required by whisper.cpp
|
||||
export WHISPER_CUBLAS=1
|
||||
CGO_LDFLAGS+=-L$(CUDA_PATH)/stubs -lcuda
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_TYPE),hipblas)
|
||||
|
||||
Reference in new issue
Block a user