ggml/src/ggml*.h \
ggml/src/ggml*.c \
ggml/src/ggml*.cpp \
+ ggml/src/gguf*.cpp \
ggml/src/ggml-blas/* \
ggml/src/ggml-cann/* \
ggml/src/ggml-cpu/* \
# ggml/src/ggml*.c -> src/ggml*.c
# ggml/src/ggml*.cpp -> src/ggml*.cpp
# ggml/src/ggml*.h -> src/ggml*.h
+ # ggml/src/gguf*.cpp -> src/gguf*.h
# ggml/src/ggml-blas/* -> src/ggml-blas/*
# ggml/src/ggml-cann/* -> src/ggml-cann/*
# ggml/src/ggml-cpu/* -> src/ggml-cpu/*
# ggml/src/ggml-vulkan/* -> src/ggml-vulkan/*
#
# ggml/include/ggml*.h -> include/ggml*.h
+ # ggml/include/gguf*.h -> include/gguf*.h
#
# tests/test-opt.cpp -> tests/test-opt.cpp
# tests/test-quantize-fns.cpp -> tests/test-quantize-fns.cpp
-e 's/\/ggml\/src\/ggml(.*)\.c/\/src\/ggml\1.c/g' \
-e 's/\/ggml\/src\/ggml(.*)\.cpp/\/src\/ggml\1.cpp/g' \
-e 's/\/ggml\/src\/ggml(.*)\.h/\/src\/ggml\1.h/g' \
+ -e 's/\/ggml\/src\/gguf(.*)\.cpp/\/src\/gguf\1.cpp/g' \
-e 's/\/ggml\/src\/ggml-blas\//\/src\/ggml-blas\//g' \
-e 's/\/ggml\/src\/ggml-cann\//\/src\/ggml-cann\//g' \
-e 's/\/ggml\/src\/ggml-cpu\//\/src\/ggml-cpu\//g' \
-e 's/\/ggml\/src\/ggml-sycl\//\/src\/ggml-sycl\//g' \
-e 's/\/ggml\/src\/ggml-vulkan\//\/src\/ggml-vulkan\//g' \
-e 's/\/ggml\/include\/ggml(.*)\.h/\/include\/ggml\1.h/g' \
+ -e 's/\/ggml\/include\/gguf(.*)\.h/\/include\/gguf\1.h/g' \
-e 's/\/tests\/test-opt\.cpp/\/tests\/test-opt.cpp/g' \
-e 's/\/tests\/test-quantize-fns\.cpp/\/tests\/test-quantize-fns.cpp/g' \
-e 's/\/tests\/test-quantize-perf\.cpp/\/tests\/test-quantize-perf.cpp/g' \
cp -rpv ../llama.cpp/ggml/src/ggml*.c src/
cp -rpv ../llama.cpp/ggml/src/ggml*.cpp src/
cp -rpv ../llama.cpp/ggml/src/ggml*.h src/
+cp -rpv ../llama.cpp/ggml/src/gguf*.cpp src/
cp -rpv ../llama.cpp/ggml/src/ggml-blas/* src/ggml-blas/
cp -rpv ../llama.cpp/ggml/src/ggml-cann/* src/ggml-cann/
cp -rpv ../llama.cpp/ggml/src/ggml-cpu/* src/ggml-cpu/
cp -rpv ../llama.cpp/ggml/src/ggml-vulkan/* src/ggml-vulkan/
cp -rpv ../llama.cpp/ggml/include/ggml*.h include/
+cp -rpv ../llama.cpp/ggml/include/gguf*.h include/
cp -rpv ../llama.cpp/tests/test-opt.cpp tests/test-opt.cpp
cp -rpv ../llama.cpp/tests/test-quantize-fns.cpp tests/test-quantize-fns.cpp
ggml/src/ggml*.h \
ggml/src/ggml*.c \
ggml/src/ggml*.cpp \
+ ggml/src/gguf*.cpp \
ggml/src/ggml-blas/* \
ggml/src/ggml-cann/* \
ggml/src/ggml-cpu/* \
ggml/src/ggml-sycl/* \
ggml/src/ggml-vulkan/* \
ggml/include/ggml*.h \
+ ggml/include/gguf*.h \
examples/common.h \
examples/common.cpp \
examples/common-ggml.h \
# ggml/src/ggml*.c -> src/ggml*.c
# ggml/src/ggml*.cpp -> src/ggml*.cpp
# ggml/src/ggml*.h -> src/ggml*.h
+ # ggml/src/gguf*.cpp -> src/gguf*.cpp
# ggml/src/ggml-blas/* -> src/ggml-blas/*
# ggml/src/ggml-cann/* -> src/ggml-cann/*
# ggml/src/ggml-cpu/* -> src/ggml-cpu/*
# ggml/src/ggml-vulkan/* -> src/ggml-vulkan/*
#
# ggml/include/ggml*.h -> include/ggml*.h
+ # ggml/include/gguf*.h -> include/gguf*.h
#
# examples/common.h -> examples/common.h
# examples/common.cpp -> examples/common.cpp
-e 's/\/ggml\/src\/ggml(.*)\.c/\/src\/ggml\1.c/g' \
-e 's/\/ggml\/src\/ggml(.*)\.cpp/\/src\/ggml\1.cpp/g' \
-e 's/\/ggml\/src\/ggml(.*)\.h/\/src\/ggml\1.h/g' \
+ -e 's/\/ggml\/src\/gguf(.*)\.cpp/\/src\/gguf\1.cpp/g' \
-e 's/\/ggml\/src\/ggml-blas\//\/src\/ggml-blas\//g' \
-e 's/\/ggml\/src\/ggml-cann\//\/src\/ggml-cann\//g' \
-e 's/\/ggml\/src\/ggml-cpu\//\/src\/ggml-cpu\//g' \
-e 's/\/ggml\/src\/ggml-sycl\//\/src\/ggml-sycl\//g' \
-e 's/\/ggml\/src\/ggml-vulkan\//\/src\/ggml-vulkan\//g' \
-e 's/\/ggml\/include\/ggml(.*)\.h/\/include\/ggml\1.h/g' \
+ -e 's/\/ggml\/include\/gguf(.*)\.h/\/include\/gguf\1.h/g' \
-e 's/\/examples\/common\.h/\/examples\/common.h/g' \
-e 's/\/examples\/common\.cpp/\/examples\/common.cpp/g' \
-e 's/\/examples\/common-ggml\.h/\/examples\/common-ggml.h/g' \
cp -rpv ../whisper.cpp/ggml/src/ggml*.c src/
cp -rpv ../whisper.cpp/ggml/src/ggml*.cpp src/
cp -rpv ../whisper.cpp/ggml/src/ggml*.h src/
+cp -rpv ../whisper.cpp/ggml/src/gguf*.cpp src/
cp -rpv ../whisper.cpp/ggml/src/ggml-blas/* src/ggml-blas/
cp -rpv ../whisper.cpp/ggml/src/ggml-cann/* src/ggml-cann/
cp -rpv ../whisper.cpp/ggml/src/ggml-cpu/* src/ggml-cpu/
cp -rpv ../whisper.cpp/ggml/src/ggml-vulkan/* src/ggml-vulkan/
cp -rpv ../whisper.cpp/ggml/include/ggml*.h include/
+cp -rpv ../whisper.cpp/ggml/include/gguf*.h include/
cp -rpv ../whisper.cpp/examples/common.h examples/common.h
cp -rpv ../whisper.cpp/examples/common.cpp examples/common.cpp