"docs/vscode:/vscode.git/clone" did not exist on "8ec6b873b24257a8d6c67df9213566fbbc738ebc"
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):
def forward(
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
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