Skip to content

Commit

Permalink
sync : whisper.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Mar 27, 2024
1 parent 4afed64 commit 43b30f4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions scripts/sync-whisper-am.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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' \
Expand Down
2 changes: 1 addition & 1 deletion scripts/sync-whisper.last
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f23caa244f7ae54fe85fa3e226345b4ea040d9bb
2948c740a2bf43190b8e3badb6f1e147f11f96d1
1 change: 1 addition & 0 deletions scripts/sync-whisper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 43b30f4

Please sign in to comment.