Repository navigation
feat(xla): execute LLaVA vision through IREE - #913
Merged
Merged
Conversation
Add a typed resident-weight module lifecycle for vision and audio front-ends without changing the language-model ABI. Bind VMFB bytes, config, ordered weight schema, entry point, and compiler generation identity in a fail-closed manifest. Cover real CPU F32/I32/bool8 multi-I/O execution plus output count, dtype, and shape rejection.
Parse and fingerprint the qualified SigLIP/CLIP vision contract, enforce the ordered weight schema, and emit patch embedding, transformer attention/MLP layers, and projector math as StableHLO. Keep normalized pixels as the only invocation input and return canonical unbatched projected tokens.
be-free-snowboy
pushed a commit
to freestylejs/snowbrain-mlxcel
that referenced
this pull request
Oct 27, 2026
* feat(xla): add verified auxiliary IREE runtime Add a typed resident-weight module lifecycle for vision and audio front-ends without changing the language-model ABI. Bind VMFB bytes, config, ordered weight schema, entry point, and compiler generation identity in a fail-closed manifest. Cover real CPU F32/I32/bool8 multi-I/O execution plus output count, dtype, and shape rejection. * feat(xla): emit static LLaVA vision graph Parse and fingerprint the qualified SigLIP/CLIP vision contract, enforce the ordered weight schema, and emit patch embedding, transformer attention/MLP layers, and projector math as StableHLO. Keep normalized pixels as the only invocation input and return canonical unbatched projected tokens. * fix(xla): publish qualified auxiliary cache once * feat(xla): execute LLaVA vision with IREE * feat(xla): route LLaVA prepared prefill through IREE * fix(xla): harden qualified vision execution * fix(xla): recover cache locks from crashed owners
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
vision.mainmoduleValidation
cargo fmt --all -- --checkgit diff --checkcargo check --tests --features xla-ireecargo clippy -p mlxcel-xla --features iree --tests -- -D warningscargo clippy --features xla-iree --tests -- -D warningscargo test -p mlxcel-xla --features diagnostics aux_manifest::tests(5 passed)__stack_chk_guardlimitation remains outside this changeRuntime evidence
Closes #863