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

BUG: resume_download depreciated and removed from Huggingface_Hub. Needs to be removed from CharacterGen scripts #453

Open
GabrielR opened this issue Feb 19, 2025 · 0 comments

Comments

@GabrielR
Copy link

GabrielR commented Feb 19, 2025

The CharacterGen workflows all fail with this error:
TypeError: _get_model_file() got an unexpected keyword argument 'resume_download'
resume_download was depreciated, and finally removed, from huggingface_hub. It now auto resumes without prompting. resume_download needs to be removed from the each of the CharacterGen python scripts for it to work again.

This is the commit where resume_download was removed:
huggingface/huggingface_hub@4df59b4

Search this commit for resume_download and you can see it was removed globally.

A simple workaround is to find every instance of the _get_model_file() function call and remove resume_download. This worked in my own tests, but is not complete.

@GabrielR GabrielR changed the title BUG: resume_download depreciated and removed from Huggingface_Hub. Need to be removed from CharacterGen scripts BUG: resume_download depreciated and removed from Huggingface_Hub. Needs to be removed from CharacterGen scripts Feb 19, 2025
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

No branches or pull requests

1 participant