Rwkv Architecture
RNN-Transformer hybrid with linear-time inference and constant memory per token, no KV cache.
- CCM score
- 51 of 100
- skills.sh installs
- 1.1K
- GitHub stars
- 14.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers RWKV architecture for parallel GPT-style training and sequential RNN-style inference, with models up to 14B parameters
- Includes streaming text generation, infinite-context processing, fine-tuning with DeepSpeed, and RWKV-vs-Transformer memory comparisons
- Enforces explicit state passing between forward calls, since dropping the state silently discards prior context
- Designed for long-context and memory-constrained deployments where Transformer KV caches become impractical
Install
$ npx -y skills add orchestra-research/ai-research-skills --skill rwkv-architecture -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
RWKV - Receptance Weighted Key Value
Quick start
RWKV (RwaKuv) combines Transformer parallelization (training) with RNN efficiency (inference).
Installation:
# Install PyTorch
pip install torch --upgrade --extra-index-url https://download.pytorch.org/whl/cu121
# Install dependencies
pip install pytorch-lightning==1.9.5 deepspeed wandb ninja --upgrade
# Install RWKV
pip install rwkv
Basic usage (GPT mode + RNN mode):
import os
from rwkv.model import RWKV
os.environ["RWKV_JIT_ON"] = '1'
os.environ["RWKV_CUDA_ON"] = '1' # Use CUDA kernel for speed
# Load model
model = RWKV(
model='/path/to/RWKV-4-Pile-1B5-20220903-8040',
strategy='cuda fp16'
)
# GPT mode (parallel processing)
out, state = model.forward([187, 510, 1563, 310, 247], None)
print(out.detach().cpu().numpy()) # Logits
# RNN mode (sequential processing, same result)
out, state = model.forward([187, 510], None) # First 2 tokens
out, state = model.forward([1563], state) # Next token
out, state = model.forward([310, 247], state) # Last tokens
print(out.detach().cpu().numpy()) # Same logits as above!
Common workflows
Details
- Repository
- github.com/orchestra-research/ai-research-skills
- Category
- AI Agents & LLM Apps
- First seen
- Jun 3, 2026
Questions
What is rwkv-architecture?
rwkv-architecture is an agent skill listed on Claude Marketplaces in the AI Agents & LLM Apps category. The listing describes rwkv-architecture like this: RNN+Transformer hybrid with O(n) inference.
How do I install rwkv-architecture?
Run npx -y skills add orchestra-research/ai-research-skills --skill rwkv-architecture -y in a project to install rwkv-architecture. After that, the agent can use rwkv-architecture in that project.
Which category is rwkv-architecture in?
rwkv-architecture is in the AI Agents & LLM Apps category on Claude Marketplaces. Other listings in that category next to rwkv-architecture include microsoft-foundry, azure-ai and google-agents-cli-adk-code.
Where is the source code of rwkv-architecture?
The source code of rwkv-architecture is on GitHub at https://github.com/orchestra-research/ai-research-skills. The orchestra-research account on GitHub publishes rwkv-architecture.
More from orchestra-research/ai-research-skills
All 92- Miles Rl Training1.1K
- Implementing Llms Litgpt1.1K
- Nemo Evaluator Sdk1.1K
- Pinecone1.1K
- Blip 2 Vision Language1.1K
- Torchforge Rl Training1.1K
- Autogpt Agents1.1K
- Phoenix Observability1.1K
- Constitutional Ai1.1K
- Skypilot Multi Cloud Orchestration1.1K
- Langsmith Observability1.1K
- Lambda Labs Gpu Cloud1.1K
- Experiment Tracking Swanlab1.1K
- Fine Tuning Openvla Oft1.1K
- Fine Tuning Serving Openpi1.1K
- Evaluating Cosmos Policy1.1K
- Evolving Ai Agents1K
- Ml Paper Writing2.7K
- Brainstorming Research Ideas1.5K
- Academic Plotting1.5K
- Creative Thinking For Research1.5K
- Mlflow1.3K
- Serving Llms Vllm1.3K
- Faiss1.3K
Similar to Rwkv Architecture
More AI Agents & LLM Appsmodel-architecturePluginOrchestra-Research/AI-Research-SKILLs14.8K starsLLM architectures and implementations including LitGPT, Mamba, NanoGPT, RWKV, and TorchTitan. Use when implementing, training, or understanding transformer and
mamba-architectureSkillorchestra-research/ai-research-skills1.2K installsState-space sequence model with linear-time scaling, covering Mamba-1 and Mamba-2 for long-context inference.
YourMemoryMCP serversachitrafa275 starsPersistent memory store connecting AI agents to recall, write, and update tools with decay and graph linking.
llm-app-patternsSkilldavila7/claude-code-templates326 installsProduction-ready LLM app patterns covering RAG pipelines, agent architectures, and LLMOps observability.
llmSkillmindrally/skills773 installsBroad LLM development guidance covering architecture, fine-tuning, distributed training, evaluation, and deployment.