Skip to content

Commit

Permalink
scripts : sync ggml-blas (cont)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Jun 16, 2024
1 parent 80b4ee0 commit 4e43dbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/sync-whisper-am.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ if [ -f $SRC_GGML/whisper-src.patch ]; then
# ggml-alloc.c -> src/ggml-alloc.c
# ggml-backend-impl.h -> src/ggml-backend-impl.h
# ggml-backend.c -> src/ggml-backend.c
# ggml-blas.cpp -> src/ggml-blas.cpp
# ggml-blas.h -> src/ggml-blas.h
# ggml-common.h -> src/ggml-common.h
# ggml-cuda/* -> src/ggml-cuda/
# ggml-cuda.cu -> src/ggml-cuda.cu
Expand Down Expand Up @@ -143,6 +145,8 @@ if [ -f $SRC_GGML/whisper-src.patch ]; then
-e 's/\/ggml-alloc\.c/\/src\/ggml-alloc.c/g' \
-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-blas\.cpp/\/src\/ggml-blas.cpp/g' \
-e 's/\/ggml-blas\.h/\/src\/ggml-blas.h/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' \
Expand Down
2 changes: 2 additions & 0 deletions scripts/sync-whisper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ cp -rpv ../whisper.cpp/ggml-impl.h src/ggml-impl.h
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-blas.cpp src/ggml-blas.cpp
cp -rpv ../whisper.cpp/ggml-blas.h src/ggml-blas.h
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
Expand Down

0 comments on commit 4e43dbd

Please sign in to comment.