Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add KV cache quantization feature #31

Open
neilmehta24 opened this issue Nov 8, 2024 · 0 comments
Open

Add KV cache quantization feature #31

neilmehta24 opened this issue Nov 8, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@neilmehta24
Copy link
Member

With this PR in mlx_lm, users can quantize the KV cache. ml-explore/mlx-examples#1075 . Quantizing the KV cache improves performance at large context size.

Unfortunately the KV cache quantization is only available for KVCache and not RotatingKVCache, so we would need to refactor our implementation to use KVCache to allow for quantization

@neilmehta24 neilmehta24 added the enhancement New feature or request label Nov 8, 2024
@neilmehta24 neilmehta24 self-assigned this Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant