Skip to content

Conversation

@dinerburger
Copy link
Contributor

@dinerburger dinerburger commented Feb 22, 2025

Let's try again on the correct branch lol

This patch adds quanto KV cache quantization support for Transformers. The placement is unfortunately a little awkward, but we need to pass the same QuantizedCache object to each step. Happy to put it somewhere else.

Also, added optimum-quanto to requirements.txt. It can probably be safely made an optional dependency, but it's quite small and I believe portable across platforms.

Checklist:

@dinerburger dinerburger changed the title Add Quanto4,2 KV cache quantization support to Transformers loader Add Quanto4,2, HQQ4,2 KV cache quantization support to Transformers loader Feb 22, 2025
Copy link

@cceneag cceneag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍👍

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.

2 participants