Skip to content

Commit

Permalink
scripts : sync ggml-blas
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Jun 16, 2024
1 parent 71cc7da commit 8a21e87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/sync-llama-am.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ if [ -f $SRC_GGML/llama-src.patch ]; then
# ggml-alloc.c -> src/ggml-alloc.c
# ggml-backend-impl.h -> src/ggml-backend-impl.h
# ggml-backend.c -> src/ggml-backend.c
# ggml-blas.cpp -> src/ggml-blas.cpp
# ggml-blas.h -> src/ggml-blas.h
# ggml-common.h -> src/ggml-common.h
# ggml-cuda/* -> src/ggml-cuda/*
# ggml-cuda.cu -> src/ggml-cuda.cu
Expand Down Expand Up @@ -133,6 +135,8 @@ if [ -f $SRC_GGML/llama-src.patch ]; then
-e 's/\/ggml-alloc\.c/\/src\/ggml-alloc.c/g' \
-e 's/\/ggml-backend-impl\.h/\/src\/ggml-backend-impl.h/g' \
-e 's/\/ggml-backend\.c/\/src\/ggml-backend.c/g' \
-e 's/\/ggml-blas\.cpp/\/src\/ggml-blas.cpp/g' \
-e 's/\/ggml-blas\.h/\/src\/ggml-blas.h/g' \
-e 's/\/ggml-common\.h/\/src\/ggml-common.h/g' \
-e 's/\/ggml-cuda\//\/src\/ggml-cuda\//g' \
-e 's/\/ggml-cuda\.cu/\/src\/ggml-cuda.cu/g' \
Expand Down
2 changes: 2 additions & 0 deletions scripts/sync-llama.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ cp -rpv ../llama.cpp/ggml.c src/ggml.c
cp -rpv ../llama.cpp/ggml-alloc.c src/ggml-alloc.c
cp -rpv ../llama.cpp/ggml-backend-impl.h src/ggml-backend-impl.h
cp -rpv ../llama.cpp/ggml-backend.c src/ggml-backend.c
cp -rpv ../llama.cpp/ggml-blas.cpp src/ggml-blas.cpp
cp -rpv ../llama.cpp/ggml-blas.h src/ggml-blas.h
cp -rpv ../llama.cpp/ggml-common.h src/ggml-common.h
cp -rpv ../llama.cpp/ggml-cuda/* src/ggml-cuda/
cp -rpv ../llama.cpp/ggml-cuda.cu src/ggml-cuda.cu
Expand Down

0 comments on commit 8a21e87

Please sign in to comment.