]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
scripts : sync ggml-rpc
authorGeorgi Gerganov <redacted>
Tue, 14 May 2024 16:12:05 +0000 (19:12 +0300)
committerGeorgi Gerganov <redacted>
Tue, 14 May 2024 16:13:14 +0000 (19:13 +0300)
scripts/sync-llama-am.sh
scripts/sync-llama.sh
scripts/sync-whisper-am.sh
scripts/sync-whisper.sh

index 6393bdf75f396f4147b5c965afa28f384098b8d6..2685e9ece5bee2e22568844fbaad95a805908355 100755 (executable)
@@ -111,6 +111,8 @@ if [ -f $SRC_GGML/llama-src.patch ]; then
     # ggml-opencl.h       -> src/ggml-opencl.h
     # ggml-quants.c       -> src/ggml-quants.c
     # ggml-quants.h       -> src/ggml-quants.h
+    # ggml-rpc.cpp        -> src/ggml-rpc.cpp
+    # ggml-rpc.h          -> src/ggml-rpc.h
     # ggml-sycl.cpp       -> src/ggml-sycl.cpp
     # ggml-sycl.h         -> src/ggml-sycl.h
     # ggml-vulkan.cpp     -> src/ggml-vulkan.cpp
@@ -148,6 +150,8 @@ if [ -f $SRC_GGML/llama-src.patch ]; then
         -e 's/\/ggml-opencl\.h/\/src\/ggml-opencl.h/g' \
         -e 's/\/ggml-quants\.c/\/src\/ggml-quants.c/g' \
         -e 's/\/ggml-quants\.h/\/src\/ggml-quants.h/g' \
+        -e 's/\/ggml-rpc\.cpp/\/src\/ggml-rpc.cpp/g' \
+        -e 's/\/ggml-rpc\.h/\/src\/ggml-rpc.h/g' \
         -e 's/\/ggml-sycl\.cpp/\/src\/ggml-sycl.cpp/g' \
         -e 's/\/ggml-sycl\.h/\/src\/ggml-sycl.h/g' \
         -e 's/\/ggml-vulkan\.cpp/\/src\/ggml-vulkan.cpp/g' \
index ca74370082290ebf3634fdd851e324c1791701c3..da7e0212af343bdb96b140864ebcad4e50efdfd3 100755 (executable)
@@ -20,6 +20,8 @@ cp -rpv ../llama.cpp/ggml-opencl.cpp     src/ggml-opencl.cpp
 cp -rpv ../llama.cpp/ggml-opencl.h       src/ggml-opencl.h
 cp -rpv ../llama.cpp/ggml-quants.c       src/ggml-quants.c
 cp -rpv ../llama.cpp/ggml-quants.h       src/ggml-quants.h
+cp -rpv ../llama.cpp/ggml-rpc.cpp        src/ggml-rpc.cpp
+cp -rpv ../llama.cpp/ggml-rpc.h          src/ggml-rpc.h
 cp -rpv ../llama.cpp/ggml-sycl.cpp       src/ggml-sycl.cpp
 cp -rpv ../llama.cpp/ggml-sycl.h         src/ggml-sycl.h
 cp -rpv ../llama.cpp/ggml-vulkan.cpp     src/ggml-vulkan.cpp
index 201877e7d17ea5b4b6981a9da3bce2d7d18b6eee..09a0b93a19c57bc91229ead3161c44e53aa57159 100755 (executable)
@@ -116,10 +116,12 @@ if [ -f $SRC_GGML/whisper-src.patch ]; then
     # ggml-opencl.h       -> src/ggml-opencl.h
     # ggml-quants.c       -> src/ggml-quants.c
     # ggml-quants.h       -> src/ggml-quants.h
+    # ggml-rpc.cpp        -> src/ggml-rpc.cpp
+    # ggml-rpc.h          -> src/ggml-rpc.h
     # ggml-sycl.cpp       -> src/ggml-sycl.cpp
     # ggml-sycl.h         -> src/ggml-sycl.h
-    # ggml-vulkan.cpp    -> src/ggml-vulkan.cpp
-    # ggml-vulkan.h      -> src/ggml-vulkan.h
+    # ggml-vulkan.cpp     -> src/ggml-vulkan.cpp
+    # ggml-vulkan.h       -> src/ggml-vulkan.h
     # ggml.h              -> include/ggml/ggml.h
     # ggml-alloc.h        -> include/ggml/ggml-alloc.h
     # ggml-backend.h      -> include/ggml/ggml-backend.h
@@ -159,6 +161,8 @@ if [ -f $SRC_GGML/whisper-src.patch ]; then
         -e 's/\/ggml-opencl\.h/\/src\/ggml-opencl.h/g' \
         -e 's/\/ggml-quants\.c/\/src\/ggml-quants.c/g' \
         -e 's/\/ggml-quants\.h/\/src\/ggml-quants.h/g' \
+        -e 's/\/ggml-rpc\.cpp/\/src\/ggml-rpc.cpp/g' \
+        -e 's/\/ggml-rpc\.h/\/src\/ggml-rpc.h/g' \
         -e 's/\/ggml-sycl\.cpp/\/src\/ggml-sycl.cpp/g' \
         -e 's/\/ggml-sycl\.h/\/src\/ggml-sycl.h/g' \
         -e 's/\/ggml-vulkan\.cpp/\/src\/ggml-vulkan.cpp/g' \
index a703ced1691edd8358fc12d4e8670835ff7b9feb..05b1c98200a680269b4cbe5a356869f808f50c46 100755 (executable)
@@ -20,6 +20,8 @@ cp -rpv ../whisper.cpp/ggml-opencl.cpp                src/ggml-opencl.cpp
 cp -rpv ../whisper.cpp/ggml-opencl.h                  src/ggml-opencl.h
 cp -rpv ../whisper.cpp/ggml-quants.c                  src/ggml-quants.c
 cp -rpv ../whisper.cpp/ggml-quants.h                  src/ggml-quants.h
+cp -rpv ../whisper.cpp/ggml-rpc.cpp                   src/ggml-rpc.cpp
+cp -rpv ../whisper.cpp/ggml-rpc.h                     src/ggml-rpc.h
 cp -rpv ../whisper.cpp/ggml-sycl.cpp                  src/ggml-sycl.cpp
 cp -rpv ../whisper.cpp/ggml-sycl.h                    src/ggml-sycl.h
 cp -rpv ../whisper.cpp/ggml-vulkan.cpp                src/ggml-vulkan.cpp