Skip to content

Commit

Permalink
Fix unmask_unattended_patched signature (#1963)
Browse files Browse the repository at this point in the history
* fix

* style
  • Loading branch information
fxmarty authored Jul 17, 2024
1 parent d9bd7c3 commit ee07257
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion optimum/exporters/onnx/model_patcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@ def __init__(


def _unmask_unattended_patched(
expanded_mask: torch.Tensor, attention_mask: torch.Tensor, unmasked_value: Union[bool, float]
expanded_mask: torch.Tensor,
min_dtype: float,
):
return expanded_mask

Expand Down

0 comments on commit ee07257

Please sign in to comment.