From 63a767a1340dbdabbf8dfbc8773800208f5f1b72 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sun, 16 Jun 2024 18:38:46 +0300 Subject: [PATCH] scripts : stop sync whisper example from ggml --- scripts/sync-ggml-am.sh | 19 ------------------- scripts/sync-ggml.sh | 7 ------- 2 files changed, 26 deletions(-) diff --git a/scripts/sync-ggml-am.sh b/scripts/sync-ggml-am.sh index 8dcf0673..4614b459 100755 --- a/scripts/sync-ggml-am.sh +++ b/scripts/sync-ggml-am.sh @@ -65,12 +65,6 @@ while read c; do examples/common.cpp \ examples/common-ggml.h \ examples/common-ggml.cpp \ - examples/whisper/grammar-parser.h \ - examples/whisper/grammar-parser.cpp \ - examples/whisper/whisper.h \ - examples/whisper/whisper.cpp \ - examples/whisper/main.cpp \ - examples/whisper/quantize.cpp \ LICENSE \ scripts/gen-authors.sh \ >> $SRC_WHISPER/ggml-src.patch @@ -128,13 +122,6 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then # examples/common.cpp -> examples/common.cpp # examples/common-ggml.h -> examples/common-ggml.h # examples/common-ggml.cpp -> examples/common-ggml.cpp - # examples/whisper/grammar-parser.h -> examples/grammar-parser.h - # examples/whisper/grammar-parser.cpp -> examples/grammar-parser.cpp - # - # examples/whisper/whisper.h -> whisper.h - # examples/whisper/whisper.cpp -> whisper.cpp - # examples/whisper/main.cpp -> examples/main/main.cpp - # examples/whisper/quantize.cpp -> examples/quantize/quantize.cpp # # LICENSE -> LICENSE # ggml/scripts/gen-authors.sh -> scripts/gen-authors.sh @@ -169,12 +156,6 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then -e 's/examples\/common\.cpp/examples\/common.cpp/g' \ -e 's/examples\/common-ggml\.h/examples\/common-ggml.h/g' \ -e 's/examples\/common-ggml\.cpp/examples\/common-ggml.cpp/g' \ - -e 's/examples\/whisper\/grammar-parser\.h/examples\/grammar-parser.h/g' \ - -e 's/examples\/whisper\/grammar-parser\.cpp/examples\/grammar-parser.cpp/g' \ - -e 's/examples\/whisper\/whisper\.h/whisper.h/g' \ - -e 's/examples\/whisper\/whisper\.cpp/whisper.cpp/g' \ - -e 's/examples\/whisper\/main\.cpp/examples\/main\/main.cpp/g' \ - -e 's/examples\/whisper\/quantize\.cpp/examples\/quantize\/quantize.cpp/g' \ -e 's/LICENSE/LICENSE/g' \ -e 's/ggml\/scripts\/gen-authors\.sh/scripts\/gen-authors.sh/g' \ > ggml-src.patch.tmp diff --git a/scripts/sync-ggml.sh b/scripts/sync-ggml.sh index 18187b05..c718a07b 100755 --- a/scripts/sync-ggml.sh +++ b/scripts/sync-ggml.sh @@ -32,13 +32,6 @@ cp -rpv ../ggml/examples/common.h ./examples/common.h cp -rpv ../ggml/examples/common.cpp ./examples/common.cpp cp -rpv ../ggml/examples/common-ggml.h ./examples/common-ggml.h cp -rpv ../ggml/examples/common-ggml.cpp ./examples/common-ggml.cpp -cp -rpv ../ggml/examples/whisper/grammar-parser.h ./examples/grammar-parser.h -cp -rpv ../ggml/examples/whisper/grammar-parser.cpp ./examples/grammar-parser.cpp - -cp -rpv ../ggml/examples/whisper/whisper.h ./whisper.h -cp -rpv ../ggml/examples/whisper/whisper.cpp ./whisper.cpp -cp -rpv ../ggml/examples/whisper/main.cpp ./examples/main/main.cpp -cp -rpv ../ggml/examples/whisper/quantize.cpp ./examples/quantize/quantize.cpp cp -rpv ../LICENSE ./LICENSE cp -rpv ../ggml/scripts/gen-authors.sh ./scripts/gen-authors.sh