A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 12, 18:30 UTC
[Minor][Clean] Remove the legacy assertion in video (#29150)
Signed-off-by: gcanlin <canlinguosdu@gmail.com>
Canlin Guo committed
Nov 21, 2025 at 15:52 UTC
7d6da483b0a1177744be4c30eb18beb6e98f53a3
1 file changed
-5
vllm/multimodal/video.py
-5
@@ -113,11 +113,6 @@ class VideoLoader:
113
valid_num_frames,
114
)
115
116
- assert i == valid_num_frames, (
117
- f"Expected reading {valid_num_frames} frames, "
118
- f"but only loaded {i} frames from video."
119
- )
120
-
116
return frames[:valid_num_frames], valid_num_frames, valid_frame_indices
117
118