Skip to content

[WIP, Roadmap] KV cache quantization (tracking) #893

Open

Description

@jason-fxz

Tracking issue for KV cache quantization. Related: #79, #280, #354, #853.

KV quant format

A KV quant format is defined once and has one name (the --kv-cache-dtype value). The name decides three things:

  1. Storage: how a K / V row is laid out in the KV pool (element dtype, scale dtype, channels per scale), and so the pool's size per token.
  2. Quant + store kernel: quantizes new K / V rows and writes them to the pool in that layout.
  3. Attention kernels: read the format back. Each attention backend declares the formats it can read.

Plan

Open problems

Activity

  1. added
    feature
    on Nov 11, 2026
  2. changed the title [-][WIP] KV cache quantization (tracking)[/-] [+][WIP, RoadMap] KV cache quantization (tracking)[/+] on Nov 11, 2026
  3. changed the title [-][WIP, RoadMap] KV cache quantization (tracking)[/-] [+][WIP, Roadmap] KV cache quantization (tracking)[/+] on Nov 11, 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

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions