File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
vllm/model_executor/models Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1085,7 +1085,7 @@ steps:
10851085 commands :
10861086 - bash weight_loading/run_model_weight_loading_test.sh -c weight_loading/models-large.txt
10871087
1088- - label : NixlConnector P/D accuracy tests (Distributed) # 30min
1088+ - label : NixlConnector PD accuracy tests (Distributed) # 30min
10891089 timeout_in_minutes : 30
10901090 working_dir : " /vllm-workspace/tests"
10911091 num_gpus : 4
Original file line number Diff line number Diff line change @@ -735,9 +735,9 @@ def _get_video_second_idx(
735735 if do_sample_frames :
736736 # here video_fps is the fps of the sampled video, and
737737 # metadata["fps"] refers to the fps of the original video.
738- video_fps = sampled_fps if sampled_fps else video_processor .fps
738+ sampled_fps = sampled_fps if sampled_fps else video_processor .fps
739739 total_num_frames = metadata ["total_num_frames" ]
740- num_frames = int (total_num_frames / metadata ["fps" ] * video_fps )
740+ num_frames = int (total_num_frames / metadata ["fps" ] * sampled_fps )
741741 num_frames = min (
742742 min (
743743 max (num_frames , video_processor .min_frames ),
You can’t perform that action at this time.
0 commit comments