llama.cpp/examples/llama.swiftui
singularity 46cea79e1f
llama.swiftui : fix build of ggml.metallib (#4754)
* metal: fix metal backend init failure in swiftui

* metal: build ggml.metallib instead of copy src

* llama.swift : remove debug flags from metallib build

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2024-01-04 09:58:16 +02:00
..
llama.cpp.swift llama.swiftui : fix infinite loop, ouput timings, buff UI (#4674) 2023-12-29 15:58:56 +02:00
llama.swiftui llama.swiftui : fix infinite loop, ouput timings, buff UI (#4674) 2023-12-29 15:58:56 +02:00
llama.swiftui.xcodeproj llama.swiftui : fix build of ggml.metallib (#4754) 2024-01-04 09:58:16 +02:00
.gitignore llama.swiftui : add bench functionality (#4483) 2023-12-17 19:38:41 +02:00
README.md examples : iOS example with swift ui (#4159) 2023-11-27 16:56:52 +02:00

llama.swiftui

Local inference of llama.cpp on an iPhone. So far I only tested with starcoder 1B model, but it can most likely handle 7B models as well.

https://github.com/bachittle/llama.cpp/assets/39804642/e290827a-4edb-4093-9642-2a5e399ec545