Skip to content

Commit 7d6da48

Browse files
authored
[Minor][Clean] Remove the legacy assertion in video (#29150)
Signed-off-by: gcanlin <[email protected]>
1 parent e4c3182 commit 7d6da48

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

vllm/multimodal/video.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,6 @@ def _read_frames(
113113
valid_num_frames,
114114
)
115115

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-
121116
return frames[:valid_num_frames], valid_num_frames, valid_frame_indices
122117

123118

0 commit comments

Comments
 (0)