C
BlinkDL/ChatRWKV★ 9,476 · Python
Local chat and Python inference with the RWKV recurrent language model
Apache-2.0 · Commercial Friendly
Side-by-side 2026 comparison in Chat UI & AI Apps: ChatGPTNextWeb/NextChat leads both total GitHub adoption (★ 89k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs MIT · Commercial Friendly.
Local chat and Python inference with the RWKV recurrent language model
Self-host a Next.js chat client for cloud and private model APIs
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | BlinkDL/ChatRWKV | ChatGPTNextWeb/NextChat |
|---|---|---|
| Total GitHub Stars | ★ 9,476 | ★ 88,996 |
| 24h / 7d Velocity | +0 / +2 | +2 / +40 |
| 7-Day Trend Curve | ||
| Engineering Health | B · 56/100 | A · 82/100 |
| Deployment Signals | Local AI · CLI · GPU · API | Docker · Self-Hosted · MCP |
| Primary Language | Python | TypeScript |
| Commercial License | Apache-2.0 · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated 4mo ago | Updated 1mo ago |
| Latest Release | Rolling commits (main) | v2.16.1 |
| Best For | Running RWKV chat locally, inspecting recurrent inference, or prototyping Python integrations with control over weights and device placement | Individuals and small teams that want one browser or desktop chat interface for multiple provider APIs or a compatible private inference endpoint, and can own deployment and credentials |
os.environ["RWKV_JIT_ON"] = '1' os.environ["RWKV_CUDA_ON"] = '0' # if '1' then use CUDA kernel for seq mode (much faster) from rwkv.model import RWKV # pip install rwkv model = RWKV(model='/fsx/BlinkDL/HF-MODEL/rwkv-4-pile-1b5/RWKV-4-Pile-1B5-20220903-8040', strategy='cuda fp16') out, state = model.forward([187, 510, 1563, 310, 247], None) # use 20B_tokenizer.json print(out.detach().cpu().numpy()) # get logits out, state = model.forward([187, 510], None) out, state = model.forward([1563], state) # RNN has state (use deepcopy if you want to clone it) out, state = model.forward([310, 247], state) print(out.detach().cpu().numpy()) # same result as above
@fortaine/fetch-event-source for streamed responses.BASE_URL overrides the OpenAI endpoint.CUSTOM_MODELS adds, hides, and renames entries; VISIONMODELS extends vision recognition beyond built-in name matching.docker pull yidadaa/chatgpt-next-web docker run -d -p 3000:3000 \ -e OPENAI_API_KEY=sk-xxxx \ -e CODE=your-password \ yidadaa/chatgpt-next-web
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy