-
-
Notifications
You must be signed in to change notification settings - Fork 252
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
Custom batch size for embed-multi? #273
Comments
This is a good idea, thanks. |
Here's how batch sizing works at the moment. On Lines 21 to 22 in b6efc95
Then later in Lines 183 to 189 in b6efc95
So at the Python layer you can change it by assigning a new value to It should also be an optional argument to the Lines 1153 to 1207 in b6efc95
|
I'm going to add a |
I'll actually drop that |
Amazing, thank you! |
Thank you for your great work on this!
I tried embedding a folder of pictures on windows with the new llm-clip plugin and embed-multi.
This works fine for a smaller amount of pictures. But when I try to embed ~250 pictures, the progress bar goes to about a third relatively quickly, but then it gets stuck and only the memory usage increases.
Would it be possible to expose an option for a custom batch size for embed-multi to prevent this?
The text was updated successfully, but these errors were encountered: