From: Georgi Gerganov Date: Tue, 14 May 2024 16:12:05 +0000 (+0300) Subject: scripts : sync ggml-rpc X-Git-Tag: upstream/0.0.1642~701 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=acc32bbc40c39def8ed740321c0a0acee62f54b0;p=pkg%2Fggml%2Fsources%2Fggml scripts : sync ggml-rpc --- diff --git a/scripts/sync-llama-am.sh b/scripts/sync-llama-am.sh index 6393bdf7..2685e9ec 100755 --- a/scripts/sync-llama-am.sh +++ b/scripts/sync-llama-am.sh @@ -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' \ diff --git a/scripts/sync-llama.sh b/scripts/sync-llama.sh index ca743700..da7e0212 100755 --- a/scripts/sync-llama.sh +++ b/scripts/sync-llama.sh @@ -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 diff --git a/scripts/sync-whisper-am.sh b/scripts/sync-whisper-am.sh index 201877e7..09a0b93a 100755 --- a/scripts/sync-whisper-am.sh +++ b/scripts/sync-whisper-am.sh @@ -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' \ diff --git a/scripts/sync-whisper.sh b/scripts/sync-whisper.sh index a703ced1..05b1c982 100755 --- a/scripts/sync-whisper.sh +++ b/scripts/sync-whisper.sh @@ -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