From fc84386b86d5539602156cd6c0c7db31be18bdcb Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 8 May 2025 22:02:00 +0200 Subject: [PATCH] adjust cublas for whisper.cpp Signed-off-by: Ettore Di Giacinto --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5093e62d..b9ebee60 100644 --- a/Makefile +++ b/Makefile @@ -141,7 +141,8 @@ ifeq ($(BUILD_TYPE),cublas) CGO_LDFLAGS+=-lcublas -lcudart -L$(CUDA_LIBPATH) -L$(CUDA_LIBPATH)/stubs/ -lcuda export GGML_CUDA=1 CMAKE_ARGS+=-DGGML_CUDA=ON - CGO_LDFLAGS_WHISPER+=-lcufft + CGO_LDFLAGS_WHISPER+=-lcufft -lggml-cuda + export WHISPER_LIBRARY_PATH:=$(WHISPER_LIBRARY_PATH):$(WHISPER_DIR)/build/ggml/src/ggml-cuda/ endif ifeq ($(BUILD_TYPE),vulkan)