Repository navigation
fix(qwen3-asr): preserve native auto registrations - #4876
Merged
sajadn merged 1 commit intoJul 16, 2026
Merged
Conversation
Signed-off-by: aoshen02 <aoshen@inferact.ai>
ISEEKYAN
approved these changes
Jul 15, 2026
Contributor
|
/ok to test 6019e59 |
chochowski
pushed a commit
to chochowski/Megatron-Bridge
that referenced
this pull request
Jul 21, 2026
Signed-off-by: aoshen02 <aoshen@inferact.ai>
4 tasks done
This branch was previously deployed
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
qwen3_asrmodel typeMotivation
megatron.bridgeimports all model registrations eagerly. Transformers 5.13.1 now ships a nativeqwen3_asrconfig, so the unconditional vendored registration raises:That prevents every Bridge consumer from importing, even when Qwen3-ASR is not selected. This is visible with the vLLM 0.25.1 base image, which ships Transformers 5.13.1.
Using
exist_ok=Truewould replace the native global registration with Bridge's vendored schema. This change instead leaves the native registry untouched and retains the existing vendored fallback for Transformers releases without native Qwen3-ASR support.This follows the import-safety goal in #4314: an unused model integration should not make
import megatron.bridgefail.Validation
ruff format --checkandruff checkon the changed filesimport megatron.bridgesucceeds and the native Qwen3-ASR config remains registeredimport megatron.bridgesucceeds and the vendored Qwen3-ASR config is registered