Skip to content

Add optional resume_download argument to help download large models#130

Open
Rexhaif wants to merge 2 commits into
ai-forever:masterfrom
Rexhaif:master
Open

Add optional resume_download argument to help download large models#130
Rexhaif wants to merge 2 commits into
ai-forever:masterfrom
Rexhaif:master

Conversation

@Rexhaif

@Rexhaif Rexhaif commented Aug 15, 2022

Copy link
Copy Markdown

It's kinda pain to download large models with unstable network connection.
For instance, i've started seeing this type of error (see screenshot). It breaks download process and you have to start again from zero bytes downloaded.

However, cached_download(..) function in huggingface_hub has resume_download argument that can be used to restart download without loosing progress. See this line. So i think it would be helpful to add it as optional argument(defaults to False) to the get_rudalle_model(..) so users can turn it on if they have unstable internet.

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