Broadcasting error if "num_return_sequences" in transformers pipeline is greater than 1

#29
by OSalem99 - opened

I came across the following error once I increase the number of "num_return_sequences" to any value greater then 1. Any idea?
"RuntimeError: shape mismatch: value tensor of shape [32, 8, 612, 256] cannot be broadcast to indexing result of shape [16, 8, 612, 256]"

Sign up or log in to comment