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

Update batch size and add timeout #14

Merged
merged 4 commits into from
Mar 26, 2024
Merged

Update batch size and add timeout #14

merged 4 commits into from
Mar 26, 2024

Conversation

baptiste-pasquier
Copy link
Contributor

@baptiste-pasquier baptiste-pasquier commented Mar 26, 2024

This pull request updates the batch size for generating text and image summaries and adds a timeout of 120 seconds for both processes. The batch size is reduced from 50 to 10 for better performance. The generate_text_summaries and generate_image_summaries functions now use the abatch_with_retry function for processing batches with retries on failure.

@baptiste-pasquier baptiste-pasquier changed the base branch from bpi to main March 26, 2024 12:42
@baptiste-pasquier baptiste-pasquier merged commit f413115 into main Mar 26, 2024
3 checks passed
@baptiste-pasquier baptiste-pasquier deleted the fix/llm-config branch March 26, 2024 12:45
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

Successfully merging this pull request may close these issues.

1 participant