Spaces:
Sleeping
Sleeping
scripts : update sync
Browse files- scripts/sync-ggml-am.sh +2 -4
- scripts/sync-ggml.sh +1 -2
scripts/sync-ggml-am.sh
CHANGED
|
@@ -111,14 +111,13 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
|
|
| 111 |
# src/ggml-kompute.h -> ggml-kompute.h
|
| 112 |
# src/ggml-metal.h -> ggml-metal.h
|
| 113 |
# src/ggml-metal.m -> ggml-metal.m
|
| 114 |
-
# src/ggml-mpi.h -> ggml-mpi.h
|
| 115 |
-
# src/ggml-mpi.c -> ggml-mpi.c
|
| 116 |
# src/ggml-opencl.cpp -> ggml-opencl.cpp
|
| 117 |
# src/ggml-opencl.h -> ggml-opencl.h
|
| 118 |
# src/ggml-quants.c -> ggml-quants.c
|
| 119 |
# src/ggml-quants.h -> ggml-quants.h
|
| 120 |
# src/ggml-rpc.cpp -> ggml-rpc.cpp
|
| 121 |
# src/ggml-rpc.h -> ggml-rpc.h
|
|
|
|
| 122 |
# src/ggml-sycl.cpp -> ggml-sycl.cpp
|
| 123 |
# src/ggml-sycl.h -> ggml-sycl.h
|
| 124 |
# src/ggml-vulkan.cpp -> ggml-vulkan.cpp
|
|
@@ -156,14 +155,13 @@ if [ -f $SRC_WHISPER/ggml-src.patch ]; then
|
|
| 156 |
-e 's/src\/ggml-kompute\.h/ggml-kompute.h/g' \
|
| 157 |
-e 's/src\/ggml-metal\.h/ggml-metal.h/g' \
|
| 158 |
-e 's/src\/ggml-metal\.m/ggml-metal.m/g' \
|
| 159 |
-
-e 's/src\/ggml-mpi\.h/ggml-mpi.h/g' \
|
| 160 |
-
-e 's/src\/ggml-mpi\.c/ggml-mpi.c/g' \
|
| 161 |
-e 's/src\/ggml-opencl\.cpp/ggml-opencl.cpp/g' \
|
| 162 |
-e 's/src\/ggml-opencl\.h/ggml-opencl.h/g' \
|
| 163 |
-e 's/src\/ggml-quants\.c/ggml-quants.c/g' \
|
| 164 |
-e 's/src\/ggml-quants\.h/ggml-quants.h/g' \
|
| 165 |
-e 's/src\/ggml-rpc\.cpp/ggml-rpc.cpp/g' \
|
| 166 |
-e 's/src\/ggml-rpc\.h/ggml-rpc.h/g' \
|
|
|
|
| 167 |
-e 's/src\/ggml-sycl\.cpp/ggml-sycl.cpp/g' \
|
| 168 |
-e 's/src\/ggml-sycl\.h/ggml-sycl.h/g' \
|
| 169 |
-e 's/src\/ggml-vulkan\.cpp/ggml-vulkan.cpp/g' \
|
|
|
|
| 111 |
# src/ggml-kompute.h -> ggml-kompute.h
|
| 112 |
# src/ggml-metal.h -> ggml-metal.h
|
| 113 |
# src/ggml-metal.m -> ggml-metal.m
|
|
|
|
|
|
|
| 114 |
# src/ggml-opencl.cpp -> ggml-opencl.cpp
|
| 115 |
# src/ggml-opencl.h -> ggml-opencl.h
|
| 116 |
# src/ggml-quants.c -> ggml-quants.c
|
| 117 |
# src/ggml-quants.h -> ggml-quants.h
|
| 118 |
# src/ggml-rpc.cpp -> ggml-rpc.cpp
|
| 119 |
# src/ggml-rpc.h -> ggml-rpc.h
|
| 120 |
+
# src/ggml-sycl/* -> ggml-sycl/
|
| 121 |
# src/ggml-sycl.cpp -> ggml-sycl.cpp
|
| 122 |
# src/ggml-sycl.h -> ggml-sycl.h
|
| 123 |
# src/ggml-vulkan.cpp -> ggml-vulkan.cpp
|
|
|
|
| 155 |
-e 's/src\/ggml-kompute\.h/ggml-kompute.h/g' \
|
| 156 |
-e 's/src\/ggml-metal\.h/ggml-metal.h/g' \
|
| 157 |
-e 's/src\/ggml-metal\.m/ggml-metal.m/g' \
|
|
|
|
|
|
|
| 158 |
-e 's/src\/ggml-opencl\.cpp/ggml-opencl.cpp/g' \
|
| 159 |
-e 's/src\/ggml-opencl\.h/ggml-opencl.h/g' \
|
| 160 |
-e 's/src\/ggml-quants\.c/ggml-quants.c/g' \
|
| 161 |
-e 's/src\/ggml-quants\.h/ggml-quants.h/g' \
|
| 162 |
-e 's/src\/ggml-rpc\.cpp/ggml-rpc.cpp/g' \
|
| 163 |
-e 's/src\/ggml-rpc\.h/ggml-rpc.h/g' \
|
| 164 |
+
-e 's/src\/ggml-sycl\//ggml-sycl\//g' \
|
| 165 |
-e 's/src\/ggml-sycl\.cpp/ggml-sycl.cpp/g' \
|
| 166 |
-e 's/src\/ggml-sycl\.h/ggml-sycl.h/g' \
|
| 167 |
-e 's/src\/ggml-vulkan\.cpp/ggml-vulkan.cpp/g' \
|
scripts/sync-ggml.sh
CHANGED
|
@@ -14,14 +14,13 @@ cp -rpv ../ggml/src/ggml-kompute.h ./ggml-kompute.h
|
|
| 14 |
cp -rpv ../ggml/src/ggml-metal.h ./ggml-metal.h
|
| 15 |
cp -rpv ../ggml/src/ggml-metal.m ./ggml-metal.m
|
| 16 |
cp -rpv ../ggml/src/ggml-metal.metal ./ggml-metal.metal
|
| 17 |
-
#cp -rpv ../ggml/src/ggml-mpi.h ./ggml-mpi.h
|
| 18 |
-
#cp -rpv ../ggml/src/ggml-mpi.c ./ggml-mpi.c
|
| 19 |
cp -rpv ../ggml/src/ggml-opencl.cpp ./ggml-opencl.cpp
|
| 20 |
cp -rpv ../ggml/src/ggml-opencl.h ./ggml-opencl.h
|
| 21 |
cp -rpv ../ggml/src/ggml-quants.c ./ggml-quants.c
|
| 22 |
cp -rpv ../ggml/src/ggml-quants.h ./ggml-quants.h
|
| 23 |
cp -rpv ../ggml/src/ggml-rpc.cpp ./ggml-rpc.cpp
|
| 24 |
cp -rpv ../ggml/src/ggml-rpc.h ./ggml-rpc.h
|
|
|
|
| 25 |
cp -rpv ../ggml/src/ggml-sycl.cpp ./ggml-sycl.cpp
|
| 26 |
cp -rpv ../ggml/src/ggml-sycl.h ./ggml-sycl.h
|
| 27 |
cp -rpv ../ggml/src/ggml-vulkan.cpp ./ggml-vulkan.cpp
|
|
|
|
| 14 |
cp -rpv ../ggml/src/ggml-metal.h ./ggml-metal.h
|
| 15 |
cp -rpv ../ggml/src/ggml-metal.m ./ggml-metal.m
|
| 16 |
cp -rpv ../ggml/src/ggml-metal.metal ./ggml-metal.metal
|
|
|
|
|
|
|
| 17 |
cp -rpv ../ggml/src/ggml-opencl.cpp ./ggml-opencl.cpp
|
| 18 |
cp -rpv ../ggml/src/ggml-opencl.h ./ggml-opencl.h
|
| 19 |
cp -rpv ../ggml/src/ggml-quants.c ./ggml-quants.c
|
| 20 |
cp -rpv ../ggml/src/ggml-quants.h ./ggml-quants.h
|
| 21 |
cp -rpv ../ggml/src/ggml-rpc.cpp ./ggml-rpc.cpp
|
| 22 |
cp -rpv ../ggml/src/ggml-rpc.h ./ggml-rpc.h
|
| 23 |
+
cp -rpv ../ggml/src/ggml-sycl/* ./ggml-sycl/
|
| 24 |
cp -rpv ../ggml/src/ggml-sycl.cpp ./ggml-sycl.cpp
|
| 25 |
cp -rpv ../ggml/src/ggml-sycl.h ./ggml-sycl.h
|
| 26 |
cp -rpv ../ggml/src/ggml-vulkan.cpp ./ggml-vulkan.cpp
|