Diego Devesa 43ed389a3f llama : use cmake for swift build (#10525) 1 year ago
..
llama.cpp.swift 43ed389a3f llama : use cmake for swift build (#10525) 1 year ago
llama.swiftui 69b9945b44 llama.swiftui: fix end of generation bug (#8268) 1 year ago
llama.swiftui.xcodeproj 43ed389a3f llama : use cmake for swift build (#10525) 1 year ago
.gitignore 800a489e4a llama.swiftui : add bench functionality (#4483) 2 years ago
README.md 42ea63c5a3 llama.swiftui : update readme 2 years ago

README.md

llama.cpp/examples/llama.swiftui

Local inference of llama.cpp on an iPhone. This is a sample app that can be used as a starting point for more advanced projects.

For usage instructions and performance stats, check the following discussion: https://github.com/ggerganov/llama.cpp/discussions/4508

image

Video demonstration:

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