huggingface / huggingface/diffusers
TypeError: UVit2DModel.forward.<locals>.layer_() got an unexpected keyword argument 'encoder_hidden_states'
Open
bug
stale
- Dominant language
- Python
- Stars
- 34.5k
- Forks
- 7.3k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 91
Description
### Describe the bug
When I run the[ amused example](https://github.com/huggingface/diffusers/tree/main/examples/amused), I got this error: TypeError: UVit2DModel.forward..layer_() got an unexpected keyword argument 'encoder_hidden_states'.
Looks like the transformer layer does not have this encore_hidden_state attributes.
### Reproduction
Run the amused example
### Logs
```shell
```
### System Info
newest diffuser GitHub repository
### Who can help?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.