Skip to content

Commit 9bd6fdc

Browse files
committed
add patch for rope
Signed-off-by: shen-shanshan <[email protected]>
1 parent 3e16d66 commit 9bd6fdc

File tree

5 files changed

+358
-16
lines changed

5 files changed

+358
-16
lines changed

vllm_ascend/models/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ def register_model():
88

99
ModelRegistry.register_model(
1010
"Qwen3VLMoeForConditionalGeneration",
11-
"vllm_ascend.models.qwen2_5_vl_without_padding:AscendQwen3VLMoeForConditionalGeneration"
12-
)
11+
"vllm_ascend.models.qwen3_vl:AscendQwen3VLMoeForConditionalGeneration")
1312

1413
ModelRegistry.register_model(
1514
"Qwen3VLForConditionalGeneration",
16-
"vllm_ascend.models.qwen2_5_vl_without_padding:AscendQwen3VLForConditionalGeneration"
17-
)
15+
"vllm_ascend.models.qwen3_vl:AscendQwen3VLForConditionalGeneration")
1816

1917
# There is no PanguProMoEForCausalLM in vLLM, so we should register it before vLLM config initialization
2018
# to make sure the model can be loaded correctly. This register step can be removed once vLLM support PanguProMoEForCausalLM.
File renamed without changes.

vllm_ascend/patch/worker/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@
2828
import vllm_ascend.patch.worker.patch_multimodal_merge # noqa
2929
import vllm_ascend.patch.worker.patch_minicpm # noqa
3030
import vllm_ascend.patch.worker.patch_qwen2_5_vl # noqa
31+
import vllm_ascend.patch.worker.patch_rope # noqa

0 commit comments

Comments
 (0)