浏览代码

add header to not edit

jmorganca 10 月之前
父节点
当前提交
fd15793930

+ 1 - 1
llama/build-info.cpp

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/clip.cpp

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/clip.h

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/common.cpp

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/common.h

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/ggml-alloc.c

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/ggml-alloc.h

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/ggml-backend-impl.h

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/ggml-backend.c

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/ggml-backend.h

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/ggml-common.h

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/ggml-cuda.cu

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/ggml-cuda.h

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/ggml-impl.h

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 3 - 3
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

+ 2 - 1
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
+

+ 1 - 1
llama/ggml-metal.metal

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/ggml-quants.c

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/ggml-quants.h

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/ggml.c

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/ggml.h

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/grammar-parser.cpp

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/grammar-parser.h

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
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
  *

+ 1 - 1
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
  *

+ 1 - 1
llama/llama.cpp

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/llama.h

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/llava.cpp

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/llava.h

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/log.h

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/sampling.cpp

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/sampling.h

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/stb_image.h

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
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

+ 1 - 1
llama/unicode-data.cpp

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/unicode-data.h

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/unicode.cpp

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *

+ 1 - 1
llama/unicode.h

@@ -1,5 +1,5 @@
 /**
- * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
+ * llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
  *
  * MIT License
  *