Skip to content

CharacterGen will not download models #442

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

Open
encoded-evolution opened this issue Jan 26, 2025 · 3 comments
Open

CharacterGen will not download models #442

encoded-evolution opened this issue Jan 26, 2025 · 3 comments

Comments

@encoded-evolution
Copy link

using Comfy30_WinPortable, Win 10, Nvidia 4080

When trying to run any of the workflows for CharacterGen, get this error when trying to download the model using the force_download = true:
It begins to download, and files are in fact being downloaded. However, then:

!!! Exception during processing !!! [Errno 2] No such file or directory: 'E:\\SD\\NVIDIA\\ComfyUI\\Trellis-Hunyan\\Comfy3D_WinPortable\\ComfyUI\\custom_nodes\\ComfyUI-3D-Pack\\Checkpoints\\CharacterGen\\.cache\\huggingface\\download\\2D_Stage\\models\\checkpoint\\pytorch_model.bin.78c23c5e22d9c288d71414ec9604430b1298e652bb596ca2ff594792c1be4286.incomplete'

And download fails.

I have tried cloning the model repo locally and switching force_download to false. That does not work either, and produces this error:

[Comfy3D] Load CharacterGen MVDiffusion Model
_get_model_file() got an unexpected keyword argument 'resume_download'

What's the next step to fix this?

@GabrielR
Copy link

Same issue here. Are there instructions on how to manually download the models and where to put them?

@GabrielR
Copy link

This is because 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.

A reported workaround is to downgrade the diffusers to 0.29.1, however I have not tested this myself.

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

I'll create a new issue so I can be flagged and tracked as a bug.

@encoded-evolution
Copy link
Author

@GabrielR thank you for raising this. I have posted a link to this thread from a related issue I posted on the Comfy 3D Pack repo issues. cc: @MrForExample

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

2 participants