feat: implement sequential prefill fallback for multimodal runner and add support for Qwen3.5 with vision encoder#1102
Draft
feat: implement sequential prefill fallback for multimodal runner and add support for Qwen3.5 with vision encoder#1102
Conversation
Member
|
For now you can rebase and:
|
…to multimodal screen
…multimodal screen Co-authored-by: Copilot <copilot@github.com>
…n 3.5 VL 0.8B and 2B models
b006379 to
97257ad
Compare
Contributor
Author
|
Based on my limited testing it looks like the proper configuration actually somewhat helped. However, the models themselves aren't particularly good, especially compared to something like LFM2.5. And as of right now, they aren't really usable due to slow prefill. ExecuTorch team merged the PR with custom op for GatedDeltaNet, but they reverted it later (pytorch/executorch#19178), so I guess we still have to wait. |
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.
Description
NOTE: Support for Qwen3.5 VL model is experimental right now since due to architectural constraints (namely the GatedDeltaNet implementation) model requires sequential prefill fallback which results in very slow prefill. Additionally the model output right now is not very good (repetition, etc.) which probably can be fixed by applying #1099 .
The best action for now is probably to wait until the ExecuTorch team adds better support for Qwen3.5 architecture.
Introduces a breaking change?
Type of change
Tested on
Testing instructions
Screenshots
Related issues
Checklist
Additional notes
Qwen3.5 VLM model was exported using https://github.com/barhanc/executorch/tree/rne-v1.2.0-export-qwen-3.5 .