riffusion/riffusion-app-hobby

[Colab] ImportError: cannot import name 'CompVisVDenoiser' from 'k_diffusion.external'

GeorvityLabs opened this issue · 4 comments

Getting this error when trying to run the notebook locally.
any suggestions on how to fix this guys.

the error is :

ImportError: cannot import name 'CompVisVDenoiser' from 'k_diffusion.external'

@AK391 any ideas, or do you know if 0xjasper has a github handle? I haven't looked into the notebook at all

AK391 commented

Looks like a diffusers version issue, I have not tried running colab notebooks locally as colab provides gpu. Can you try upgrading to the latest version of diffusers?

hi @AK391 ,

yes , seems like a diffusers issue.
the fix was to downgrade to an older version.
this issue exists with the most recent diffusers update.

There is no k_diffusion.external module in the older version of k-diffusion, upgrade to the newest version pip install -U k-diffusion can solver the problem