-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Swift Package Manager #1370
Conversation
Bringing all |
@ggerganov I have synced it from llama.cpp again. It now builds successfully in Xcode for me. I added it as a local dependency to my app. I'm also seeing https://github.com/ggerganov/whisper.spm/blob/9752de41007fc54df5d6f98945929a54bc628a58/Package.swift#L23-L26, but I don't think that should stop it from being included here as it does build in Xcode, which is the main use-case. We could maybe document the caveat for now? |
Since it works on your end, I think we can assume I was doing something wrong, so we should proceed. |
Correct |
I have updated the SwiftUI example app to use the package: bacf34d |
* Add support for Swift * Make it build in Xcode * Use the SPM package in the SwiftUI example app
* Add support for Swift * Make it build in Xcode * Use the SPM package in the SwiftUI example app
* Add support for Swift * Make it build in Xcode * Use the SPM package in the SwiftUI example app
Not ready. Depends on syncing with llama.cpp to get latest
ggml-metal
(alsoggml-backend
andk_quants
).