huggingface / huggingface/diffusers

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

Aperta
#11,214 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug stale
Lingua principale
Python
Stelle
34.5k
Fork
7.3k
Merge medio
3g 3h
PR unite (30g)
91

Descrizione

### 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_

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by running the examples/amused example and reproduce the TypeError from UVit2DModel.forward. Inspect the transformer layer call and its handling of encoder_hidden_states; done means the example runs without this unexpected-keyword error.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python, pytorch
Ambito
machine-learning
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.