chore: bump mlx-swift-lm to pick up TurboKV silent-data-loss fix - #166
Merged
Conversation
Pulls in SharpAI/mlx-swift-lm#63: compressedOffset wasn't reset across TurboKV eviction rounds, silently dropping whole 256-token windows from compressed KV history on any request past ~2560 tokens with default settings. See that PR for the full root-cause writeup and the added regression test. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
mlx-swift-lmsubmodule to pick up SharpAI/mlx-swift-lm#63:compressedOffsetwasn't reset across TurboKV eviction rounds, silently dropping whole 256-token windows from compressed KV history on any request past ~2560 tokens with default settings (turboMinActivationTokens=2048,hotWindowSize=256). No source changes needed on the SwiftLM side — this is purely the submodule pin.Test plan
swift build --build-tests— clean build against the bumped submoduleswift test --skip-build --filter SwiftLMTests— 167 tests, 0 failuresswift test --skip-build --filter SwiftBuddyTests --disable-swift-testing— 127 tests (9 skipped), 0 failures🤖 Generated with Claude Code