Skip to content

WIP: plan KV-cache quantization - #183

Draft
drunkcoding wants to merge 1 commit into
mainfrom
plan/kv-cache-quantization
Draft

WIP: plan KV-cache quantization#183
drunkcoding wants to merge 1 commit into
mainfrom
plan/kv-cache-quantization

Conversation

@drunkcoding

Copy link
Copy Markdown
Contributor

Description

Plan-only design for an opt-in correctness-gated INT8 symmetric paged KV-cache format.

Motivation

The repository supports low-bit expert weights but not low-bit KV storage or transfer.

Scope

  • Explicit storage/transfer/execution precision contract
  • Single-owner LayeredPagedKVStore
  • Callable kernel capability probe and FP32 SDPA oracle
  • Numerical, perplexity, memory, and long-context gates

Dependencies / limitations

MHA/GQA first; MLA falls back. FlashInfer native cache remains unchanged; INT8 uses the built-in validated path.

Type of Change

  • Documentation update
  • Production implementation

Performance / support evidence

  • Not applicable — no universal low-bit or speedup claim.

Checklist

  • Native default and one-setting rollback retained
  • Quality gates specified
  • No production files changed

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant