ComfyUI-3D-Pack icon indicating copy to clipboard operation
ComfyUI-3D-Pack copied to clipboard

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

Open GabrielR opened this issue 10 months ago • 0 comments

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: https://github.com/huggingface/huggingface_hub/commit/4df59b4ed5d46dab2db58af4901b1a0a40dcfc6e

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 avatar Feb 19 '25 22:02 GabrielR