Spaces:
Running
Running
scripts : stop sync whisper example from ggml
Browse files- scripts/sync-ggml-am.sh +0 -19
- scripts/sync-ggml.sh +0 -7
scripts/sync-ggml-am.sh
CHANGED
|
@@ -65,12 +65,6 @@ while read c; do
|
|
| 65 |
examples/common.cpp \
|
| 66 |
examples/common-ggml.h \
|
| 67 |
examples/common-ggml.cpp \
|
| 68 |
-
examples/whisper/grammar-parser.h \
|
| 69 |
-
examples/whisper/grammar-parser.cpp \
|
| 70 |
-
examples/whisper/whisper.h \
|
| 71 |
-
examples/whisper/whisper.cpp \
|
| 72 |
-
examples/whisper/main.cpp \
|
| 73 |
-
examples/whisper/quantize.cpp \
|
| 74 |
LICENSE \
|
| 75 |
scripts/gen-authors.sh \
|
| 76 |
>> $SRC_WHISPER/ggml-src.patch
|
|
@@ -128,13 +122,6 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
|
|
| 128 |
# examples/common.cpp -> examples/common.cpp
|
| 129 |
# examples/common-ggml.h -> examples/common-ggml.h
|
| 130 |
# examples/common-ggml.cpp -> examples/common-ggml.cpp
|
| 131 |
-
# examples/whisper/grammar-parser.h -> examples/grammar-parser.h
|
| 132 |
-
# examples/whisper/grammar-parser.cpp -> examples/grammar-parser.cpp
|
| 133 |
-
#
|
| 134 |
-
# examples/whisper/whisper.h -> whisper.h
|
| 135 |
-
# examples/whisper/whisper.cpp -> whisper.cpp
|
| 136 |
-
# examples/whisper/main.cpp -> examples/main/main.cpp
|
| 137 |
-
# examples/whisper/quantize.cpp -> examples/quantize/quantize.cpp
|
| 138 |
#
|
| 139 |
# LICENSE -> LICENSE
|
| 140 |
# ggml/scripts/gen-authors.sh -> scripts/gen-authors.sh
|
|
@@ -169,12 +156,6 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
|
|
| 169 |
-e 's/examples\/common\.cpp/examples\/common.cpp/g' \
|
| 170 |
-e 's/examples\/common-ggml\.h/examples\/common-ggml.h/g' \
|
| 171 |
-e 's/examples\/common-ggml\.cpp/examples\/common-ggml.cpp/g' \
|
| 172 |
-
-e 's/examples\/whisper\/grammar-parser\.h/examples\/grammar-parser.h/g' \
|
| 173 |
-
-e 's/examples\/whisper\/grammar-parser\.cpp/examples\/grammar-parser.cpp/g' \
|
| 174 |
-
-e 's/examples\/whisper\/whisper\.h/whisper.h/g' \
|
| 175 |
-
-e 's/examples\/whisper\/whisper\.cpp/whisper.cpp/g' \
|
| 176 |
-
-e 's/examples\/whisper\/main\.cpp/examples\/main\/main.cpp/g' \
|
| 177 |
-
-e 's/examples\/whisper\/quantize\.cpp/examples\/quantize\/quantize.cpp/g' \
|
| 178 |
-e 's/LICENSE/LICENSE/g' \
|
| 179 |
-e 's/ggml\/scripts\/gen-authors\.sh/scripts\/gen-authors.sh/g' \
|
| 180 |
> ggml-src.patch.tmp
|
|
|
|
| 65 |
examples/common.cpp \
|
| 66 |
examples/common-ggml.h \
|
| 67 |
examples/common-ggml.cpp \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
LICENSE \
|
| 69 |
scripts/gen-authors.sh \
|
| 70 |
>> $SRC_WHISPER/ggml-src.patch
|
|
|
|
| 122 |
# examples/common.cpp -> examples/common.cpp
|
| 123 |
# examples/common-ggml.h -> examples/common-ggml.h
|
| 124 |
# examples/common-ggml.cpp -> examples/common-ggml.cpp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
#
|
| 126 |
# LICENSE -> LICENSE
|
| 127 |
# ggml/scripts/gen-authors.sh -> scripts/gen-authors.sh
|
|
|
|
| 156 |
-e 's/examples\/common\.cpp/examples\/common.cpp/g' \
|
| 157 |
-e 's/examples\/common-ggml\.h/examples\/common-ggml.h/g' \
|
| 158 |
-e 's/examples\/common-ggml\.cpp/examples\/common-ggml.cpp/g' \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 159 |
-e 's/LICENSE/LICENSE/g' \
|
| 160 |
-e 's/ggml\/scripts\/gen-authors\.sh/scripts\/gen-authors.sh/g' \
|
| 161 |
> ggml-src.patch.tmp
|
scripts/sync-ggml.sh
CHANGED
|
@@ -32,13 +32,6 @@ cp -rpv ../ggml/examples/common.h ./examples/common.h
|
|
| 32 |
cp -rpv ../ggml/examples/common.cpp ./examples/common.cpp
|
| 33 |
cp -rpv ../ggml/examples/common-ggml.h ./examples/common-ggml.h
|
| 34 |
cp -rpv ../ggml/examples/common-ggml.cpp ./examples/common-ggml.cpp
|
| 35 |
-
cp -rpv ../ggml/examples/whisper/grammar-parser.h ./examples/grammar-parser.h
|
| 36 |
-
cp -rpv ../ggml/examples/whisper/grammar-parser.cpp ./examples/grammar-parser.cpp
|
| 37 |
-
|
| 38 |
-
cp -rpv ../ggml/examples/whisper/whisper.h ./whisper.h
|
| 39 |
-
cp -rpv ../ggml/examples/whisper/whisper.cpp ./whisper.cpp
|
| 40 |
-
cp -rpv ../ggml/examples/whisper/main.cpp ./examples/main/main.cpp
|
| 41 |
-
cp -rpv ../ggml/examples/whisper/quantize.cpp ./examples/quantize/quantize.cpp
|
| 42 |
|
| 43 |
cp -rpv ../LICENSE ./LICENSE
|
| 44 |
cp -rpv ../ggml/scripts/gen-authors.sh ./scripts/gen-authors.sh
|
|
|
|
| 32 |
cp -rpv ../ggml/examples/common.cpp ./examples/common.cpp
|
| 33 |
cp -rpv ../ggml/examples/common-ggml.h ./examples/common-ggml.h
|
| 34 |
cp -rpv ../ggml/examples/common-ggml.cpp ./examples/common-ggml.cpp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
cp -rpv ../LICENSE ./LICENSE
|
| 37 |
cp -rpv ../ggml/scripts/gen-authors.sh ./scripts/gen-authors.sh
|