forked from third-party-mirrors/ollama
add header to not edit
This commit is contained in:
parent
d6b6de9a5a
commit
080b600865
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -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
|
||||
|
@ -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,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -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,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe
|
||||
* llama.cpp - git ee459f40f65810a810151b24eba5b8bd174ceffe - do not edit this file
|
||||
*
|
||||
* MIT License
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user