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

EHN: auto retry download on network errors #405

Merged
merged 7 commits into from
Aug 31, 2023

Conversation

jiayini1119
Copy link
Contributor

@jiayini1119 jiayini1119 commented Aug 28, 2023

Resolves #302.

@XprobeBot XprobeBot added this to the v0.2.1 milestone Aug 28, 2023
@jiayini1119 jiayini1119 changed the title EHN: Exception on Network Errors EHN: Exception on Network Errors for Model Download Aug 28, 2023
@UranusSeven
Copy link
Contributor

We should retry on LocalEntryNotFoundError.

Catch the exception above and download again with same parameters should work.

@jiayini1119 jiayini1119 changed the title EHN: Exception on Network Errors for Model Download EHN: auto retry download on network errors Aug 28, 2023
xinference/model/llm/llm_family.py Outdated Show resolved Hide resolved
xinference/model/llm/llm_family.py Outdated Show resolved Hide resolved
xinference/model/llm/llm_family.py Outdated Show resolved Hide resolved
xinference/model/llm/llm_family.py Outdated Show resolved Hide resolved
xinference/model/llm/llm_family.py Outdated Show resolved Hide resolved
xinference/model/llm/llm_family.py Outdated Show resolved Hide resolved
xinference/model/llm/llm_family.py Outdated Show resolved Hide resolved
xinference/model/llm/llm_family.py Outdated Show resolved Hide resolved
xinference/model/llm/llm_family.py Outdated Show resolved Hide resolved
xinference/model/llm/llm_family.py Outdated Show resolved Hide resolved
xinference/model/llm/llm_family.py Outdated Show resolved Hide resolved
xinference/model/llm/llm_family.py Outdated Show resolved Hide resolved
@UranusSeven UranusSeven merged commit ac57148 into xorbitsai:main Aug 31, 2023
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.

ENH: auto retry download on network errors
3 participants