llama_cpp_flutter 0.1.0 copy "llama_cpp_flutter: ^0.1.0" to clipboard
llama_cpp_flutter: ^0.1.0 copied to clipboard

On-device LLM inference for Flutter, backed by llama.cpp: a vendored xcframework with a Pigeon bridge on iOS/macOS, wllama on web, plus GGUF chat clients for the agents framework and memory-aware mult [...]

Changelog #

0.1.0 #

Initial release.

  • Cross-platform LlamaRuntime / LlamaSession API over llama.cpp:
    • iOS / macOS via a vendored Metal-enabled llama.xcframework (downloaded from official llama.cpp releases during pod install) with a typed Pigeon bridge. All native calls run on a dedicated worker isolate so model loading and token streaming never block the UI.
    • Web via @wllama/wllama, with the matching wllama.wasm shipped as a Flutter asset.
  • ChatClient implementations for the agents framework, backed by local GGUF models.
  • Chat format layer with auto-detection from GGUF metadata: ChatML, Gemma, LFM2, Llama 3, Mistral, and Qwen templates, including streaming tool-call decoding (Hermes-style and model-specific markers).
  • GGUF utilities: metadata reader, split-model (-00001-of-0000N) support, and a resumable Hugging Face model downloader.
  • Memory-aware multi-agent orchestration over a single loaded model: memory estimation and budget planning, runtime memory monitoring, session snapshot store, and artifact staging.
  • MTP speculative decoding on iOS/macOS via the LlamaExtShim staging ABI, with a CI ABI-drift check.
  • Prompt inspector diagnostics for examining rendered prompts.
0
likes
0
points
121
downloads

Publisher

verified publisherjamiewest.dev

Weekly Downloads

On-device LLM inference for Flutter, backed by llama.cpp: a vendored xcframework with a Pigeon bridge on iOS/macOS, wllama on web, plus GGUF chat clients for the agents framework and memory-aware multi-agent orchestration over one loaded model.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

agents, extensions, ffi, flutter, meta, web

More

Packages that depend on llama_cpp_flutter

Packages that implement llama_cpp_flutter