You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a same error (unsupported operand type(s) for +: 'int' and 'NoneType') when trying to use the Flux dev transformer and fixed it by changing the aggregation (torchinfo 1.8.0, torch 2.4.1, cuda 12.1, python 3.10):
My model requires the following inputs in the forward method:
However, I only want to test the case when query_embeds, encoder_hidden_states, encoder_attention_mask, and return_dict are set to specific values:
To do this, I used the following statement:
However, I received an error message:
How to solve this case?
The text was updated successfully, but these errors were encountered: