File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed 
vllm/model_executor/models Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 8282logger  =  init_logger (__name__ )
8383
8484# For profile run 
85- _MAX_FRAMES_PER_VIDEO  =  600 
85+ _MAX_FRAMES_PER_VIDEO  =  32 
8686
8787# === Vision Inputs === # 
8888
Original file line number Diff line number Diff line change @@ -715,6 +715,18 @@ def _get_dummy_videos(
715715            video_items .append (video_item )
716716        return  video_items 
717717
718+     def  get_dummy_processor_inputs (self , seq_len , mm_counts ):
719+         processor_inputs  =  super ().get_dummy_processor_inputs (
720+             seq_len , mm_counts )
721+         # HACK(Isotr0py): We set do_resize to False here to reuse Qwen2-VL's 
722+         # profiling logic, which will be problematic for configurable mm 
723+         # profiling. 
724+         # TODO(Isotr0py): Switch to the implementation in 
725+         # https://github.com/vllm-project/vllm/pull/25557 
726+         # after supporting configurable mm profiling. 
727+         processor_inputs .hf_processor_mm_kwargs  =  {"do_resize" : False }
728+         return  processor_inputs 
729+ 
718730
719731class  Qwen3VLMultiModalProcessor (BaseMultiModalProcessor [Qwen3VLProcessingInfo ]
720732                                 ):
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments