Update rope parameters in Qwen3OmniMoeTalker to include rope_theta for improved configuration handling.
Signed-off-by: tzhouam <tzhouam@connect.ust.hk>
This commit is contained in:
1 parent
b8f736c5a9
commit
6ff31eb6ec
1 file changed
+1
@@ -100,6 +100,7 @@ class Qwen3OmniMoeTalkerForConditionalGeneration(
|
|||||||
super().__init__()
|
super().__init__()
|
||||||
talker_config: Qwen3OmniMoeTalkerConfig = vllm_config.model_config.hf_config
|
talker_config: Qwen3OmniMoeTalkerConfig = vllm_config.model_config.hf_config
|
||||||
talker_config.text_config.rope_parameters = talker_config.text_config.rope_scaling
|
talker_config.text_config.rope_parameters = talker_config.text_config.rope_scaling
|
||||||
|
talker_config.text_config.rope_parameters["rope_theta"] = talker_config.text_config.rope_theta
|
||||||
self.quant_config = vllm_config.quant_config
|
self.quant_config = vllm_config.quant_config
|
||||||
self.prefix = prefix
|
self.prefix = prefix
|
||||||
self.vllm_config = vllm_config
|
self.vllm_config = vllm_config
|
||||||
|
|||||||
Reference in new issue
Block a user