Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to speed up the inference #124

Open
Coronal-Halo opened this issue Mar 8, 2024 · 4 comments
Open

Is there any way to speed up the inference #124

Coronal-Halo opened this issue Mar 8, 2024 · 4 comments

Comments

@Coronal-Halo
Copy link

Is there any way to speed up the inference except lowering the number of frames? Does reducing video resolution speed up the inference?

@cm-xcju
Copy link

cm-xcju commented Mar 21, 2024

I also have the same problem. I used one 4090 and it needs about 3s for only one sample

@Fritskee
Copy link

@Coronal-Halo the videos are internally reduced to 224x224 in dimension, so don't expect that to have a (noticeable) impact.

@cm-xcju 3 seconds for 1 video? That's actually not bad at all, since you have to imagine that you're essentially doing 8 times a LLaVA call, except that it's now batched.

@Coronal-Halo
Copy link
Author

Is there a way to perform batch inference on a batch of videos?

@Fritskee
Copy link

Fritskee commented Apr 3, 2024

Is there a way to perform batch inference on a batch of videos?

If you use the search bar, you can find this issue: #40 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants