Shuichi Tsutsumi 0e64591e82 swiftui : enable stream updating (#7754) пре 1 година
..
llama.cpp.swift 40f74e4d73 llama : add option to render special/control tokens (#6807) пре 1 година
llama.swiftui 0e64591e82 swiftui : enable stream updating (#7754) пре 1 година
llama.swiftui.xcodeproj e790eef21c llama.swiftui : update models layout (#4826) пре 2 година
.gitignore 800a489e4a llama.swiftui : add bench functionality (#4483) пре 2 година
README.md 42ea63c5a3 llama.swiftui : update readme пре 2 година

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