Spaces:
Running
Running
scripts : update sync
Browse files- scripts/sync-ggml-am.sh +7 -0
- scripts/sync-ggml.sh +2 -0
scripts/sync-ggml-am.sh
CHANGED
|
@@ -71,6 +71,8 @@ while read c; do
|
|
| 71 |
examples/whisper/whisper.cpp \
|
| 72 |
examples/whisper/main.cpp \
|
| 73 |
examples/whisper/quantize.cpp \
|
|
|
|
|
|
|
| 74 |
>> $SRC_WHISPER/ggml-src.patch
|
| 75 |
done < $SRC_WHISPER/ggml-commits
|
| 76 |
|
|
@@ -134,6 +136,9 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
|
|
| 134 |
# examples/whisper/whisper.cpp -> whisper.cpp
|
| 135 |
# examples/whisper/main.cpp -> examples/main/main.cpp
|
| 136 |
# examples/whisper/quantize.cpp -> examples/quantize/quantize.cpp
|
|
|
|
|
|
|
|
|
|
| 137 |
|
| 138 |
cat ggml-src.patch | sed \
|
| 139 |
-e 's/src\/ggml\.c/ggml.c/g' \
|
|
@@ -172,6 +177,8 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
|
|
| 172 |
-e 's/examples\/whisper\/whisper\.cpp/whisper.cpp/g' \
|
| 173 |
-e 's/examples\/whisper\/main\.cpp/examples\/main\/main.cpp/g' \
|
| 174 |
-e 's/examples\/whisper\/quantize\.cpp/examples\/quantize\/quantize.cpp/g' \
|
|
|
|
|
|
|
| 175 |
> ggml-src.patch.tmp
|
| 176 |
mv ggml-src.patch.tmp ggml-src.patch
|
| 177 |
|
|
|
|
| 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
|
| 77 |
done < $SRC_WHISPER/ggml-commits
|
| 78 |
|
|
|
|
| 136 |
# examples/whisper/whisper.cpp -> whisper.cpp
|
| 137 |
# examples/whisper/main.cpp -> examples/main/main.cpp
|
| 138 |
# examples/whisper/quantize.cpp -> examples/quantize/quantize.cpp
|
| 139 |
+
#
|
| 140 |
+
# LICENSE -> LICENSE
|
| 141 |
+
# ggml/scripts/gen-authors.sh -> scripts/gen-authors.sh
|
| 142 |
|
| 143 |
cat ggml-src.patch | sed \
|
| 144 |
-e 's/src\/ggml\.c/ggml.c/g' \
|
|
|
|
| 177 |
-e 's/examples\/whisper\/whisper\.cpp/whisper.cpp/g' \
|
| 178 |
-e 's/examples\/whisper\/main\.cpp/examples\/main\/main.cpp/g' \
|
| 179 |
-e 's/examples\/whisper\/quantize\.cpp/examples\/quantize\/quantize.cpp/g' \
|
| 180 |
+
-e 's/LICENSE/LICENSE/g' \
|
| 181 |
+
-e 's/ggml\/scripts\/gen-authors\.sh/scripts\/gen-authors.sh/g' \
|
| 182 |
> ggml-src.patch.tmp
|
| 183 |
mv ggml-src.patch.tmp ggml-src.patch
|
| 184 |
|
scripts/sync-ggml.sh
CHANGED
|
@@ -41,3 +41,5 @@ cp -rpv ../ggml/examples/whisper/whisper.cpp ./whisper.cpp
|
|
| 41 |
cp -rpv ../ggml/examples/whisper/main.cpp ./examples/main/main.cpp
|
| 42 |
cp -rpv ../ggml/examples/whisper/quantize.cpp ./examples/quantize/quantize.cpp
|
| 43 |
|
|
|
|
|
|
|
|
|
| 41 |
cp -rpv ../ggml/examples/whisper/main.cpp ./examples/main/main.cpp
|
| 42 |
cp -rpv ../ggml/examples/whisper/quantize.cpp ./examples/quantize/quantize.cpp
|
| 43 |
|
| 44 |
+
cp -rpv ../LICENSE ./LICENSE
|
| 45 |
+
cp -rpv ../ggml/scripts/gen-authors.sh ./scripts/gen-authors.sh
|