Skip to content

Commit afd0cc4

Browse files
return 2
1 parent 3ccf00b commit afd0cc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transformers/models/blt/modeling_blt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ def forward(
750750

751751
if i == 0 or self.config.cross_attn_all_layers:
752752
# Use cross attention to extract info from patch_embeds into hidden_states
753-
cross_attention_output, _, _ = self.cross_attn_layers[i](
753+
cross_attention_output, _ = self.cross_attn_layers[i](
754754
hidden_states=hidden_states,
755755
cross_attention_states=patch_embeds,
756756
attention_mask=cross_mask,

0 commit comments

Comments
 (0)