bridgetower model RuntimeError: The size of tensor a (865) must match the size of tensor b (325) at non-singleton dimension 1
[/usr/local/lib/python3.9/dist-packages/transformers/models/bridgetower/modeling_bridgetower.py](https://localhost:8080/#) in forward(self, pixel_values)
    296         class_embeds = self.class_embedding.expand(batch_size, 1, -1)
    297         embeddings = torch.cat([class_embeds, patch_embeds], dim=1)
--> 298         embeddings = embeddings + self.position_embedding(self.position_ids)
    299         return embeddings
    300 

RuntimeError: The size of tensor a (865) must match the size of tensor b (325) at non-singleton dimension 1        when I have set max_len =128.
@abhiwand @tileintel 
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) are likely to be ignored.