mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-18 20:27:57 +00:00
fix(whisper.cpp): Add stubs and -lcuda
This commit is contained in:
parent
0663f66205
commit
b790fca180
3
Makefile
3
Makefile
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user