mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-25 02:44:36 +00:00
scripts : fix amx sync [no ci]
This commit is contained in:
parent
668750357e
commit
9e4a2563ea
@ -76,6 +76,7 @@ while read c; do
|
|||||||
src/ggml*.m \
|
src/ggml*.m \
|
||||||
src/ggml*.metal \
|
src/ggml*.metal \
|
||||||
src/ggml*.cu \
|
src/ggml*.cu \
|
||||||
|
src/ggml-amx/* \
|
||||||
src/ggml-cann/* \
|
src/ggml-cann/* \
|
||||||
src/ggml-cuda/* \
|
src/ggml-cuda/* \
|
||||||
src/ggml-sycl/* \
|
src/ggml-sycl/* \
|
||||||
@ -121,6 +122,8 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
|
|||||||
# src/ggml-aarch64.c -> ggml/src/ggml-aarch64.c
|
# src/ggml-aarch64.c -> ggml/src/ggml-aarch64.c
|
||||||
# src/ggml-aarch64.h -> ggml/src/ggml-aarch64.h
|
# src/ggml-aarch64.h -> ggml/src/ggml-aarch64.h
|
||||||
# src/ggml-alloc.c -> ggml/src/ggml-alloc.c
|
# src/ggml-alloc.c -> ggml/src/ggml-alloc.c
|
||||||
|
# src/ggml-amx/* -> ggml/src/ggml-amx/
|
||||||
|
# src/ggml-amx.cpp -> ggml/src/ggml-amx.cpp
|
||||||
# src/ggml-backend-impl.h -> ggml/src/ggml-backend-impl.h
|
# src/ggml-backend-impl.h -> ggml/src/ggml-backend-impl.h
|
||||||
# src/ggml-backend.cpp -> ggml/src/ggml-backend.cpp
|
# src/ggml-backend.cpp -> ggml/src/ggml-backend.cpp
|
||||||
# src/ggml-cann/* -> ggml/src/ggml-cann/
|
# src/ggml-cann/* -> ggml/src/ggml-cann/
|
||||||
@ -141,6 +144,7 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
|
|||||||
#
|
#
|
||||||
# include/ggml.h -> ggml/include/ggml.h
|
# include/ggml.h -> ggml/include/ggml.h
|
||||||
# include/ggml-alloc.h -> ggml/include/ggml-alloc.h
|
# include/ggml-alloc.h -> ggml/include/ggml-alloc.h
|
||||||
|
# include/ggml-amx.h -> ggml/include/ggml-amx.h
|
||||||
# include/ggml-backend.h -> ggml/include/ggml-backend.h
|
# include/ggml-backend.h -> ggml/include/ggml-backend.h
|
||||||
# include/ggml-blas.h -> ggml/include/ggml-blas.h
|
# include/ggml-blas.h -> ggml/include/ggml-blas.h
|
||||||
# include/ggml-cann.h -> ggml/include/ggml-cann.h
|
# include/ggml-cann.h -> ggml/include/ggml-cann.h
|
||||||
@ -168,6 +172,8 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
|
|||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml-aarch64\.c/\1ggml\/src\/ggml-aarch64.c/g' \
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-aarch64\.c/\1ggml\/src\/ggml-aarch64.c/g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml-aarch64\.h/\1ggml\/src\/ggml-aarch64.h/g' \
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-aarch64\.h/\1ggml\/src\/ggml-aarch64.h/g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml-alloc\.c/\1ggml\/src\/ggml-alloc.c/g' \
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-alloc\.c/\1ggml\/src\/ggml-alloc.c/g' \
|
||||||
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-amx\//\1ggml\/src\/ggml-amx\//g' \
|
||||||
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-amx\.cpp/\1ggml\/src\/ggml-amx.cpp/g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml-backend-impl\.h/\1ggml\/src\/ggml-backend-impl.h/g' \
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-backend-impl\.h/\1ggml\/src\/ggml-backend-impl.h/g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)src\/ggml-backend\.cpp/\1ggml\/src\/ggml-backend.cpp/g' \
|
-e 's/([[:space:]]|[ab]\/)src\/ggml-backend\.cpp/\1ggml\/src\/ggml-backend.cpp/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' \
|
||||||
@ -187,6 +193,7 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
|
|||||||
-e 's/([[:space:]]|[ab]\/)src\/vulkan-shaders\//\1ggml\/src\/vulkan-shaders\//g' \
|
-e 's/([[:space:]]|[ab]\/)src\/vulkan-shaders\//\1ggml\/src\/vulkan-shaders\//g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)include\/ggml\.h/\1ggml\/include\/ggml.h/g' \
|
-e 's/([[:space:]]|[ab]\/)include\/ggml\.h/\1ggml\/include\/ggml.h/g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)include\/ggml-alloc\.h/\1ggml\/include\/ggml-alloc.h/g' \
|
-e 's/([[:space:]]|[ab]\/)include\/ggml-alloc\.h/\1ggml\/include\/ggml-alloc.h/g' \
|
||||||
|
-e 's/([[:space:]]|[ab]\/)include\/ggml-amx\.h/\1ggml\/include\/ggml-amx.h/g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)include\/ggml-backend\.h/\1ggml\/include\/ggml-backend.h/g' \
|
-e 's/([[:space:]]|[ab]\/)include\/ggml-backend\.h/\1ggml\/include\/ggml-backend.h/g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)include\/ggml-blas\.h/\1ggml\/include\/ggml-blas.h/g' \
|
-e 's/([[:space:]]|[ab]\/)include\/ggml-blas\.h/\1ggml\/include\/ggml-blas.h/g' \
|
||||||
-e 's/([[:space:]]|[ab]\/)include\/ggml-cann\.h/\1ggml\/include\/ggml-cann.h/g' \
|
-e 's/([[:space:]]|[ab]\/)include\/ggml-cann\.h/\1ggml\/include\/ggml-cann.h/g' \
|
||||||
|
@ -8,6 +8,8 @@ cp -rpv ../ggml/src/ggml.c ./ggml/src/ggml.c
|
|||||||
cp -rpv ../ggml/src/ggml-aarch64.c ./ggml/src/ggml-aarch64.c
|
cp -rpv ../ggml/src/ggml-aarch64.c ./ggml/src/ggml-aarch64.c
|
||||||
cp -rpv ../ggml/src/ggml-aarch64.h ./ggml/src/ggml-aarch64.h
|
cp -rpv ../ggml/src/ggml-aarch64.h ./ggml/src/ggml-aarch64.h
|
||||||
cp -rpv ../ggml/src/ggml-alloc.c ./ggml/src/ggml-alloc.c
|
cp -rpv ../ggml/src/ggml-alloc.c ./ggml/src/ggml-alloc.c
|
||||||
|
cp -rpv ../ggml/src/ggml-amx/* ./ggml/src/ggml-amx/
|
||||||
|
cp -rpv ../ggml/src/ggml-amx.cpp ./ggml/src/ggml-amx.cpp
|
||||||
cp -rpv ../ggml/src/ggml-backend-impl.h ./ggml/src/ggml-backend-impl.h
|
cp -rpv ../ggml/src/ggml-backend-impl.h ./ggml/src/ggml-backend-impl.h
|
||||||
cp -rpv ../ggml/src/ggml-backend.cpp ./ggml/src/ggml-backend.cpp
|
cp -rpv ../ggml/src/ggml-backend.cpp ./ggml/src/ggml-backend.cpp
|
||||||
cp -rpv ../ggml/src/ggml-cann/* ./ggml/src/ggml-cann/
|
cp -rpv ../ggml/src/ggml-cann/* ./ggml/src/ggml-cann/
|
||||||
@ -29,6 +31,7 @@ cp -rpv ../ggml/src/vulkan-shaders/* ./ggml/src/vulkan-shaders/
|
|||||||
|
|
||||||
cp -rpv ../ggml/include/ggml.h ./ggml/include/ggml.h
|
cp -rpv ../ggml/include/ggml.h ./ggml/include/ggml.h
|
||||||
cp -rpv ../ggml/include/ggml-alloc.h ./ggml/include/ggml-alloc.h
|
cp -rpv ../ggml/include/ggml-alloc.h ./ggml/include/ggml-alloc.h
|
||||||
|
cp -rpv ../ggml/include/ggml-amx.h ./ggml/include/ggml-amx.h
|
||||||
cp -rpv ../ggml/include/ggml-backend.h ./ggml/include/ggml-backend.h
|
cp -rpv ../ggml/include/ggml-backend.h ./ggml/include/ggml-backend.h
|
||||||
cp -rpv ../ggml/include/ggml-blas.h ./ggml/include/ggml-blas.h
|
cp -rpv ../ggml/include/ggml-blas.h ./ggml/include/ggml-blas.h
|
||||||
cp -rpv ../ggml/include/ggml-cann.h ./ggml/include/ggml-cann.h
|
cp -rpv ../ggml/include/ggml-cann.h ./ggml/include/ggml-cann.h
|
||||||
|
Loading…
Reference in New Issue
Block a user