Skip to content

Commit

Permalink
Revert "fea(): fixed another pytest for gptj"
Browse files Browse the repository at this point in the history
This reverts commit 21fdeae.
  • Loading branch information
imangohari1 committed Aug 8, 2024
1 parent 21fdeae commit fc9ddcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions optimum/habana/transformers/models/gptj/modeling_gptj.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,12 @@ def forward(
position_ids: Optional[torch.LongTensor] = None,
head_mask: Optional[torch.FloatTensor] = None,
use_cache: Optional[bool] = False,
sin: Optional[torch.Tensor] = None,
cos: Optional[torch.Tensor] = None,
output_attentions: Optional[bool] = False,
token_idx: Optional[torch.Tensor] = None,
reuse_cache: Optional[bool] = False,
cache_idx: Optional[int] = None,
sin: Optional[torch.Tensor] = None,
cos: Optional[torch.Tensor] = None,
) -> Union[
Tuple[torch.Tensor, Tuple[torch.Tensor]],
Optional[Tuple[torch.Tensor, Tuple[torch.Tensor], Tuple[torch.Tensor, ...]]],
Expand Down

0 comments on commit fc9ddcf

Please sign in to comment.