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

[DO NOT MERGE YET] Reintroduce exponential backoff retry strategy for LM calls #1728

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dbczumar
Copy link
Collaborator

Reintroduce exponential backoff retry strategy for LM calls

Signed-off-by: dbczumar <[email protected]>
Signed-off-by: dbczumar <[email protected]>
joblib~=1.3
litellm<=1.49.1
json-repair
litellm<=1.51.3
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the only material change to this file. Everything else is linting

Copy link
Collaborator

Choose a reason for hiding this comment

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

We're saying anything up to 1.51.3?

@dbczumar dbczumar changed the title Reintroduce exponential backoff retry strategy for LM calls [DO NOT MERGE YET] Reintroduce exponential backoff retry strategy for LM calls Oct 30, 2024
@dbczumar dbczumar requested a review from okhat October 30, 2024 23:31
**kwargs,
)


def _get_litellm_retry_strategy_kwargs() -> Dict[str, str]:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I fear this adds complexity that future maintainers of this file will not fully appreciate.

Maybe we just wait a bit and then just require recent litellm, i.e. >= 1.51.3?

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