]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
examples : iOS example with swift ui (#4159)
authorBailey Chittle <redacted>
Mon, 27 Nov 2023 14:56:52 +0000 (09:56 -0500)
committerGitHub <redacted>
Mon, 27 Nov 2023 14:56:52 +0000 (16:56 +0200)
commitbb03290c17540768a16000a2b01ee4f22440aba1
treef7aa31e8fad0519df3736658dad2e4a1ed03cf6d
parentf3b269813f6147c5b5cda082e6b45cf04a932e0d
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 <redacted>
---------

Co-authored-by: Georgi Gerganov <redacted>
16 files changed:
.github/workflows/build.yml
examples/llama.swiftui/.gitignore [new file with mode: 0644]
examples/llama.swiftui/README.md [new file with mode: 0644]
examples/llama.swiftui/llama.cpp.swift/LibLlama.swift [new file with mode: 0644]
examples/llama.swiftui/llama.cpp.swift/bridging-header.h [new file with mode: 0644]
examples/llama.swiftui/llama.swiftui.xcodeproj/project.pbxproj [new file with mode: 0644]
examples/llama.swiftui/llama.swiftui.xcodeproj/project.xcworkspace/contents.xcworkspacedata [new file with mode: 0644]
examples/llama.swiftui/llama.swiftui.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist [new file with mode: 0644]
examples/llama.swiftui/llama.swiftui/Assets.xcassets/AccentColor.colorset/Contents.json [new file with mode: 0644]
examples/llama.swiftui/llama.swiftui/Assets.xcassets/AppIcon.appiconset/Contents.json [new file with mode: 0644]
examples/llama.swiftui/llama.swiftui/Assets.xcassets/Contents.json [new file with mode: 0644]
examples/llama.swiftui/llama.swiftui/Models/LlamaState.swift [new file with mode: 0644]
examples/llama.swiftui/llama.swiftui/Preview Content/Preview Assets.xcassets/Contents.json [new file with mode: 0644]
examples/llama.swiftui/llama.swiftui/Resources/models/.gitignore [new file with mode: 0644]
examples/llama.swiftui/llama.swiftui/UI/ContentView.swift [new file with mode: 0644]
examples/llama.swiftui/llama.swiftui/llama_swiftuiApp.swift [new file with mode: 0644]