594270461 / RWKV-Runner

A RWKV management and startup tool, full automation, only 8MB. And provides an interface compatible with the OpenAI API. RWKV is a large language model that is fully open source and available for commercial use.

Home Page:https://www.rwkv.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RWKV Runner

This project aims to eliminate the barriers of using large language models by automating everything for you. All you need is a lightweight executable program of just a few megabytes. Additionally, this project provides an interface compatible with the OpenAI API, which means that every ChatGPT client is an RWKV client.

license release

English | 简体中文

Install

Windows MacOS Linux

FAQs | Preview | Download | Server-Deploy-Examples

Default configs has enabled custom CUDA kernel acceleration, which is much faster and consumes much less VRAM. If you encounter possible compatibility issues, go to the Configs page and turn off Use Custom CUDA kernel to Accelerate.

If Windows Defender claims this is a virus, you can try downloading v1.0.8/v1.0.9 and letting it update automatically to the latest version, or add it to the trusted list.

For different tasks, adjusting API parameters can achieve better results. For example, for translation tasks, you can try setting Temperature to 1 and Top_P to 0.3.

Features

  • RWKV model management and one-click startup
  • Fully compatible with the OpenAI API, making every ChatGPT client an RWKV client. After starting the model, open http://127.0.0.1:8000/docs to view more details.
  • Automatic dependency installation, requiring only a lightweight executable program
  • Configs with 2G to 32G VRAM are included, works well on almost all computers
  • User-friendly chat and completion interaction interface included
  • Easy-to-understand and operate parameter configuration
  • Built-in model conversion tool
  • Built-in download management and remote model inspection
  • Multilingual localization
  • Theme switching
  • Automatic updates

API Concurrency Stress Testing

ab -p body.json -T application/json -c 20 -n 100 -l http://127.0.0.1:8000/chat/completions

body.json:

{
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}

Todo

  • Model training functionality
  • CUDA operator int8 acceleration
  • macOS support
  • Linux support
  • Local State Cache DB

Preview

Homepage

image

Chat

image

Completion

image

Configuration

image

Model Management

image

Download Management

image

Settings

image

About

A RWKV management and startup tool, full automation, only 8MB. And provides an interface compatible with the OpenAI API. RWKV is a large language model that is fully open source and available for commercial use.

https://www.rwkv.com

License:MIT License


Languages

Language:TypeScript 71.7%Language:Python 16.8%Language:Go 8.2%Language:SCSS 0.8%Language:JavaScript 0.8%Language:Batchfile 0.7%Language:Shell 0.5%Language:Makefile 0.2%Language:HTML 0.2%