PickPack: Training-Free Context Extension to Millions of Tokens via Sparse Attention
PickPack is a training-free method for extending LLM context windows to millions of tokens. It combines two operators in a single FlashAttention pass: Pack remaps query-key pairs to relative positions inside the trained window, and Pick uses pre-softmax logits to skip key blocks dynamically. The authors report that at 50% sparsity PickPack outperforms Pack alone on seven of eight Qwen3 model sizes and is up to 1.2x faster. Compared with recipes used for Qwen2.5, Qwen3.5 and Qwen3.8, it reports 1.0-11.0 points higher accuracy and up to 1.2x speedup from 128K to one million tokens, plus 11.6 points higher accuracy at four million tokens for Qwen3.5-9B.
It offers a concrete, training-free approach to long-context inference that could help teams run agentic workloads beyond their models' trained window without retraining.
Comments & Questions (0)
No comments yet
Be the first to comment!