Skip to content

wegiswes/llama-flutter

 
 

Repository files navigation

AiChat - LLaMA - Flutter

This project is a simple test to use llama.cpp on mobile.

Use LLaMA Mobile fork patched instead of official llama.cpp with command:

git clone https://github.com/paulocoutinhox/llama.cpp.git -b "mobile"

Build for macOS

On LLaMA Mobile execute the command:

./scripts/build-macos.sh

Copy the generated library to correct place. Example:

mkdir ~/Developer/workspaces/flutter/llama-flutter/macos/Vendor
cp build/examples/main/Release/libmain.dylib ~/Developer/workspaces/flutter/llama-flutter/macos/Vendor/libmain.dylib

And run with:

flutter run -d macos

Screenshot

Screenshot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 32.5%
  • CMake 26.9%
  • Python 22.0%
  • Dart 10.5%
  • Ruby 3.9%
  • C 2.1%
  • Other 2.1%