facebookresearch / xformers

Hackable and optimized Transformers building blocks, supporting a composable construction.
https://facebookresearch.github.io/xformers/
Other
8.65k stars 614 forks source link

ValueError: not enough values to unpack (expected 2, got 1) #1154

Closed algorithmconquer closed 3 hours ago

algorithmconquer commented 3 hours ago

The error is : python3.10/site-packages/diffusers/models/transformers/transformer_flux.py", line 180, in forward attn_output, context_attn_output = self.attn( ValueError: not enough values to unpack (expected 2, got 1)...

diffusers==0.32.0.dev0 torch==2.5.1 xformers==0.0.28.post3 transformers==4.46.2

lw commented 3 hours ago

The error seems to come from diffusers, not from xFormers.