DeepCache icon indicating copy to clipboard operation
DeepCache copied to clipboard

Issue: Colab example doesn't work

Open Barry0121 opened this issue 1 year ago • 1 comments

Hi,

I tried to run the provided Colab notebook, and I encountered the following error when running Stable Diffusion + DeepCache:

ImportError                               Traceback (most recent call last)
[<ipython-input-8-d506b2de9795>](https://localhost:8080/#) in <cell line: 2>()
      1 get_ipython().system('pip install deepcache')
----> 2 from DeepCache import StableDiffusionPipeline as DeepCacheStableDiffusionPipeline

ImportError: cannot import name 'StableDiffusionPipeline' from 'DeepCache' (/content/DeepCache/DeepCache/__init__.py)

I ran !pip install deepcache and restarted the instance, but this didn't fix it. I haven't changed any part of the code. Any fix suggestion for this?

Barry0121 avatar Mar 13 '24 14:03 Barry0121

Hi, @Barry0121

The code in Colab is outdated and I have updated it. Feel free to give it a try and see the results. Thanks for the gentle reminder! 😊

horseee avatar Mar 14 '24 09:03 horseee