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:
9
vllm_ascend/models/__init__.py
Normal file
9
vllm_ascend/models/__init__.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from vllm import ModelRegistry
|
||||
|
||||
|
||||
def register_model():
|
||||
from .qwen2_vl import CustomQwen2VLForConditionalGeneration # noqa: F401
|
||||
|
||||
ModelRegistry.register_model(
|
||||
"Qwen2VLForConditionalGeneration",
|
||||
"vllm_ascend.models.qwen2_vl:CustomQwen2VLForConditionalGeneration")
|
||||
Reference in New Issue
Block a user