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

@@ -99,4 +99,8 @@ setup(
python_requires=">=3.9",
install_requires=get_requirements(),
extras_require={},
entry_points={'vllm.platform_plugins': ["ascend = vllm_ascend:register"]})
entry_points={
'vllm.platform_plugins': ["ascend = vllm_ascend:register"],
'vllm.general_plugins':
["ascend_enhanced_model = vllm_ascend:register_model"]
})