mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-27 03:44:35 +00:00
scripts : update sync
This commit is contained in:
parent
0fff7fd798
commit
5c9a8b22b1
@ -73,17 +73,20 @@ while read c; do
|
|||||||
src/ggml*.h \
|
src/ggml*.h \
|
||||||
src/ggml*.c \
|
src/ggml*.c \
|
||||||
src/ggml*.cpp \
|
src/ggml*.cpp \
|
||||||
src/ggml*.m \
|
|
||||||
src/ggml*.metal \
|
|
||||||
src/ggml*.cu \
|
|
||||||
src/ggml-amx/* \
|
src/ggml-amx/* \
|
||||||
|
src/ggml-blas/* \
|
||||||
src/ggml-cann/* \
|
src/ggml-cann/* \
|
||||||
|
src/ggml-cpu/* \
|
||||||
src/ggml-cuda/* \
|
src/ggml-cuda/* \
|
||||||
|
src/ggml-hip/* \
|
||||||
|
src/ggml-kompute/* \
|
||||||
|
src/ggml-metal/* \
|
||||||
|
src/ggml-musa/* \
|
||||||
|
src/ggml-rpc/* \
|
||||||
src/ggml-sycl/* \
|
src/ggml-sycl/* \
|
||||||
src/vulkan-shaders/* \
|
src/ggml-vulkan/* \
|
||||||
include/ggml*.h \
|
include/ggml*.h \
|
||||||
tests/test-opt.cpp \
|
tests/test-opt.cpp \
|
||||||
tests/test-grad0.cpp \
|
|
||||||
tests/test-quantize-fns.cpp \
|
tests/test-quantize-fns.cpp \
|
||||||
tests/test-quantize-perf.cpp \
|
tests/test-quantize-perf.cpp \
|
||||||
tests/test-backend-ops.cpp \
|
tests/test-backend-ops.cpp \
|
||||||
@ -121,21 +124,22 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
|
|||||||
# src/ggml*.c -> ggml/src/ggml*.c
|
# src/ggml*.c -> ggml/src/ggml*.c
|
||||||
# src/ggml*.cpp -> ggml/src/ggml*.cpp
|
# src/ggml*.cpp -> ggml/src/ggml*.cpp
|
||||||
# src/ggml*.h -> ggml/src/ggml*.h
|
# src/ggml*.h -> ggml/src/ggml*.h
|
||||||
# src/ggml*.cu -> ggml/src/ggml*.cu
|
# src/ggml-amx/* -> ggml/src/ggml-amx/*
|
||||||
# src/ggml*.m -> ggml/src/ggml*.m
|
# src/ggml-blas/* -> ggml/src/ggml-blas/*
|
||||||
# src/ggml-amx/* -> ggml/src/ggml-amx/
|
# src/ggml-cann/* -> ggml/src/ggml-cann/*
|
||||||
# src/ggml-cann/* -> ggml/src/ggml-cann/
|
# src/ggml-cpu/* -> ggml/src/ggml-cpu/*
|
||||||
# src/ggml-cuda/* -> ggml/src/ggml-cuda/
|
# src/ggml-cuda/* -> ggml/src/ggml-cuda/*
|
||||||
# src/ggml-sycl/* -> ggml/src/ggml-sycl/
|
# src/ggml-hip/* -> ggml/src/ggml-hip/*
|
||||||
# src/vulkan-shaders/* -> ggml/src/vulkan-shaders/
|
# src/ggml-kompute/* -> ggml/src/ggml-kompute/*
|
||||||
|
# src/ggml-metal/* -> ggml/src/ggml-metal/*
|
||||||
|
# src/ggml-musa/* -> ggml/src/ggml-musa/*
|
||||||
|
# src/ggml-rpc/* -> ggml/src/ggml-rpc/*
|
||||||
|
# src/ggml-sycl/* -> ggml/src/ggml-sycl/*
|
||||||
|
# src/ggml-vulkan/* -> ggml/src/ggml-vulkan/*
|
||||||
#
|
#
|
||||||
# include/ggml*.h -> ggml/include/ggml*.h
|
# include/ggml*.h -> ggml/include/ggml*.h
|
||||||
#
|
#
|
||||||
# tests/test-opt.cpp -> tests/test-opt.cpp
|
# tests/test*.cpp -> tests/
|
||||||
# tests/test-grad0.cpp -> tests/test-grad0.cpp
|
|
||||||
# tests/test-quantize-fns.cpp -> tests/test-quantize-fns.cpp
|
|
||||||
# tests/test-quantize-perf.cpp -> tests/test-quantize-perf.cpp
|
|
||||||
# tests/test-backend-ops.cpp -> tests/test-backend-ops.cpp
|
|
||||||
#
|
#
|
||||||
# LICENSE -> LICENSE
|
# LICENSE -> LICENSE
|
||||||
# scripts/gen-authors.sh -> scripts/gen-authors.sh
|
# scripts/gen-authors.sh -> scripts/gen-authors.sh
|
||||||
@ -147,18 +151,20 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
|
|||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml(.*)\.c/\1ggml\/src\/ggml\2.c/g' \
|
-e 's/([[:space:]]|[ab]\/)src\/ggml(.*)\.c/\1ggml\/src\/ggml\2.c/g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml(.*)\.cpp/\1ggml\/src\/ggml\2.cpp/g' \
|
-e 's/([[:space:]]|[ab]\/)src\/ggml(.*)\.cpp/\1ggml\/src\/ggml\2.cpp/g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml(.*)\.h/\1ggml\/src\/ggml\2.h/g' \
|
-e 's/([[:space:]]|[ab]\/)src\/ggml(.*)\.h/\1ggml\/src\/ggml\2.h/g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml(.*)\.cu/\1ggml\/src\/ggml\2.cu/g' \
|
|
||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml(.*)\.m/\1ggml\/src\/ggml\2.m/g' \
|
|
||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml-amx\//\1ggml\/src\/ggml-amx\//g' \
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-amx\//\1ggml\/src\/ggml-amx\//g' \
|
||||||
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-blas\//\1ggml\/src\/ggml-blas\//g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml-cann\//\1ggml\/src\/ggml-cann\//g' \
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-cann\//\1ggml\/src\/ggml-cann\//g' \
|
||||||
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-cpu\//\1ggml\/src\/ggml-cpu\//g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml-cuda\//\1ggml\/src\/ggml-cuda\//g' \
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-cuda\//\1ggml\/src\/ggml-cuda\//g' \
|
||||||
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-hip\//\1ggml\/src\/ggml-hip\//g' \
|
||||||
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-kompute\//\1ggml\/src\/ggml-kompute\//g' \
|
||||||
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-metal\//\1ggml\/src\/ggml-metal\//g' \
|
||||||
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-musa\//\1ggml\/src\/ggml-musa\//g' \
|
||||||
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-rpc\//\1ggml\/src\/ggml-rpc\//g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml-sycl\//\1ggml\/src\/ggml-sycl\//g' \
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-sycl\//\1ggml\/src\/ggml-sycl\//g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)src\/vulkan-shaders\//\1ggml\/src\/vulkan-shaders\//g' \
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-vulkan\//\1ggml\/src\/ggml-vulkan\//g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)include\/ggml(.*)\.h/\1ggml\/include\/ggml\2.h/g' \
|
-e 's/([[:space:]]|[ab]\/)include\/ggml(.*)\.h/\1ggml\/include\/ggml\2.h/g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)examples\/common\.h/\1examples\/common.h/g' \
|
-e 's/([[:space:]]|[ab]\/)tests\/(.*)\.cpp/\1tests\/\2.cpp/g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)examples\/common\.cpp/\1examples\/common.cpp/g' \
|
|
||||||
-e 's/([[:space:]]|[ab]\/)examples\/common-ggml\.h/\1examples\/common-ggml.h/g' \
|
|
||||||
-e 's/([[:space:]]|[ab]\/)examples\/common-ggml\.cpp/\1examples\/common-ggml.cpp/g' \
|
|
||||||
-e 's/([[:space:]]|[ab]\/)LICENSE/\1LICENSE/g' \
|
-e 's/([[:space:]]|[ab]\/)LICENSE/\1LICENSE/g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)scripts\/gen-authors\.sh/\1scripts\/gen-authors.sh/g' \
|
-e 's/([[:space:]]|[ab]\/)scripts\/gen-authors\.sh/\1scripts\/gen-authors.sh/g' \
|
||||||
> ggml-src.patch.tmp
|
> ggml-src.patch.tmp
|
||||||
|
@ -7,18 +7,22 @@ cp -rpv ../ggml/cmake/FindSIMD.cmake ./ggml/cmake/FindSIMD.cmake
|
|||||||
cp -rpv ../ggml/src/ggml*.c ./ggml/src/
|
cp -rpv ../ggml/src/ggml*.c ./ggml/src/
|
||||||
cp -rpv ../ggml/src/ggml*.cpp ./ggml/src/
|
cp -rpv ../ggml/src/ggml*.cpp ./ggml/src/
|
||||||
cp -rpv ../ggml/src/ggml*.h ./ggml/src/
|
cp -rpv ../ggml/src/ggml*.h ./ggml/src/
|
||||||
cp -rpv ../ggml/src/ggml*.cu ./ggml/src/
|
|
||||||
cp -rpv ../ggml/src/ggml*.m ./ggml/src/
|
|
||||||
cp -rpv ../ggml/src/ggml-amx/* ./ggml/src/ggml-amx/
|
cp -rpv ../ggml/src/ggml-amx/* ./ggml/src/ggml-amx/
|
||||||
|
cp -rpv ../ggml/src/ggml-blas/* ./ggml/src/ggml-blas/
|
||||||
cp -rpv ../ggml/src/ggml-cann/* ./ggml/src/ggml-cann/
|
cp -rpv ../ggml/src/ggml-cann/* ./ggml/src/ggml-cann/
|
||||||
|
cp -rpv ../ggml/src/ggml-cpu/* ./ggml/src/ggml-cpu/
|
||||||
cp -rpv ../ggml/src/ggml-cuda/* ./ggml/src/ggml-cuda/
|
cp -rpv ../ggml/src/ggml-cuda/* ./ggml/src/ggml-cuda/
|
||||||
|
cp -rpv ../ggml/src/ggml-hip/* ./ggml/src/ggml-hip/
|
||||||
|
cp -rpv ../ggml/src/ggml-kompute/* ./ggml/src/ggml-kompute/
|
||||||
|
cp -rpv ../ggml/src/ggml-metal/* ./ggml/src/ggml-metal/
|
||||||
|
cp -rpv ../ggml/src/ggml-musa/* ./ggml/src/ggml-musa/
|
||||||
|
cp -rpv ../ggml/src/ggml-rpc/* ./ggml/src/ggml-rpc/
|
||||||
cp -rpv ../ggml/src/ggml-sycl/* ./ggml/src/ggml-sycl/
|
cp -rpv ../ggml/src/ggml-sycl/* ./ggml/src/ggml-sycl/
|
||||||
cp -rpv ../ggml/src/vulkan-shaders/* ./ggml/src/vulkan-shaders/
|
cp -rpv ../ggml/src/ggml-vulkan/* ./ggml/src/ggml-vulkan/
|
||||||
|
|
||||||
cp -rpv ../ggml/include/ggml*.h ./ggml/include/
|
cp -rpv ../ggml/include/ggml*.h ./ggml/include/
|
||||||
|
|
||||||
cp -rpv ../ggml/tests/test-opt.cpp ./tests/test-opt.cpp
|
cp -rpv ../ggml/tests/test-opt.cpp ./tests/test-opt.cpp
|
||||||
cp -rpv ../ggml/tests/test-grad0.cpp ./tests/test-grad0.cpp
|
|
||||||
cp -rpv ../ggml/tests/test-quantize-fns.cpp ./tests/test-quantize-fns.cpp
|
cp -rpv ../ggml/tests/test-quantize-fns.cpp ./tests/test-quantize-fns.cpp
|
||||||
cp -rpv ../ggml/tests/test-quantize-perf.cpp ./tests/test-quantize-perf.cpp
|
cp -rpv ../ggml/tests/test-quantize-perf.cpp ./tests/test-quantize-perf.cpp
|
||||||
cp -rpv ../ggml/tests/test-backend-ops.cpp ./tests/test-backend-ops.cpp
|
cp -rpv ../ggml/tests/test-backend-ops.cpp ./tests/test-backend-ops.cpp
|
||||||
|
Loading…
Reference in New Issue
Block a user