PulseAugur
EN
LIVE 08:45:15

InfiniteKV enables LLMs to access context far beyond training limits

InfiniteKV is a new KV cache system designed to extend the context window of large language models by storing older tokens in a compressed, searchable format on disk or in RAM. This approach allows models to access information far beyond their original training limits, as demonstrated by Mistral-7B successfully answering a query from token 76,747, significantly past its 32,768 token limit. The system maintains recent tokens in GPU memory for speed while offloading older ones, drastically reducing memory requirements from gigabytes per million tokens to just a few megabytes. AI

IMPACT Enables LLMs to process and recall information from vastly extended contexts, potentially unlocking new applications in long-form content analysis and generation.

RANK_REASON This is a novel technical approach to extending LLM context windows, presented as an open-source project with verifiable results. [lever_c_demoted from research: ic=1 ai=1.0]

Read on r/LocalLLaMA →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

COVERAGE [1]

  1. r/LocalLLaMA TIER_1 English(EN) · /u/Final-Data-1410 ·

    Open sourcing InfiniteKV: a KV cache that files old tokens as 104-byte searchable records in RAM or on disk instead of deleting them. Mistral-7B answered from token 76,747, 2.3x past its trained window. Colab demo

    <!-- SC_OFF --><div class="md"><p>What it is, in plain words. Your GPU keeps two float vectors for every token of your conversation. That’s the KV cache, and it’s why long contexts eat VRAM: Llama-3.1-8B needs about 0.12 MB per token, so 100k tokens costs 12 GB and a million toke…