Skip to main content

llamadart_llama_cpp_flutter 0.20.1 copy "llamadart_llama_cpp_flutter: ^0.20.1" to clipboard
llamadart_llama_cpp_flutter: ^0.20.1 copied to clipboard

Flutter Apple SwiftPM runtime companion package for llamadart llama.cpp and GGUF support.

llamadart_llama_cpp_flutter #

Flutter Apple Swift Package Manager companion package for llamadart GGUF / llama.cpp support.

Add this package to a Flutter iOS/macOS app when the app should link the prebuilt llama.cpp Apple XCFramework through SwiftPM instead of relying on the core package's native-assets fallback.

Use the companion that shares the core's MAJOR.MINOR: companion 0.20.x pairs with core 0.20.x. Upgrade both together. Earlier pairings are in the changelog.

dependencies:
  llamadart: ^0.20.1
  llamadart_llama_cpp_flutter: ^0.20.1

This package has no runtime Dart API of its own. Import package:llamadart normally from the core package and use LlamaBackend() / LlamaEngine there.

The Apple SwiftPM manifest pins leehack/llamadart-native@v1.0.0-2.

Apps bound for the App Store should use this package: the Apple privacy manifest for the llama.cpp runtime ships inside this XCFramework, never in the dylibs the core package's native-assets fallback bundles. It declares NSPrivacyAccessedAPICategoryFileTimestamp with reason C617.1. If the embedded llama.framework in the built app has no PrivacyInfo.xcprivacy, or the app uses the fallback, declare that category and reason in the app's own PrivacyInfo.xcprivacy. See Apple privacy manifest.

Source for this package lives in packages/llamadart_llama_cpp_flutter in the llamadart repository.

Fresh macOS builds #

Keep Runner's deployment target at macOS 14.0 or newer. If SwiftPM reports that FlutterGeneratedPluginSwiftPackage supports only 12.0, follow the Flutter 3.47.1 consumer bootstrap before the first build. It updates only the ignored generated manifest and builds with --no-pub; keep this package's platform requirements, native URLs and checksums intact.

1
likes
0
points
13.4k
downloads

Publisher

verified publisherleehack.com

Weekly Downloads

Flutter Apple SwiftPM runtime companion package for llamadart llama.cpp and GGUF support.

Homepage
Repository (GitHub)
View/report issues

Topics

#llm #llama-cpp #flutter

License

unknown (license)

Dependencies

flutter, llamadart

More

Packages that depend on llamadart_llama_cpp_flutter

Packages that implement llamadart_llama_cpp_flutter