Repository navigation
Fix rotating-prefill tests to use public cache state - #38
Merged
ronaldmannak merged 1 commit intoSep 12, 2026
Merged
ronaldmannak merged 1 commit into
ronaldmannak merged 1 commit into
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
ronaldmannak
merged commit Sep 12, 2026
39cf01c
into
claude/mlx-vlm-nativ-picocore-wgky0f
5 checks passed
ronaldmannak
pushed a commit
that referenced
this pull request
Sep 12, 2026
Brings the fork mirror's 19 upstream commits (2026-08-31 to 2026-09-11) onto the batched-cache layer plus the VLM stack (#38 to #48, absorbed by fast-forward). The dry-run merge was conflict-free; both sides touched KVCache.swift and Evaluate.swift in disjoint hunks. Upstream changes that sit under the batching work: ml-explore#584 (RotatingKVCache: wrap-aware trim) and ml-explore#611 (generation loop no longer blocks cooperative workers). The batch and wrapped-cache tests must be re-run on Apple silicon; the fork's CI skips every job. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RT2yoDKAz695YTHR6hDuoC
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.
Closes #36.
The two rotating-prefill regressions in the integration branch cannot compile because they read private
RotatingKVCache.keysand.values. This repair reads the same arrays through the existing publicstateaccessor so the regressions can run.What changed
state.first/state.last.Evidence
On macOS, with the fork's existing MLX 0.31.6 dependency:
The baseline failed to compile at the twelve private-property references. The full
-only-testing:MLXLMTestsrun now compiles and executes: all 757 Swift Testing tests passed; the XCTest portion ran 549 tests, with one existing skip and one failure in unchangedTurboQuantIntegrationTests.testRawKeyModeBFloat16MatchesReference(cosine 0.9440668, required > 0.97). The overall full-suite result is TEST FAILED, not green. No assertion was changed to accommodate that result. DocC and iOS were not run for this test-only repair.Test changes
Only the access path and indentation of two existing tests change. Their expected arrays, offsets, and lifecycle checks remain identical.
Scope
This targets
claude/mlx-vlm-nativ-picocore-wgky0f(the integration branch currently proposed by #32). It adds no public API and does not fix the separate window-boundary masking issue tracked by #35. The full-suite TurboQuant failure needs separate investigation.AI assistance: Codex prepared this change and validation report.