llama_darwin.c 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. /**
  2. * llama.cpp - commit 6eeaeba126ff701f3e8f79f246805b7023709972 - do not edit this file
  3. *
  4. * MIT License
  5. *
  6. * Copyright (c) 2023-2024 The ggml authors
  7. *
  8. * Permission is hereby granted, free of charge, to any person obtaining a copy
  9. * of this software and associated documentation files (the "Software"), to deal
  10. * in the Software without restriction, including without limitation the rights
  11. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  12. * copies of the Software, and to permit persons to whom the Software is
  13. * furnished to do so, subject to the following conditions:
  14. *
  15. * The above copyright notice and this permission notice shall be included in all
  16. * copies or substantial portions of the Software.
  17. *
  18. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  19. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  20. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  21. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  22. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  23. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  24. * SOFTWARE.
  25. */
  26. /**
  27. * llama.cpp - commit 6eeaeba126ff701f3e8f79f246805b7023709972 - do not edit this file
  28. *
  29. * MIT License
  30. *
  31. * Copyright (c) 2023-2024 The ggml authors
  32. *
  33. * Permission is hereby granted, free of charge, to any person obtaining a copy
  34. * of this software and associated documentation files (the "Software"), to deal
  35. * in the Software without restriction, including without limitation the rights
  36. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  37. * copies of the Software, and to permit persons to whom the Software is
  38. * furnished to do so, subject to the following conditions:
  39. *
  40. * The above copyright notice and this permission notice shall be included in all
  41. * copies or substantial portions of the Software.
  42. *
  43. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  44. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  45. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  46. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  47. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  48. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  49. * SOFTWARE.
  50. */
  51. /**
  52. * llama.cpp - commit 6eeaeba126ff701f3e8f79f246805b7023709972 - do not edit this file
  53. *
  54. * MIT License
  55. *
  56. * Copyright (c) 2023-2024 The ggml authors
  57. *
  58. * Permission is hereby granted, free of charge, to any person obtaining a copy
  59. * of this software and associated documentation files (the "Software"), to deal
  60. * in the Software without restriction, including without limitation the rights
  61. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  62. * copies of the Software, and to permit persons to whom the Software is
  63. * furnished to do so, subject to the following conditions:
  64. *
  65. * The above copyright notice and this permission notice shall be included in all
  66. * copies or substantial portions of the Software.
  67. *
  68. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  69. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  70. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  71. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  72. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  73. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  74. * SOFTWARE.
  75. */
  76. /**
  77. * llama.cpp - commit 6eeaeba126ff701f3e8f79f246805b7023709972 - do not edit this file
  78. *
  79. * MIT License
  80. *
  81. * Copyright (c) 2023-2024 The ggml authors
  82. *
  83. * Permission is hereby granted, free of charge, to any person obtaining a copy
  84. * of this software and associated documentation files (the "Software"), to deal
  85. * in the Software without restriction, including without limitation the rights
  86. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  87. * copies of the Software, and to permit persons to whom the Software is
  88. * furnished to do so, subject to the following conditions:
  89. *
  90. * The above copyright notice and this permission notice shall be included in all
  91. * copies or substantial portions of the Software.
  92. *
  93. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  94. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  95. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  96. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  97. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  98. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  99. * SOFTWARE.
  100. */
  101. /**
  102. * llama.cpp - commit 6eeaeba126ff701f3e8f79f246805b7023709972 - do not edit this file
  103. *
  104. * MIT License
  105. *
  106. * Copyright (c) 2023-2024 The ggml authors
  107. *
  108. * Permission is hereby granted, free of charge, to any person obtaining a copy
  109. * of this software and associated documentation files (the "Software"), to deal
  110. * in the Software without restriction, including without limitation the rights
  111. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  112. * copies of the Software, and to permit persons to whom the Software is
  113. * furnished to do so, subject to the following conditions:
  114. *
  115. * The above copyright notice and this permission notice shall be included in all
  116. * copies or substantial portions of the Software.
  117. *
  118. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  119. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  120. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  121. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  122. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  123. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  124. * SOFTWARE.
  125. */
  126. /**
  127. * llama.cpp - commit 6eeaeba126ff701f3e8f79f246805b7023709972 - do not edit this file
  128. *
  129. * MIT License
  130. *
  131. * Copyright (c) 2023-2024 The ggml authors
  132. *
  133. * Permission is hereby granted, free of charge, to any person obtaining a copy
  134. * of this software and associated documentation files (the "Software"), to deal
  135. * in the Software without restriction, including without limitation the rights
  136. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  137. * copies of the Software, and to permit persons to whom the Software is
  138. * furnished to do so, subject to the following conditions:
  139. *
  140. * The above copyright notice and this permission notice shall be included in all
  141. * copies or substantial portions of the Software.
  142. *
  143. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  144. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  145. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  146. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  147. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  148. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  149. * SOFTWARE.
  150. */
  151. /**
  152. * llama.cpp - commit 6eeaeba126ff701f3e8f79f246805b7023709972 - do not edit this file
  153. *
  154. * MIT License
  155. *
  156. * Copyright (c) 2023-2024 The ggml authors
  157. *
  158. * Permission is hereby granted, free of charge, to any person obtaining a copy
  159. * of this software and associated documentation files (the "Software"), to deal
  160. * in the Software without restriction, including without limitation the rights
  161. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  162. * copies of the Software, and to permit persons to whom the Software is
  163. * furnished to do so, subject to the following conditions:
  164. *
  165. * The above copyright notice and this permission notice shall be included in all
  166. * copies or substantial portions of the Software.
  167. *
  168. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  169. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  170. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  171. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  172. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  173. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  174. * SOFTWARE.
  175. */
  176. /**
  177. * llama.cpp - commit 6eeaeba126ff701f3e8f79f246805b7023709972 - do not edit this file
  178. *
  179. * MIT License
  180. *
  181. * Copyright (c) 2023-2024 The ggml authors
  182. *
  183. * Permission is hereby granted, free of charge, to any person obtaining a copy
  184. * of this software and associated documentation files (the "Software"), to deal
  185. * in the Software without restriction, including without limitation the rights
  186. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  187. * copies of the Software, and to permit persons to whom the Software is
  188. * furnished to do so, subject to the following conditions:
  189. *
  190. * The above copyright notice and this permission notice shall be included in all
  191. * copies or substantial portions of the Software.
  192. *
  193. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  194. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  195. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  196. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  197. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  198. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  199. * SOFTWARE.
  200. */
  201. /**
  202. * llama.cpp - commit 6eeaeba126ff701f3e8f79f246805b7023709972 - do not edit this file
  203. *
  204. * MIT License
  205. *
  206. * Copyright (c) 2023-2024 The ggml authors
  207. *
  208. * Permission is hereby granted, free of charge, to any person obtaining a copy
  209. * of this software and associated documentation files (the "Software"), to deal
  210. * in the Software without restriction, including without limitation the rights
  211. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  212. * copies of the Software, and to permit persons to whom the Software is
  213. * furnished to do so, subject to the following conditions:
  214. *
  215. * The above copyright notice and this permission notice shall be included in all
  216. * copies or substantial portions of the Software.
  217. *
  218. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  219. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  220. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  221. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  222. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  223. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  224. * SOFTWARE.
  225. */
  226. const char *ggml_metallib_start;
  227. const char *ggml_metallib_end;