Skip to content

[Question] offload kv cache to disk/database ? #352

Closed

Description

@s7ev3n

In the long context window llm, does it make sense to offload the kv cache to disk or database ? benefits are

  1. it is expensive to compute the kv cache of long context, discarding it wiil be a waste of compute
  2. it is faster to reuse/reload the kv cache than to compute it again

Activity

  1. added 3 commits that reference this issue on Jul 31, 2026
  2. added a commit that references this issue on Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions