From 21974fe1d34a760bd94b53a9b10a6c784452df3c Mon Sep 17 00:00:00 2001 From: cryptk <421501+cryptk@users.noreply.github.com> Date: Sun, 28 Apr 2024 12:51:53 -0500 Subject: [PATCH] fix: swap to WHISPER_CUDA per deprecation message from whisper.cpp (#2170) Signed-off-by: Chris Jowett <421501+cryptk@users.noreply.github.com> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6ef6e9ab..be1c6d2e 100644 --- a/Makefile +++ b/Makefile @@ -99,7 +99,7 @@ endif ifeq ($(BUILD_TYPE),cublas) CGO_LDFLAGS+=-lcublas -lcudart -L$(CUDA_LIBPATH) export LLAMA_CUBLAS=1 - export WHISPER_CUBLAS=1 + export WHISPER_CUDA=1 CGO_LDFLAGS_WHISPER+=-L$(CUDA_LIBPATH)/stubs/ -lcuda endif