Skip to content

Commit

Permalink
revert a change
Browse files Browse the repository at this point in the history
  • Loading branch information
fsx950223 committed Jun 25, 2023
1 parent a4b1e38 commit cede684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/aitemplate/frontend/nn/attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def attention(self, x):
)
return out

def forward(self, *args, seqlens=None):
def forward(self, *args):
"""forward pass for calling mha module"""
assert len(args) >= 1
x = args[0]
Expand Down

0 comments on commit cede684

Please sign in to comment.