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

🐛 Fix ImportError: cannot import name 'randn_tensor' #11

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kadirnar
Copy link

@kadirnar kadirnar commented Feb 18, 2024

Error Messages:

ImportError: cannot import name 'randn_tensor'
ImportError: cannot import name 'PositionNet

```bash
ImportError: cannot import name 'PositionNet' from 'diffusers.models.embeddings'
```
@vladmandic
Copy link

this should also include update to requirements.txt as previous imports are ok for old requirements (diffusers==0.26 from 08/2023). suggested change implies that you're using newer diffusers.

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

Successfully merging this pull request may close these issues.

2 participants