@@ -73,6 +73,7 @@ while read c; do
73
73
src/ggml* .h \
74
74
src/ggml* .c \
75
75
src/ggml* .cpp \
76
+ src/gguf* .cpp \
76
77
src/ggml-blas/* \
77
78
src/ggml-cann/* \
78
79
src/ggml-cpu/* \
@@ -86,6 +87,7 @@ while read c; do
86
87
src/ggml-sycl/* \
87
88
src/ggml-vulkan/* \
88
89
include/ggml* .h \
90
+ include/gguf* .h \
89
91
tests/test-opt.cpp \
90
92
tests/test-quantize-fns.cpp \
91
93
tests/test-quantize-perf.cpp \
@@ -124,6 +126,7 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
124
126
# src/ggml*.c -> ggml/src/ggml*.c
125
127
# src/ggml*.cpp -> ggml/src/ggml*.cpp
126
128
# src/ggml*.h -> ggml/src/ggml*.h
129
+ # src/gguf*.cpp -> ggml/src/gguf*.cpp
127
130
# src/ggml-blas/* -> ggml/src/ggml-blas/*
128
131
# src/ggml-cann/* -> ggml/src/ggml-cann/*
129
132
# src/ggml-cpu/* -> ggml/src/ggml-cpu/*
@@ -138,6 +141,7 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
138
141
# src/ggml-vulkan/* -> ggml/src/ggml-vulkan/*
139
142
#
140
143
# include/ggml*.h -> ggml/include/ggml*.h
144
+ # include/gguf*.h -> ggml/include/gguf*.h
141
145
#
142
146
# tests/test*.cpp -> tests/
143
147
#
@@ -151,6 +155,7 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
151
155
-e ' s/([[:space:]]|[ab]\/)src\/ggml(.*)\.c/\1ggml\/src\/ggml\2.c/g' \
152
156
-e ' s/([[:space:]]|[ab]\/)src\/ggml(.*)\.cpp/\1ggml\/src\/ggml\2.cpp/g' \
153
157
-e ' s/([[:space:]]|[ab]\/)src\/ggml(.*)\.h/\1ggml\/src\/ggml\2.h/g' \
158
+ -e ' s/([[:space:]]|[ab]\/)src\/gguf(.*)\.cpp/\1ggml\/src\/gguf\2.cpp/g' \
154
159
-e ' s/([[:space:]]|[ab]\/)src\/ggml-blas\//\1ggml\/src\/ggml-blas\//g' \
155
160
-e ' s/([[:space:]]|[ab]\/)src\/ggml-cann\//\1ggml\/src\/ggml-cann\//g' \
156
161
-e ' s/([[:space:]]|[ab]\/)src\/ggml-cpu\//\1ggml\/src\/ggml-cpu\//g' \
@@ -163,6 +168,7 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then
163
168
-e ' s/([[:space:]]|[ab]\/)src\/ggml-sycl\//\1ggml\/src\/ggml-sycl\//g' \
164
169
-e ' s/([[:space:]]|[ab]\/)src\/ggml-vulkan\//\1ggml\/src\/ggml-vulkan\//g' \
165
170
-e ' s/([[:space:]]|[ab]\/)include\/ggml(.*)\.h/\1ggml\/include\/ggml\2.h/g' \
171
+ -e ' s/([[:space:]]|[ab]\/)include\/gguf(.*)\.h/\1ggml\/include\/gguf\2.h/g' \
166
172
-e ' s/([[:space:]]|[ab]\/)tests\/(.*)\.cpp/\1tests\/\2.cpp/g' \
167
173
-e ' s/([[:space:]]|[ab]\/)LICENSE/\1LICENSE/g' \
168
174
-e ' s/([[:space:]]|[ab]\/)scripts\/gen-authors\.sh/\1scripts\/gen-authors.sh/g' \
0 commit comments