"examples/vscode:/vscode.git/clone" did not exist on "fdd003d8e2287e4dcdfc14a7d2fc9444e55c1904"
Unverified Commit a4ea423d authored by Casper's avatar Casper Committed by GitHub
Browse files

Merge pull request #88 from casper-hansen/fix_padding_mask

Fix unexpected keyword
parents 3fa74007 d016c513
...@@ -146,7 +146,8 @@ class QuantAttentionFused(nn.Module): ...@@ -146,7 +146,8 @@ class QuantAttentionFused(nn.Module):
def forward( def forward(
self, self,
hidden_states:torch.Tensor, past_key_value=None, attention_mask=None, position_ids=None, output_attentions=False, use_cache=False hidden_states:torch.Tensor, past_key_value=None, attention_mask=None, position_ids=None,
output_attentions=False, use_cache=False, *args, **kwargs
): ):
bsz, seqlen, _ = hidden_states.shape bsz, seqlen, _ = hidden_states.shape
if bsz != self.cache_batch_size: if bsz != self.cache_batch_size:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment