Skip to content

ImportError: cannot import name 'cached_download' from 'huggingface_hub' #39

@ChlaegerIO

Description

@ChlaegerIO

When running python pipeline_paint3d_stage1.py with arguments like in the readme. I had a problem with from diffusers import StableDiffusionControlNetPipeline, ControlNetModel in file controlnet\diffusers_cnet_txt2img.py.

from huggingface_hub import cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub'

The solution was to just delete cached_download as written here:
easydiffusion/easydiffusion#1851 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions