From: Georgi Gerganov Date: Wed, 27 Mar 2024 17:01:42 +0000 (+0200) Subject: sync : whisper.cpp X-Git-Tag: upstream/0.0.1642~797 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=43b30f4d73aad2f0ec9868bc4d0597f6a99840fd;p=pkg%2Fggml%2Fsources%2Fggml sync : whisper.cpp --- diff --git a/scripts/sync-whisper-am.sh b/scripts/sync-whisper-am.sh index 3fe4e380..5dcc3a69 100755 --- a/scripts/sync-whisper-am.sh +++ b/scripts/sync-whisper-am.sh @@ -97,6 +97,7 @@ if [ -f $SRC_GGML/whisper-src.patch ]; then # ggml-backend-impl.h -> src/ggml-backend-impl.h # ggml-backend.c -> src/ggml-backend.c # ggml-common.h -> src/ggml-common.h + # ggml-cuda/* -> src/ggml-cuda/ # ggml-cuda.cu -> src/ggml-cuda.cu # ggml-cuda.h -> src/ggml-cuda.h # ggml-impl.h -> src/ggml-impl.h @@ -134,6 +135,7 @@ if [ -f $SRC_GGML/whisper-src.patch ]; then -e 's/\/ggml-backend-impl\.h/\/src\/ggml-backend-impl.h/g' \ -e 's/\/ggml-backend\.c/\/src\/ggml-backend.c/g' \ -e 's/\/ggml-common\.h/\/src\/ggml-common.h/g' \ + -e 's/\/ggml-cuda\//\/src\/ggml-cuda\//g' \ -e 's/\/ggml-cuda\.cu/\/src\/ggml-cuda.cu/g' \ -e 's/\/ggml-cuda\.h/\/src\/ggml-cuda.h/g' \ -e 's/\/ggml-impl\.h/\/src\/ggml-impl.h/g' \ diff --git a/scripts/sync-whisper.last b/scripts/sync-whisper.last index 05245512..2cf1563b 100644 --- a/scripts/sync-whisper.last +++ b/scripts/sync-whisper.last @@ -1 +1 @@ -f23caa244f7ae54fe85fa3e226345b4ea040d9bb +2948c740a2bf43190b8e3badb6f1e147f11f96d1 diff --git a/scripts/sync-whisper.sh b/scripts/sync-whisper.sh index 1d2b81f1..7ccde847 100755 --- a/scripts/sync-whisper.sh +++ b/scripts/sync-whisper.sh @@ -6,6 +6,7 @@ cp -rpv ../whisper.cpp/ggml-alloc.c src/ggml-alloc.c cp -rpv ../whisper.cpp/ggml-backend-impl.h src/ggml-backend-impl.h cp -rpv ../whisper.cpp/ggml-backend.c src/ggml-backend.c cp -rpv ../whisper.cpp/ggml-common.h src/ggml-common.h +cp -rpv ../whisper.cpp/ggml-cuda/* src/ggml-cuda/ cp -rpv ../whisper.cpp/ggml-cuda.cu src/ggml-cuda.cu cp -rpv ../whisper.cpp/ggml-cuda.h src/ggml-cuda.h cp -rpv ../whisper.cpp/ggml-kompute.cpp src/ggml-kompute.cpp