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

added individual retrying for failed batches #443

Merged
merged 2 commits into from
Jul 11, 2023

Conversation

Tyrest
Copy link
Contributor

@Tyrest Tyrest commented Jul 11, 2023

If the batch fails, simply splits the batch into the individual prompts and then retries them.

@Tyrest
Copy link
Contributor Author

Tyrest commented Jul 11, 2023

This is currently done synchronously.

@Tyrest
Copy link
Contributor Author

Tyrest commented Jul 11, 2023

#433

@yadavsahil197
Copy link
Contributor

Does it make sense to move the retry logic into a wrapper method within the base model class?

Copy link
Contributor

@yadavsahil197 yadavsahil197 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yadavsahil197 yadavsahil197 merged commit d8f1b15 into main Jul 11, 2023
2 checks passed
@yadavsahil197 yadavsahil197 deleted the retry-remaining-batch-of-prompts-on-failure branch July 11, 2023 21:14
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.

2 participants