[Model][VLM] Add LLaVA-Onevision model support (#8486)

Co-authored-by: litianjian <litianjian@bytedance.com>
Co-authored-by: Cyrus Leung <cyrus.tl.leung@gmail.com>
Co-authored-by: Roger Wang <ywang@roblox.com>
Co-authored-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
litianjian
2024-09-22 10:51:44 -07:00
committed by GitHub
co-authored by litianjian Cyrus Leung Roger Wang DarkLight1337
parent ca2b628b3c
commit 5b59532760
10 changed files with 1330 additions and 21 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ class VideoAsset:
return ret
@property
def np_ndarrays(self) -> List[npt.NDArray]:
def np_ndarrays(self) -> npt.NDArray:
video_path = download_video_asset(self.name)
ret = video_to_ndarrays(video_path, self.num_frames)
return ret