register qwen2_vl to rewrite qwen2_vl forwad (#241)

Add qwen2-vl ascend impletation.

---------
Signed-off-by: zouyida <zouyida@huawei.com>
This commit is contained in:
zouyida2002
2025-03-07 15:41:47 +08:00
committed by GitHub
parent 35cb7b5234
commit faf8cd89cb
4 changed files with 188 additions and 1 deletions

View File

@@ -19,3 +19,8 @@
def register():
"""Register the NPU platform."""
return "vllm_ascend.platform.NPUPlatform"
def register_model():
from .models import register_model
register_model()