File tree Expand file tree Collapse file tree 3 files changed +15
-9
lines changed
vllm/model_executor/models Expand file tree Collapse file tree 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(
145145 kwargs ["fps" ] = fps
146146 processor = self .ctx .get_hf_processor (
147147 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" )),
151153 ** kwargs ,
152154 )
153155 if not hasattr (processor , "audio_token" ):
Original file line number Diff line number Diff line change @@ -758,9 +758,11 @@ def get_hf_processor(
758758
759759 return self .ctx .get_hf_processor (
760760 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" )),
764766 ** kwargs ,
765767 )
766768
Original file line number Diff line number Diff line change @@ -759,9 +759,11 @@ def get_hf_processor(
759759 ) -> Qwen2VLProcessor :
760760 return self .ctx .get_hf_processor (
761761 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" )),
765767 ** kwargs ,
766768 )
767769
You can’t perform that action at this time.
0 commit comments