You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the newest version, whenever you run: from diffusers.utils import randn_tensor
you will get the error: importError: cannot import name 'randn_tensor' from 'diffusers.utils'
But you can fix this by adding "from .torch_utils import randn_tensor" to your pythonxx/site-packages/diffusers/utils/init.py" after installing the diffusers....
Reproduction
run "from diffusers.utils import randn_tensor" after installing the latest version