Skip to content

Commit 460fe42

Browse files
Shiva ChilukamariShiva Chilukamari
authored andcommitted
Bug Fix
1 parent 95b1c18 commit 460fe42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sam-vit-base/Olive/model_patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def forward(
301301
hidden_states = residual + hidden_states
302302
layernorm_output = self.model.layer_norm2(hidden_states)
303303
hidden_states = hidden_states + self.mlp(layernorm_output)
304-
return hidden_states, attn_weights
304+
return hidden_states
305305

306306

307307
class ModSamModel(nn.Module):

0 commit comments

Comments
 (0)