What problem does it solve? Transformer models suffer from quadratic attention complexity and ever-growing KV caches, making long-context inference memory-prohibitive. This Skill guides you through using RWKV, an RNN-Transformer hybrid that trains in parallel like GPT but infers sequentially with O(1) memory per token. ## Core Features & Use Cases - Streaming Text Generation: Generate tokens one-by-one with constant memory using RNN mode and persistent state. - Infinite Context Processing: Stream through million-token documents while the recurrent state accumulates context without a KV cache. - Fine-tuning & Training: Train RWKV models with PyTorch Lightning and DeepSpeed, parallelized like standard GPT training. - Use Case: Deploy a 7B chat model on a 16GB GPU that handles 100K+ token conversations without running out of memory, since the state stays at ~524KB regardless of context length. ## Quick Start Use the rwkv skill to load an RWKV model and generate text token-by-token with persistent state on my CUDA GPU.