Skip to content

test(xla): regenerate decode goldens for the module-global KV ABI - #3078

Merged
inureyes merged 2 commits into
mainfrom
fix/issue-3075-xla-decode-golden
Nov 15, 2026
Merged

inureyes merged 2 commits into
mainfrom
fix/issue-3075-xla-decode-golden

Conversation

@inureyes

Copy link
Copy Markdown
Member

The emitter is right and the goldens were stale. #3048 moved the single-sequence decode KV cache into module globals (@kcache, @vcache), so @main no longer takes or returns the cache. The committed decode.mlir files were never re-frozen.

All 15 registered families' decode.mlir were regenerated with ArchFixture::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 --check is clean. No CHANGELOG entry, since this is test-asset only.

Closes #3075

…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
@inureyes inureyes added status:done Completed type:test Test related changes priority:medium Medium priority labels Nov 15, 2026
@inureyes
inureyes marked this pull request as ready for review November 15, 2026 10:45
@inureyes
inureyes merged commit 0ca353d into main Nov 15, 2026
1 check passed
@inureyes
inureyes deleted the fix/issue-3075-xla-decode-golden branch November 15, 2026 10:46
@inureyes inureyes added this to the 0.9 milestone Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:medium Medium priority status:done Completed type:test Test related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(xla): llama-3.2-1b decode.mlir no longer matches its bundled golden

1 participant