Commit graph

15 commits

Author SHA1 Message Date
Georgi Gerganov
865066621b
llama.swiftui : improve bench 2023-12-17 19:37:22 +02:00
Georgi Gerganov
262fd466f3
llama.swiftui : remove model from project 2023-12-17 13:49:44 +02:00
Georgi Gerganov
4ed98b90bc
llama.swiftui : avoid data copy via "downloadTask" 2023-12-17 12:19:52 +02:00
Georgi Gerganov
9629448716
llama.swiftui : UX improvements 2023-12-17 11:46:13 +02:00
Georgi Gerganov
d36ca171b6
gitignore : xcode stuff 2023-12-17 10:49:05 +02:00
jhen
da44d45265 comment #Preview & fix editorconfig check 2023-12-17 11:39:54 +08:00
jhen
a520e87ed6 update project.pbxproj 2023-12-17 11:31:44 +08:00
jhen
ce1df8124a add download buttons & expose llamaState.loadModel 2023-12-17 11:20:38 +08:00
jhen
ff87313db8 force to use n_gpu_layers on simulator 2023-12-17 11:08:17 +08:00
Georgi Gerganov
6a8680204c
llama.swiftui : initial bench functionality 2023-12-15 16:39:16 +02:00
Georgi Gerganov
afd336f7a6
llama.swiftui : add bench button 2023-12-15 12:38:30 +02:00
Miwa / Ensan
d208995c6d
swift : fix concatenation method to avoid invalid UTF8 stringfication (#4325) 2023-12-04 18:03:49 +02:00
Miwa / Ensan
5c9f90cba1
swift : fix prompt tokenization logic (#4321) 2023-12-04 15:43:45 +02:00
Miwa / Ensan
b220222a64
swift : fix token_to_piece implementation (#4278)
* Fix token_to_piece implementation in Swift

* Fix errors
2023-12-01 20:19:45 +02:00
Bailey Chittle
bb03290c17
examples : iOS example with swift ui (#4159)
* copy to llama.cpp as subdir

* attempt enabling metal, fails

* ggml metal compiles!

* Update README.md

* initial conversion to new format, utf8 errors?

* bug fixes, but now has an invalid memory access :(

* added O3, now has insufficient memory access

* begin sync with master

* update to match latest code, new errors

* fixed it!

* fix for loop conditionals, increase result size

* fix current workflow errors

* attempt a llama.swiftui workflow

* Update .github/workflows/build.yml

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2023-11-27 16:56:52 +02:00