Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error colab #2

Open
willy1322 opened this issue Mar 23, 2024 · 2 comments
Open

error colab #2

willy1322 opened this issue Mar 23, 2024 · 2 comments

Comments

@willy1322
Copy link

got this error in colab (ModuleNotFoundError: No module named 'diffusers.models.vae')

@willy1322
Copy link
Author

i have reached to the developer of the main repo 'https://github.com/ArcherFMY/SD-T2I-360PanoImage' and he updated the repo to diffusers==0.27.2 (latest, 2024-03-25) but i am still getting the same error. is there anything needs to be updated in colab ?

@willy1322
Copy link
Author

The developer suggests updating the import paths due to changes in the diffusers library. Specifically, replace:

  • from diffusers.models.vae import DecoderOutput with from diffusers.models.autoencoders.vae import DecoderOutput,
  • from diffusers.utils import is_compiled_module, randn_tensor with from diffusers.utils.torch_utils import is_compiled_module, randn_tensor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant