Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
MengqingCao committed Sep 27, 2024
1 parent 344cd2b commit 70aebc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/model_executor/models/intern_vit.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def forward(self, x):
v = v.transpose(1, 2)

x = F.scaled_dot_product_attention(q, k, v, scale=self.scale)
x = x.transpose(1, 2).view(B, N, -1)
x = x.transpose(1, 2).contiguous().view(B, N, -1)

x = self.proj(x)
return x
Expand Down

0 comments on commit 70aebc7

Please sign in to comment.