question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ImportError: cannot import name 'PIL_INTERPOLATION' from 'diffusers.utils'

See original GitHub issue

Describe the bug

Hour ago been able to generate images. Now, I see this string in log.

Reproduction

Basically, try to generate an image, like, NOW

Logs

.cache\huggingface\modules\diffusers_modules\git\lpw_stable_d │
│ iffusion.py:15 in <module>                                                  │
│                                                                             │
│     12 from diffusers.pipelines.stable_diffusion import StableDiffusionPipe │
│     13 from diffusers.pipelines.stable_diffusion.safety_checker import Stab │
│     14 from diffusers.schedulers import DDIMScheduler, LMSDiscreteScheduler │
│ >   15 from diffusers.utils import PIL_INTERPOLATION, deprecate, is_acceler │
│     16 from transformers import CLIPFeatureExtractor, CLIPTextModel, CLIPTo │
│     17                                                                      │
│     18                                                                      │

\lib\site-packages\diffusers\utils\__init__.py


### System Info

Diffusers: 0.7.2
Windows 10

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
patrickvonplatencommented, Nov 16, 2022

Reverting the change now for all community pipelines sorry!

1reaction
plambecommented, Nov 16, 2022

It is fixed and thanks for the rapid reaction!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ImportError: cannot import name 'PipelineRealESRGAN' from ...
Whenever I added upsample=True in walk(), I got: ImportError: cannot import name 'PipelineRealESRGAN' from 'stable_diffusion_videos' (/ho...
Read more >
hakurei/waifu-diffusion · i got error '' cannot import name ...
i got error '' cannot import name 'CLIPVisionModelWithProjection' from 'transformers '' #57 ... i tried to construct it in my drive and it...
Read more >
Python ImportError: cannot import name utils - Stack Overflow
We may see the unable to import utils error in multiple contexts. I got this error message when I was migrating scripts from...
Read more >
cannot import name 'StableDiffusionPipeline' from 'diffusers'
ImportError : Traceback (most recent call last) Input In [96],. in <cell line: 3>(). 1 import torch. 2 from torch import autocast.
Read more >
1251279 – [abrt] calibre: ui.py:11:<module> - Red Hat Bugzilla
... ui.py:11:<module>:ImportError: cannot import name QWebView ... main in /usr/lib64/calibre/calibre/utils/ipc/worker.py:192 #5 <module> in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found