Z oom R : Memory Efficient Reasoning through Multi-Granularity Key Value Retrieval
David H. Yang · Yuxuan Zhu · Mohammad Mohammadi Amiri · Keerthiram Murugesan · Tejaswini Pedapati · Subhajit Chaudhury · Pin-Yu Chen
摘要
Large language models (LLMs) have shown great performance on complex reasoning tasks but often require generating long intermediate thoughts before reaching a final answer. During generation, LLMs rely on a key-value (KV) cache for autoregressive decoding. However, the memory footprint of the KV...