Replace qwen3-asr custom helper with optimum-intel OVModelForSpeechSeq2Seq - #3461
Draft
openvino-dev-samples wants to merge 1 commit into
Draft
Replace qwen3-asr custom helper with optimum-intel OVModelForSpeechSeq2Seq#3461openvino-dev-samples wants to merge 1 commit into
openvino-dev-samples wants to merge 1 commit into
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
openvino-dev-samples
force-pushed
the
qwen3-asr
branch
from
May 16, 2026 08:23
e02da1c to
b50ea8c
Compare
openvino-dev-samples
marked this pull request as draft
May 16, 2026 08:24
- Use optimum-cli export openvino for model export (--trust-remote-code, --weight-format fp16) - Use OVModelForSpeechSeq2Seq from optimum-intel for inference - Delete qwen_3_asr_helper.py (~1442 lines of custom code) - Update gradio_helper.py to use optimum-intel API - Pin transformers>=4.53,<5 - Requires optimum-intel with Qwen3-ASR support (huggingface/optimum-intel#1677)
openvino-dev-samples
force-pushed
the
qwen3-asr
branch
from
May 16, 2026 15:32
b50ea8c to
5eeecd0
Compare
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.
What does this PR do?
Replaces the custom qwen_3_asr_helper.py (1442 lines of manual model conversion and inference code) with the standard optimum-intel OVModelForSpeechSeq2Seq API, following the pattern established in huggingface/optimum-intel#1677.
Changes
Key benefits
Dependencies
Testing
Tested end-to-end in a fresh virtual environment: