[VLM] Replace decord with torchcodec for video decoding (#20055)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: BakerBunker <17872844+BakerBunker@users.noreply.github.com>
This commit is contained in:
Xinyuan Tong
2026-03-09 19:23:49 +08:00
committed by GitHub
co-authored by Claude Opus 4.6 BakerBunker
parent 2d6eb7dff0
commit 4a757990a1
17 changed files with 234 additions and 144 deletions
+2 -1
View File
@@ -16,7 +16,8 @@ class DummyVideo:
def __len__(self):
return self._frames
def get_avg_fps(self):
@property
def avg_fps(self):
return self._fps