[llm_bench] Add Qwen3-Omni support (MoE and dense models)#4112
Open
avasenin-14 wants to merge 7 commits into
Open
[llm_bench] Add Qwen3-Omni support (MoE and dense models)#4112avasenin-14 wants to merge 7 commits into
avasenin-14 wants to merge 7 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds llm_bench model-type routing for Qwen3-Omni VLM by selecting OVModelForMultimodalLM when the detected model type is qwen3-omni, enabling Optimum-based VLM benchmarking for this model family.
Changes:
- Import
OVModelForMultimodalLMfromoptimum.intel.openvino. - Extend
USE_CASES["visual_text_gen"]with a dedicatedUseCaseVLM(["qwen3-omni"], ov_cls=OVModelForMultimodalLM)entry.
Contributor
Author
|
Exports of tiny random model have failed in test as optimum-intel package in CI is built from a commit that doesn't have the support for qwen3-omni models yet. |
Comment on lines
+254
to
+260
| try: | ||
| from optimum.intel.openvino import OVModelForMultimodalLM | ||
| except ImportError: | ||
| pass | ||
| else: | ||
| USE_CASES["visual_text_gen"].append(UseCaseVLM(["qwen3-omni"], ov_cls=OVModelForMultimodalLM)) | ||
|
|
Comment on lines
+727
to
+732
| "sample_args", | ||
| [ | ||
| ["-d", "cpu", "-n", "1", "--num_steps", "4", "--task", "visual_text_gen", "--optimum"], | ||
| ["-d", "cpu", "-n", "1", "--num_steps", "4", "--task", "visual_text_gen", "--genai"], | ||
| ], | ||
| ) |
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
CVS-188611
Depends on pull requests huggingface/optimum-intel#1700 and huggingface/optimum-intel#1640.
Add
UseCaseVLMwithOVModelForMultimodalLMfor Qwen3-Omni. Add tests for the new model.Limitations:
Checklist: