Spaces:
Sleeping
Sleeping
scripts : fix sync scripts
Browse files- scripts/sync-ggml-am.sh +3 -0
- scripts/sync-ggml.sh +1 -0
scripts/sync-ggml-am.sh
CHANGED
|
@@ -63,6 +63,7 @@ while read c; do
|
|
| 63 |
src/ggml*.metal \
|
| 64 |
src/ggml*.cu \
|
| 65 |
src/ggml-cuda/* \
|
|
|
|
| 66 |
include/ggml*.h \
|
| 67 |
examples/common.h \
|
| 68 |
examples/common.cpp \
|
|
@@ -112,6 +113,7 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
|
|
| 112 |
# src/ggml-quants.c -> ggml/src/ggml-quants.c
|
| 113 |
# src/ggml-quants.h -> ggml/src/ggml-quants.h
|
| 114 |
# src/ggml-rpc.cpp -> ggml/src/ggml-rpc.cpp
|
|
|
|
| 115 |
# src/ggml-sycl.cpp -> ggml/src/ggml-sycl.cpp
|
| 116 |
# src/ggml-vulkan.cpp -> ggml/src/ggml-vulkan.cpp
|
| 117 |
#
|
|
@@ -151,6 +153,7 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
|
|
| 151 |
-e 's/([[:space:]]|[ab]\/)src\/ggml-quants\.c/\1ggml\/src\/ggml-quants.c/g' \
|
| 152 |
-e 's/([[:space:]]|[ab]\/)src\/ggml-quants\.h/\1ggml\/src\/ggml-quants.h/g' \
|
| 153 |
-e 's/([[:space:]]|[ab]\/)src\/ggml-rpc\.cpp/\1ggml\/src\/ggml-rpc.cpp/g' \
|
|
|
|
| 154 |
-e 's/([[:space:]]|[ab]\/)src\/ggml-sycl\.cpp/\1ggml\/src\/ggml-sycl.cpp/g' \
|
| 155 |
-e 's/([[:space:]]|[ab]\/)src\/ggml-vulkan\.cpp/\1ggml\/src\/ggml-vulkan.cpp/g' \
|
| 156 |
-e 's/([[:space:]]|[ab]\/)include\/ggml\.h/\1ggml\/include\/ggml.h/g' \
|
|
|
|
| 63 |
src/ggml*.metal \
|
| 64 |
src/ggml*.cu \
|
| 65 |
src/ggml-cuda/* \
|
| 66 |
+
src/ggml-sycl/* \
|
| 67 |
include/ggml*.h \
|
| 68 |
examples/common.h \
|
| 69 |
examples/common.cpp \
|
|
|
|
| 113 |
# src/ggml-quants.c -> ggml/src/ggml-quants.c
|
| 114 |
# src/ggml-quants.h -> ggml/src/ggml-quants.h
|
| 115 |
# src/ggml-rpc.cpp -> ggml/src/ggml-rpc.cpp
|
| 116 |
+
# src/ggml-sycl/* -> ggml/src/ggml-sycl/*
|
| 117 |
# src/ggml-sycl.cpp -> ggml/src/ggml-sycl.cpp
|
| 118 |
# src/ggml-vulkan.cpp -> ggml/src/ggml-vulkan.cpp
|
| 119 |
#
|
|
|
|
| 153 |
-e 's/([[:space:]]|[ab]\/)src\/ggml-quants\.c/\1ggml\/src\/ggml-quants.c/g' \
|
| 154 |
-e 's/([[:space:]]|[ab]\/)src\/ggml-quants\.h/\1ggml\/src\/ggml-quants.h/g' \
|
| 155 |
-e 's/([[:space:]]|[ab]\/)src\/ggml-rpc\.cpp/\1ggml\/src\/ggml-rpc.cpp/g' \
|
| 156 |
+
-e 's/([[:space:]]|[ab]\/)src\/ggml-sycl\//\1ggml\/src\/ggml-sycl\//g' \
|
| 157 |
-e 's/([[:space:]]|[ab]\/)src\/ggml-sycl\.cpp/\1ggml\/src\/ggml-sycl.cpp/g' \
|
| 158 |
-e 's/([[:space:]]|[ab]\/)src\/ggml-vulkan\.cpp/\1ggml\/src\/ggml-vulkan.cpp/g' \
|
| 159 |
-e 's/([[:space:]]|[ab]\/)include\/ggml\.h/\1ggml\/include\/ggml.h/g' \
|
scripts/sync-ggml.sh
CHANGED
|
@@ -18,6 +18,7 @@ cp -rpv ../ggml/src/ggml-metal.metal ./ggml/src/ggml-metal.metal
|
|
| 18 |
cp -rpv ../ggml/src/ggml-quants.c ./ggml/src/ggml-quants.c
|
| 19 |
cp -rpv ../ggml/src/ggml-quants.h ./ggml/src/ggml-quants.h
|
| 20 |
cp -rpv ../ggml/src/ggml-rpc.cpp ./ggml/src/ggml-rpc.cpp
|
|
|
|
| 21 |
cp -rpv ../ggml/src/ggml-sycl.cpp ./ggml/src/ggml-sycl.cpp
|
| 22 |
cp -rpv ../ggml/src/ggml-vulkan.cpp ./ggml/src/ggml-vulkan.cpp
|
| 23 |
|
|
|
|
| 18 |
cp -rpv ../ggml/src/ggml-quants.c ./ggml/src/ggml-quants.c
|
| 19 |
cp -rpv ../ggml/src/ggml-quants.h ./ggml/src/ggml-quants.h
|
| 20 |
cp -rpv ../ggml/src/ggml-rpc.cpp ./ggml/src/ggml-rpc.cpp
|
| 21 |
+
cp -rpv ../ggml/src/ggml-sycl/* ./ggml/src/ggml-sycl/
|
| 22 |
cp -rpv ../ggml/src/ggml-sycl.cpp ./ggml/src/ggml-sycl.cpp
|
| 23 |
cp -rpv ../ggml/src/ggml-vulkan.cpp ./ggml/src/ggml-vulkan.cpp
|
| 24 |
|