Skip to content

Commit

Permalink
Fix typo in BetterTransformer CLIP (huggingface#1468)
Browse files Browse the repository at this point in the history
fix typo clip bt
  • Loading branch information
fxmarty authored Oct 19, 2023
1 parent 85e6fff commit 15b8d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/bettertransformer/models/encoder_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1833,7 +1833,7 @@ def forward(self, hidden_states, attention_mask, causal_attention_mask, output_a
attention_mask,
)
else:
NotImplementedError(
raise NotImplementedError(
"Training and Autocast are not implemented for BetterTransformer + CLIP. Please open an issue."
)

Expand Down

0 comments on commit 15b8d1e

Please sign in to comment.