RWKV
Chinese
English
rwkv-lightning-cuda
rwkv7
agent
tool-use
coding-agent
deep-search
linear-attention
rwkv-pi
Instructions to use RWKV-Agent-Lab/RWKV7-Agent-7.2B-OpenSource with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- RWKV
How to use RWKV-Agent-Lab/RWKV7-Agent-7.2B-OpenSource with RWKV:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
|
Download README.md from RWKV-Agent-Lab/RWKV7-Agent-7.2B-OpenSource: direct link, hf CLI and curl.
- Browser
- Download file 4.32 kB
-
https://huggingface.co/RWKV-Agent-Lab/RWKV7-Agent-7.2B-OpenSource/resolve/main/README.md
- Command line
-
hf download hf://RWKV-Agent-Lab/RWKV7-Agent-7.2B-OpenSource/README.md
-
curl -L -o README.md https://huggingface.co/RWKV-Agent-Lab/RWKV7-Agent-7.2B-OpenSource/resolve/main/README.md
4.32 kB
| language: | |
| - zh | |
| - en | |
| license: apache-2.0 | |
| tags: | |
| - rwkv | |
| - rwkv7 | |
| - agent | |
| - tool-use | |
| - coding-agent | |
| - deep-search | |
| - linear-attention | |
| - rwkv-pi | |
| library_name: rwkv-lightning-cuda | |
| # RWKV7-Agent-7.2B-OpenSource | |
| Unified open-source model repository for the **RWKV-7 7.2B Agent** family developed by **RWKV-Agent-Lab** (shared foundation, Pi coding agent, and DSH deep-search agent checkpoints). | |
| All `.pth` checkpoints in this repository are **standalone merged BF16 weights** (no external LoRA/NoRA adapter required). | |
| ## One-Command Local Deployment (rwkv-pi) | |
| Linux / WSL2: | |
| ```bash | |
| curl -fsSL https://hf-mirror.com/RWKV-Agent-Lab/RWKV7-Agent-7.2B-OpenSource/resolve/main/quickstart-linux.sh | bash | |
| ``` | |
| Windows (PowerShell): | |
| ```powershell | |
| curl.exe -fsSL https://hf-mirror.com/RWKV-Agent-Lab/RWKV7-Agent-7.2B-OpenSource/resolve/main/quickstart-windows.ps1 | Out-String | iex | |
| ``` | |
| The scripts pick W8A16 or BF16 weights from free GPU memory, install missing dependencies, and register `pi`, `rwkv-engine`, and `rwkv-demos`. Full guide: [rwkv-pi/docs/LOCAL_DEPLOYMENT.zh-CN.md](https://github.com/w1c2j3/rwkv-pi/blob/main/docs/LOCAL_DEPLOYMENT.zh-CN.md). | |
| The `engine/` folder mirrors the prebuilt [`rwkv_lightning_cuda`](https://github.com/Alic-Li/rwkv_lightning_cuda) `v1.8.15` bundles (Linux and Windows, CUDA 12.9 / 13.2) as `.zip`, redistributed with the author's permission. Checksums are listed in `SHA256SUMS.txt`. | |
| --- | |
| ## Model Family & Lineage | |
| ```text | |
| RWKV7-Agent-7.2B-v0.1.pth (Shared General-Purpose Agent Foundation) | |
| βββ RWKV7-Pi-7.2B-Anneal-v0.1.pth (Pi Coding Agent β Post-SFT Annealed) | |
| β βββ RWKV7-Pi-7.2B-v0.1-final.pth (Pi Coding Agent β legacy oldText/newText edit protocol) | |
| βββ RWKV7-DSH-7.2B-Anneal-*.pth (DSH Deep-Search Agent β Annealed) | |
| ``` | |
| ## Available Checkpoints | |
| | File | Track / Stage | Precision | SHA-256 | Description | | |
| |---|---|---|---|---| | |
| | `RWKV7-Agent-7.2B-v0.1.pth` | Foundation (`v0.1`) | Standalone BF16 | `744b26faaa4a15c08255ad6627ec4e560ddda5bd9d669dd716296598440768dd` | Shared multi-turn tool-use & reasoning foundation | | |
| | `RWKV7-Pi-7.2B-Anneal-v0.1.pth` | Pi Coding (`v0.1-anneal`) | Standalone BF16 | `a31cbf1693f0bad0014d58f1496a8ed0e6fecebba306ef5a1b32deb7173170db` | High-signal post-SFT annealed coding-agent checkpoint | | |
| | **`RWKV7-Pi-7.2B-v0.2.pth`** | **Pi Coding (`v0.2`)** | Standalone BF16 | `67a8c03a0c4efd71e2426346da11dccffed6396cbd3c678f151dcf32b7de1f63` | **Recommended Pi Coding Agent** β Line-Edit v2 + DAgger (`RWKV_EDIT_MODE=line`) | | |
| | **`RWKV7-Pi-7.2B-v0.2.w8a16.rwkvq`** | **Pi Coding (`v0.2` Quantized)** | **W8A16 (`7.16 GiB`)** | `5f89733aa18473079786e685725eeafae57cca96a3ebb02b09d95749989765a0` | **Recommended for 12β16 GB GPUs** (`rwkv_lighting_cuda` native `.rwkvq`) | | |
| | `RWKV7-Pi-7.2B-v0.1-final.pth` | Pi Coding (`v0.1-final`, legacy) | Standalone BF16 | `e9e60c42f1cd39529e54d8b9e681051c62bb5758fa3ca30a7da43288f7db7187` | Legacy β oldText/newText edit protocol (`RWKV_EDIT_MODE=text`); superseded by `v0.2` | | |
| | `RWKV7-Pi-7.2B-v0.1-final.w8a16.rwkvq` | Pi Coding (`v0.1-final` Quantized, legacy) | W8A16 (`7.16 GiB`) | `6ea0ef30629ceaec3ac17724490da8bb26ae1c4a2c848f63ec17e286518ec2c7` | Legacy β superseded by `RWKV7-Pi-7.2B-v0.2.w8a16.rwkvq` | | |
| | `RWKV7-DSH-7.2B-Anneal-*.pth` | DSH Deep-Search (Annealed) | Standalone BF16 | *(uploaded by DSH track)* | Post-SFT annealed deep-search agent checkpoint | | |
| ## Quick Start (`rwkv_lighting_cuda`) | |
| ```bash | |
| # Download a checkpoint + shared tokenizer vocabulary | |
| hf download RWKV-Agent-Lab/RWKV7-Agent-7.2B-OpenSource \ | |
| RWKV7-Pi-7.2B-v0.2.pth rwkv_vocab_v20230424.txt --local-dir ./weights | |
| # Serve locally | |
| ./rwkv_lighting_cuda \ | |
| --model-path ./weights/RWKV7-Pi-7.2B-v0.2.pth \ | |
| --vocab-path ./weights/rwkv_vocab_v20230424.txt \ | |
| --host 127.0.0.1 --port 8000 | |
| ``` | |
| ## License | |
| Apache-2.0 | |
| ### 12β16 GB Consumer GPU Quick Start (W8A16 Quantized `.rwkvq`) | |
| ```bash | |
| hf download RWKV-Agent-Lab/RWKV7-Agent-7.2B-OpenSource \ | |
| RWKV7-Pi-7.2B-v0.2.w8a16.rwkvq rwkv_vocab_v20230424.txt --local-dir ./weights | |
| ./rwkv_lighting_cuda \ | |
| --model-path ./weights/RWKV7-Pi-7.2B-v0.2.w8a16.rwkvq \ | |
| --vocab-path ./weights/rwkv_vocab_v20230424.txt \ | |
| --chunk-load --wkv32 --host 127.0.0.1 --port 8000 | |
| ``` | |