mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-28 08:47:07 +08:00
[Bugfix] Fix the linter (#19826)
Signed-off-by: Lu Fang <lufang@fb.com>
This commit is contained in:
parent
799397ee4f
commit
b1098b4072
@ -146,11 +146,11 @@ class Qwen2_5OmniThinkerProcessingInfo(Qwen2AudioProcessingInfo,
|
|||||||
kwargs["fps"] = fps
|
kwargs["fps"] = fps
|
||||||
processor = self.ctx.get_hf_processor(
|
processor = self.ctx.get_hf_processor(
|
||||||
Qwen2_5OmniProcessor,
|
Qwen2_5OmniProcessor,
|
||||||
image_processor=self.get_image_processor(
|
image_processor=self.get_image_processor(min_pixels=min_pixels,
|
||||||
min_pixels=min_pixels,
|
max_pixels=max_pixels,
|
||||||
max_pixels=max_pixels,
|
size=size,
|
||||||
size=size,
|
use_fast=kwargs.get(
|
||||||
use_fast=kwargs.get("use_fast", True)),
|
"use_fast", True)),
|
||||||
**kwargs,
|
**kwargs,
|
||||||
)
|
)
|
||||||
if not hasattr(processor, "audio_token"):
|
if not hasattr(processor, "audio_token"):
|
||||||
|
|||||||
@ -794,11 +794,11 @@ class Qwen2_5_VLProcessingInfo(Qwen2VLProcessingInfo):
|
|||||||
|
|
||||||
return self.ctx.get_hf_processor(
|
return self.ctx.get_hf_processor(
|
||||||
Qwen2_5_VLProcessor,
|
Qwen2_5_VLProcessor,
|
||||||
image_processor=self.get_image_processor(
|
image_processor=self.get_image_processor(min_pixels=min_pixels,
|
||||||
min_pixels=min_pixels,
|
max_pixels=max_pixels,
|
||||||
max_pixels=max_pixels,
|
size=size,
|
||||||
size=size,
|
use_fast=kwargs.get(
|
||||||
use_fast=kwargs.get("use_fast", True)),
|
"use_fast", True)),
|
||||||
**kwargs,
|
**kwargs,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -759,11 +759,11 @@ class Qwen2VLProcessingInfo(BaseProcessingInfo):
|
|||||||
) -> Qwen2VLProcessor:
|
) -> Qwen2VLProcessor:
|
||||||
return self.ctx.get_hf_processor(
|
return self.ctx.get_hf_processor(
|
||||||
Qwen2VLProcessor,
|
Qwen2VLProcessor,
|
||||||
image_processor=self.get_image_processor(
|
image_processor=self.get_image_processor(min_pixels=min_pixels,
|
||||||
min_pixels=min_pixels,
|
max_pixels=max_pixels,
|
||||||
max_pixels=max_pixels,
|
size=size,
|
||||||
size=size,
|
use_fast=kwargs.get(
|
||||||
use_fast=kwargs.get("use_fast", True)),
|
"use_fast", True)),
|
||||||
**kwargs,
|
**kwargs,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user