-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
llava: batch inference #4378
Comments
Afaik FSSRepo was working on offloading CLIP properly to GPU, there is a PR for that already but it was missing some ggml cuda upgrades (broadcasting features I think). Currently it runs on CPU only which is a massive slowdown, I don't think parallel processing would help in any way on CPU. But of course on GPU it's a different story. |
So I guess I'll have to wait until this PR is merged before considering clip batching functionality, as I'm not very familiar with ggml structures. I'm going to keep an eye on it, thanks for you reply! |
We can track the PR ggerganov/llama.cpp/pull/4205. |
Is there any updates for this feature? |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Hello!
I'm using llava with the server and I'm wondering if anyone is working on batch inference by batching llava's clip or not. If not, I would be happy to contribute as this feature could be very useful to speed up inference time for llava.
As i'm new in this wonderful repo, I would also be grateful if you could guide me for the first steps (what file do I have to edit)
Thanks you in advance!
The text was updated successfully, but these errors were encountered: