mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-07-17 06:47:10 +08:00
[Minor][Clean] Remove the legacy assertion in video (#29150)
Signed-off-by: gcanlin <canlinguosdu@gmail.com>
This commit is contained in:
parent
e4c3182c68
commit
7d6da483b0
@ -113,11 +113,6 @@ class VideoLoader:
|
|||||||
valid_num_frames,
|
valid_num_frames,
|
||||||
)
|
)
|
||||||
|
|
||||||
assert i == valid_num_frames, (
|
|
||||||
f"Expected reading {valid_num_frames} frames, "
|
|
||||||
f"but only loaded {i} frames from video."
|
|
||||||
)
|
|
||||||
|
|
||||||
return frames[:valid_num_frames], valid_num_frames, valid_frame_indices
|
return frames[:valid_num_frames], valid_num_frames, valid_frame_indices
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user