Revise POINTSV15Chat model (#12049)
Co-authored-by: luoyuan.luo <luoyuan.luo@antgroup.com>
This commit is contained in:
@@ -7,12 +7,12 @@ from PIL import Image
|
|||||||
|
|
||||||
from sglang.srt.models.points_v15_chat import POINTSV15ChatModel
|
from sglang.srt.models.points_v15_chat import POINTSV15ChatModel
|
||||||
from sglang.srt.multimodal.processors.qwen_vl import (
|
from sglang.srt.multimodal.processors.qwen_vl import (
|
||||||
Qwen2_5VLImageProcessor,
|
QwenVLImageProcessor,
|
||||||
resize_image_async,
|
resize_image_async,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class POINTSV15ChatProcessor(Qwen2_5VLImageProcessor):
|
class POINTSV15ChatProcessor(QwenVLImageProcessor):
|
||||||
models = [POINTSV15ChatModel]
|
models = [POINTSV15ChatModel]
|
||||||
|
|
||||||
def __init__(self, hf_config, server_args, _processor, *args, **kwargs):
|
def __init__(self, hf_config, server_args, _processor, *args, **kwargs):
|
||||||
|
|||||||
Reference in New Issue
Block a user