]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
sync : whisper.cpp
authorGeorgi Gerganov <redacted>
Wed, 27 Mar 2024 17:01:42 +0000 (19:01 +0200)
committerGeorgi Gerganov <redacted>
Wed, 27 Mar 2024 17:01:42 +0000 (19:01 +0200)
scripts/sync-whisper-am.sh
scripts/sync-whisper.last
scripts/sync-whisper.sh

index 3fe4e380ca4b26562c07fce1adc0b07140b55cb6..5dcc3a698086fba4faa493a6d48fe319c6403080 100755 (executable)
@@ -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' \
index 05245512e2f3f321404e7ad3d79ab41c0c09fa05..2cf1563b65b663d4aa0741d65f803d5b5715c90b 100644 (file)
@@ -1 +1 @@
-f23caa244f7ae54fe85fa3e226345b4ea040d9bb
+2948c740a2bf43190b8e3badb6f1e147f11f96d1
index 1d2b81f128ff180eb79e395ae5ae69fd661d77e9..7ccde84717912a35eb09249e8e5352a31d67c8c0 100755 (executable)
@@ -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