Repository navigation
feat: TurboQuant KV cache compression - #38
Merged
Merged
Conversation
ekryski
requested changes
Apr 16, 2026
ekryski
left a comment
Owner
There was a problem hiding this comment.
Should be rebased off of one of #32 or following PRs for cleaner diff. Looks good though.
Is dependent on ekryski/mlx#4 and ekryski/mlx-swift#7.
WHT-based KV cache compression with Lloyd-Max quantization: - TurboQuantKVCache: drop-in replacement for KVCacheSimple - Metal kernels for compressed attention (turbo SDPA) - Supports 2-bit and 4-bit KV quantization - toTurboQuantized() conversion on KVCacheSimple - AttentionUtils dispatch for turbo KV scheme Co-Authored-By: tturney1@gmail.com Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
TheTom
force-pushed
the
pr/alpha-8-turboquant
branch
from
April 16, 2026 04:23
ffbbbd3 to
6c451c1
Compare
ekryski
approved these changes
Apr 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clean port from ek/tom-eric-moe-tuning. Part of alpha cleanup.