Skip to content

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

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions