File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
vllm/model_executor/models Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ def get_hf_processor(
150
150
min_pixels = min_pixels ,
151
151
max_pixels = max_pixels ,
152
152
size = size ,
153
- use_fast = kwargs .get ("use_fast" )),
153
+ use_fast = kwargs .get ("use_fast" , True )),
154
154
** kwargs ,
155
155
)
156
156
if not hasattr (processor , "audio_token" ):
Original file line number Diff line number Diff line change @@ -798,7 +798,7 @@ def get_hf_processor(
798
798
min_pixels = min_pixels ,
799
799
max_pixels = max_pixels ,
800
800
size = size ,
801
- use_fast = kwargs .get ("use_fast" )),
801
+ use_fast = kwargs .get ("use_fast" , True )),
802
802
** kwargs ,
803
803
)
804
804
Original file line number Diff line number Diff line change @@ -763,7 +763,7 @@ def get_hf_processor(
763
763
min_pixels = min_pixels ,
764
764
max_pixels = max_pixels ,
765
765
size = size ,
766
- use_fast = kwargs .get ("use_fast" )),
766
+ use_fast = kwargs .get ("use_fast" , True )),
767
767
** kwargs ,
768
768
)
769
769
@@ -808,6 +808,7 @@ def get_image_processor(
808
808
size : Optional [dict [str , int ]] = None ,
809
809
** kwargs : object ,
810
810
) -> Qwen2VLImageProcessor :
811
+ kwargs ["use_fast" ] = kwargs .get ("use_fast" , True )
811
812
return cached_image_processor_from_config (
812
813
self .ctx .model_config ,
813
814
** self ._get_image_processor_kwargs (min_pixels = min_pixels ,
You can’t perform that action at this time.
0 commit comments