跳到正文
原文
Hugging Face Blog·· 2025-01-23精选AI 评分67

KVPress 如何用 KV Cache 压缩应对 LLM 长上下文

Mastering Long Contexts in LLMs with KVPress

AI 导读

NVIDIA 的 KVPress 是一个用于压缩 LLM KV Cache 的 Python 工具包,可在预填充阶段降低长上下文生成的内存占用。

推荐理由

文章介绍 KVPress 如何在预填充阶段压缩 KV Cache,并用 128k context 的显存与解码速度数据展示压缩取舍。

来源:Hugging Face Blog · huggingface.co