File tree 3 files changed +15
-9
lines changed
vllm/model_executor/models
3 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -145,9 +145,11 @@ def get_hf_processor(
145
145
kwargs ["fps" ] = fps
146
146
processor = self .ctx .get_hf_processor (
147
147
Qwen2_5OmniProcessor ,
148
- image_processor = self .get_image_processor (min_pixels = min_pixels ,
149
- max_pixels = max_pixels ,
150
- size = size ),
148
+ image_processor = self .get_image_processor (
149
+ min_pixels = min_pixels ,
150
+ max_pixels = max_pixels ,
151
+ size = size ,
152
+ use_fast = kwargs .get ("use_fast" )),
151
153
** kwargs ,
152
154
)
153
155
if not hasattr (processor , "audio_token" ):
Original file line number Diff line number Diff line change @@ -758,9 +758,11 @@ def get_hf_processor(
758
758
759
759
return self .ctx .get_hf_processor (
760
760
Qwen2_5_VLProcessor ,
761
- image_processor = self .get_image_processor (min_pixels = min_pixels ,
762
- max_pixels = max_pixels ,
763
- size = size ),
761
+ image_processor = self .get_image_processor (
762
+ min_pixels = min_pixels ,
763
+ max_pixels = max_pixels ,
764
+ size = size ,
765
+ use_fast = kwargs .get ("use_fast" )),
764
766
** kwargs ,
765
767
)
766
768
Original file line number Diff line number Diff line change @@ -759,9 +759,11 @@ def get_hf_processor(
759
759
) -> Qwen2VLProcessor :
760
760
return self .ctx .get_hf_processor (
761
761
Qwen2VLProcessor ,
762
- image_processor = self .get_image_processor (min_pixels = min_pixels ,
763
- max_pixels = max_pixels ,
764
- size = size ),
762
+ image_processor = self .get_image_processor (
763
+ min_pixels = min_pixels ,
764
+ max_pixels = max_pixels ,
765
+ size = size ,
766
+ use_fast = kwargs .get ("use_fast" )),
765
767
** kwargs ,
766
768
)
767
769
You can’t perform that action at this time.
0 commit comments