Skip to content

[Feature]: Move query quantization to attention layer for all backends supporting query quantization. #25584

@jmkuebler

Description

@jmkuebler

🚀 The feature, motivation and pitch

#24914 moved the query quantization out of the FlashAttn backend into attention/layer such that it can be fused by torch compile AND included in the CUDA graph.

#26534 moved it for Triton and FlashInfer.

This should be done for all backends.

Alternatives

No response

Additional context

No response

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions