runanywhere_llamacpp 0.20.18 copy "runanywhere_llamacpp: ^0.20.18" to clipboard
runanywhere_llamacpp: ^0.20.18 copied to clipboard

LlamaCpp backend for RunAnywhere Flutter SDK. High-performance on-device LLM text generation with GGUF model support.

runanywhere_llamacpp #

Llama.cpp LLM backend for the RunAnywhere Flutter SDK — GGUF text generation on iOS and Android.

pub package


Installation #

dependencies:
  runanywhere: 0.20.18
  runanywhere_llamacpp: 0.20.18

Platform setup (Podfile, permissions) is documented in the Flutter SDK README.


Usage #

import 'package:runanywhere/runanywhere.dart';
import 'package:runanywhere_llamacpp/runanywhere_llamacpp.dart';

await RunAnywhere.initialize();
await LlamaCpp.register();

// Register, download, load models and generate via core RunAnywhere APIs
final result = await RunAnywhere.llm.generate(
  'Hello!',
  LLMGenerationOptions(maxTokens: 64),
);

See the Flutter SDK README for full examples.


Support #


License #

RunAnywhere License. See LICENSE.

0
likes
0
points
391
downloads

Publisher

unverified uploader

Weekly Downloads

LlamaCpp backend for RunAnywhere Flutter SDK. High-performance on-device LLM text generation with GGUF model support.

Homepage
Repository (GitHub)
View/report issues

Topics

#ai #llm #llama #text-generation #on-device

License

unknown (license)

Dependencies

ffi, flutter, runanywhere

More

Packages that depend on runanywhere_llamacpp

Packages that implement runanywhere_llamacpp