Skip to content

A fast, lightweight, and extensible RWKV chat UI powered by Flutter. Offline-ready, multi-backend support, ideal for local RWKV inference.

License

Notifications You must be signed in to change notification settings

RWKV-APP/RWKV_APP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RWKV App ✨

License English Chinese

Explore and experience running Large Language Models offline on your edge devices with the RWKV App.

RWKV App is an experimental application that brings Large Language Models (LLMs) directly to your Android/iOS devices. You can experiment with different models, engage in chats, generate speech, perform visual understanding, and more! All computations are performed locally, and no internet connection is required after loading the model.

Overview

The RWKV App supports multi-turn conversations, text-to-speech, visual understanding, and various other tasks.

RWKV App Screenshot

✨ Core Features

  • 📱 Run Locally, Fully Offline: Experience the magic of generative AI without an internet connection. All processing is done directly on your device.
  • 🤖 Switch Models Freely: Easily download and switch between different models from Hugging Face to compare their performance.
  • 💬 AI Chat: Engage in fluent multi-turn conversations.
  • 🔊 Text-to-Speech (TTS): Convert text into natural-sounding speech.
  • 🖼️ Visual Understanding: Explore image-based AI use cases.
  • 🌓 Dark Mode: Supports comfortable use in various lighting conditions.

🧭 Download and Experience

Downloads

RWKV Chat RWKV See RWKV Talk RWKV Sudoku RWKV Othello
Android APK Download Link huggingface / pgyer huggingface / pgyer huggingface / pgyer huggingface / pgyer huggingface / pgyer
iOS testflight testflight testflight - testflight
Windows QQ Group / Discord
macOS QQ Group / Discord

Note

In the future, we will integrate all separate features into the RWKV Chat app to provide a unified experience.

Usage

When you first open the app, a model selection panel will appear. Please choose the model weights you want to use based on your needs.

Warning

Devices older than the iPhone 14 may not be able to smoothly run models with 1.5B / 2.9B parameters.

💻 Development

  1. Clone the repository:
git clone https://github.com/MollySophia/rwkv_mobile_flutter.git
# Make sure the rwkv_mobile_flutter and RWKV_APP are in the same directory
git clone https://github.com/RWKV-APP/RWKV_APP.git
cd RWKV_APP
  1. Install dependencies:
flutter pub get
  1. Run the application:
flutter run

🛠️ Technical Highlights

  • Flutter: An open-source framework for building cross-platform user interfaces, supporting Android, iOS, Windows, and macOS.
  • Dart FFI (Foreign Function Interface): Used for efficient communication between Dart and the C++ inference engine.
  • C++ Inference Engine: The core on-device inference engine, built with C++, supporting multiple model formats and hardware acceleration (CPU/GPU/NPU).
  • Hugging Face: An open-source community providing models, datasets, and tools; used here as the source for model weights.

🗺️ Roadmap

  • UI Refactoring
  • Integrate all features into the RWKV Chat app
  • Support more model weights
  • Support more hardware
  • Support more operating systems
  • Support more devices (e.g., watches, VR glasses)

🤝 Feedback and Contribution

This is an experimental early-stage version, and your feedback is crucial to us!

📄 License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

🔗 Related Links