huggingface / huggingface/diffusers

TypeError: UVit2DModel.forward.<locals>.layer_() got an unexpected keyword argument 'encoder_hidden_states'

Open
#11,214 5 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.