From 0f3932c05540108f441d5a1bf1368a8c628fb177 Mon Sep 17 00:00:00 2001 From: Yihao Wang <42559837+AgainstEntropy@users.noreply.github.com> Date: Mon, 11 May 2026 20:52:15 -0700 Subject: [PATCH] [Fix] Qwen3-ASR config: set thinker_config before super().__init__ (#24187) --- python/sglang/srt/configs/qwen3_asr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sglang/srt/configs/qwen3_asr.py b/python/sglang/srt/configs/qwen3_asr.py index 37fb4ef57..cb3252b3d 100644 --- a/python/sglang/srt/configs/qwen3_asr.py +++ b/python/sglang/srt/configs/qwen3_asr.py @@ -148,7 +148,6 @@ class Qwen3ASRConfig(PretrainedConfig): } def __init__(self, thinker_config=None, **kwargs): - super().__init__(**kwargs) if thinker_config is None: thinker_config = {} logger.info( @@ -159,6 +158,7 @@ class Qwen3ASRConfig(PretrainedConfig): self.thinker_config = Qwen3ASRThinkerConfig(**thinker_config) else: self.thinker_config = thinker_config + super().__init__(**kwargs) def get_text_config(self, decoder=False) -> PretrainedConfig: return self.thinker_config.text_config