diff --git a/llama/build-info.cpp b/llama/build-info.cpp index 6542f61e..f890ee9c 100644 --- a/llama/build-info.cpp +++ b/llama/build-info.cpp @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/clip.cpp b/llama/clip.cpp index 973bbcdb..36d1b3b3 100644 --- a/llama/clip.cpp +++ b/llama/clip.cpp @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/clip.h b/llama/clip.h index 4251574b..ae2ab6ba 100644 --- a/llama/clip.h +++ b/llama/clip.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/common.cpp b/llama/common.cpp index cbde5ba3..6596c10d 100644 --- a/llama/common.cpp +++ b/llama/common.cpp @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/common.h b/llama/common.h index ff2c8b13..583451f2 100644 --- a/llama/common.h +++ b/llama/common.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/ggml-alloc.c b/llama/ggml-alloc.c index c719bfe8..a422c052 100644 --- a/llama/ggml-alloc.c +++ b/llama/ggml-alloc.c @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/ggml-alloc.h b/llama/ggml-alloc.h index 2b5b2450..cc0a1a1c 100644 --- a/llama/ggml-alloc.h +++ b/llama/ggml-alloc.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/ggml-backend-impl.h b/llama/ggml-backend-impl.h index 2032f60e..14babea1 100644 --- a/llama/ggml-backend-impl.h +++ b/llama/ggml-backend-impl.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/ggml-backend.c b/llama/ggml-backend.c index f5881ee1..cf698a96 100644 --- a/llama/ggml-backend.c +++ b/llama/ggml-backend.c @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/ggml-backend.h b/llama/ggml-backend.h index a9c69c8e..85069045 100644 --- a/llama/ggml-backend.h +++ b/llama/ggml-backend.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/ggml-common.h b/llama/ggml-common.h index 6051d50b..a8520fd2 100644 --- a/llama/ggml-common.h +++ b/llama/ggml-common.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/ggml-cuda.cu b/llama/ggml-cuda.cu index fa0f4d2b..0c602c31 100644 --- a/llama/ggml-cuda.cu +++ b/llama/ggml-cuda.cu @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/ggml-cuda.h b/llama/ggml-cuda.h index 2be90aae..f71a9933 100644 --- a/llama/ggml-cuda.h +++ b/llama/ggml-cuda.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/ggml-impl.h b/llama/ggml-impl.h index 2e608bbe..721c3c28 100644 --- a/llama/ggml-impl.h +++ b/llama/ggml-impl.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/ggml-metal-darwin_arm64.m b/llama/ggml-metal-darwin_arm64.m index 50e347f1..b56c3604 100644 --- a/llama/ggml-metal-darwin_arm64.m +++ b/llama/ggml-metal-darwin_arm64.m @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * @@ -377,8 +377,8 @@ static struct ggml_metal_context * ggml_metal_init(int n_cb) { #if GGML_METAL_EMBED_LIBRARY GGML_METAL_LOG_INFO("%s: using embedded metal library\n", __func__); - extern const char* ggml_metallib_start; - extern const char* ggml_metallib_end; + extern const char ggml_metallib_start[]; + extern const char ggml_metallib_end[]; NSString * src = [[NSString alloc] initWithBytes:ggml_metallib_start length:(ggml_metallib_end-ggml_metallib_start) encoding:NSUTF8StringEncoding]; #else diff --git a/llama/ggml-metal.h b/llama/ggml-metal.h index 7dce757e..b6c88a2a 100644 --- a/llama/ggml-metal.h +++ b/llama/ggml-metal.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * @@ -89,3 +89,4 @@ GGML_API void ggml_backend_metal_capture_next_compute(ggml_backend_t backend); #ifdef __cplusplus } #endif + diff --git a/llama/ggml-metal.metal b/llama/ggml-metal.metal index f266f2dd..5ee578c4 100644 --- a/llama/ggml-metal.metal +++ b/llama/ggml-metal.metal @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/ggml-quants.c b/llama/ggml-quants.c index 904cb0d1..796b2a32 100644 --- a/llama/ggml-quants.c +++ b/llama/ggml-quants.c @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/ggml-quants.h b/llama/ggml-quants.h index c363c12a..99b67dca 100644 --- a/llama/ggml-quants.h +++ b/llama/ggml-quants.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/ggml.c b/llama/ggml.c index 214f5dba..7fadd6e2 100644 --- a/llama/ggml.c +++ b/llama/ggml.c @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/ggml.h b/llama/ggml.h index d8a701a4..b7a073fd 100644 --- a/llama/ggml.h +++ b/llama/ggml.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/grammar-parser.cpp b/llama/grammar-parser.cpp index 6267c2d9..6ebc78e9 100644 --- a/llama/grammar-parser.cpp +++ b/llama/grammar-parser.cpp @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/grammar-parser.h b/llama/grammar-parser.h index 3deb0ee7..5c16f71c 100644 --- a/llama/grammar-parser.h +++ b/llama/grammar-parser.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/json-schema-to-grammar.cpp b/llama/json-schema-to-grammar.cpp index 45785a3c..45fcd14b 100644 --- a/llama/json-schema-to-grammar.cpp +++ b/llama/json-schema-to-grammar.cpp @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/json-schema-to-grammar.h b/llama/json-schema-to-grammar.h index b8158a31..5544b894 100644 --- a/llama/json-schema-to-grammar.h +++ b/llama/json-schema-to-grammar.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/llama.cpp b/llama/llama.cpp index 23084289..fc77dd99 100644 --- a/llama/llama.cpp +++ b/llama/llama.cpp @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/llama.h b/llama/llama.h index 5b669fe7..908a57ab 100644 --- a/llama/llama.h +++ b/llama/llama.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/llava.cpp b/llama/llava.cpp index 1f30bab9..6fd9cba2 100644 --- a/llama/llava.cpp +++ b/llama/llava.cpp @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/llava.h b/llama/llava.h index e7bec212..3214c0e0 100644 --- a/llama/llava.h +++ b/llama/llava.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/log.h b/llama/log.h index d376d29d..434519b7 100644 --- a/llama/log.h +++ b/llama/log.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/sampling.cpp b/llama/sampling.cpp index 782e5ae7..89fe9876 100644 --- a/llama/sampling.cpp +++ b/llama/sampling.cpp @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/sampling.h b/llama/sampling.h index c44d2dd7..6fd4dc95 100644 --- a/llama/sampling.h +++ b/llama/sampling.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/stb_image.h b/llama/stb_image.h index ba378885..b007891f 100644 --- a/llama/stb_image.h +++ b/llama/stb_image.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/sync_llama.sh b/llama/sync_llama.sh index 5e3c5d27..5c11491c 100755 --- a/llama/sync_llama.sh +++ b/llama/sync_llama.sh @@ -28,7 +28,7 @@ cp $src_dir/ggml.c $dst_dir/ggml.c cp $src_dir/ggml.h $dst_dir/ggml.h cp $src_dir/ggml-quants.c $dst_dir/ggml-quants.c cp $src_dir/ggml-quants.h $dst_dir/ggml-quants.h -cp $src_dir/ggml-metal.metal $dst_dir/ggml-metal.in.metal +cp $src_dir/ggml-metal.metal $dst_dir/ggml-metal.metal cp $src_dir/ggml-metal.h $dst_dir/ggml-metal.h cp $src_dir/ggml-metal.m $dst_dir/ggml-metal-darwin_arm64.m cp $src_dir/ggml-impl.h $dst_dir/ggml-impl.h diff --git a/llama/unicode-data.cpp b/llama/unicode-data.cpp index 3988a5b6..102c362d 100644 --- a/llama/unicode-data.cpp +++ b/llama/unicode-data.cpp @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/unicode-data.h b/llama/unicode-data.h index 9382594a..a123af3a 100644 --- a/llama/unicode-data.h +++ b/llama/unicode-data.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/unicode.cpp b/llama/unicode.cpp index 2655c07b..72453d00 100644 --- a/llama/unicode.cpp +++ b/llama/unicode.cpp @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License * diff --git a/llama/unicode.h b/llama/unicode.h index f937ce35..8cb52e94 100644 --- a/llama/unicode.h +++ b/llama/unicode.h @@ -1,5 +1,5 @@ /** - * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe + * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file * * MIT License *