Repository navigation
test(xla): regenerate decode goldens for the module-global KV ABI - #3078
Merged
Merged
Conversation
…l KV ABI #3048 moved the single-sequence decode KV cache into module globals (`@kcache`, `@vcache`) and dropped the cache arguments from `@main`, so the emitter is right and the committed `decode.mlir` goldens were stale. Every registered family's `decode.mlir` was re-frozen with `ArchFixture::emit_all` (the project's re-freeze primitive); prefill and the ragged logits graphs are unchanged. The llama-3.2-1b asset README now describes the new decode inputs. Validation: `cargo test --profile test-fast -p mlxcel-xla --lib -- emitter:: validation::` passes (220 passed), including the three previously failing tests. Closes #3075
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.
The emitter is right and the goldens were stale. #3048 moved the single-sequence decode KV cache into module globals (
@kcache,@vcache), so@mainno longer takes or returns the cache. The committeddecode.mlirfiles were never re-frozen.All 15 registered families'
decode.mlirwere regenerated withArchFixture::emit_all, the documented re-freeze primitive. Prefill and ragged logits graphs are unchanged. The llama-3.2-1b asset README now describes the new decode inputs.Test plan:
cargo test --profile test-fast -p mlxcel-xla --lib -- emitter:: validation::passes (220 passed), including the three previously failing tests.cargo fmt --checkis clean. No CHANGELOG entry, since this is test-asset only.Closes #3075