StreamDiffusion icon indicating copy to clipboard operation
StreamDiffusion copied to clipboard

hugging_face_hub

Open gschian0 opened this issue 1 year ago • 4 comments

I always run into a hugging face hub error... can you help me figure out why and what is wrong with huggingface hub and docker?

gschian0 avatar Dec 04 '24 18:12 gschian0

Have you tried downgrading to huggingface-hub==0.25.2?

allankouidri avatar Dec 09 '24 14:12 allankouidri

When building realtime-img2img demo I added the following two lines to requirements.txt

numpy==1.26.4 huggingface_hub==0.25.2

Prevents numpy 2 and latest version of huggingface_hub from being pulled in automatically as dependencies

JohanAR avatar Dec 16 '24 20:12 JohanAR

I submitted a PR that should fix this - https://github.com/cumulo-autumn/StreamDiffusion/pull/184 . It's a conservative change; it just extends the valid diffusers version range from ==0.24.0 to 0.24.0 - 0.29.0. (0.29.0 is compatible with newer versions of huggingface_hub)

doctorjei avatar Jan 11 '25 14:01 doctorjei

When building realtime-img2img demo I added the following two lines to requirements.txt

numpy==1.26.4 huggingface_hub==0.25.2

Prevents numpy 2 and latest version of huggingface_hub from being pulled in automatically as dependencies

It worked for me

shllgtca avatar Mar 28 '25 16:03 shllgtca