Skip to content

Commit

Permalink
Fix typo with softcapping
Browse files Browse the repository at this point in the history
  • Loading branch information
tridao committed Jul 10, 2024
1 parent 3d41db3 commit 72e27c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flash_attn/flash_attn_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ def flash_attn_qkvpacked_func(
softmax_scale,
causal,
window_size,
softcapping,
softcap,
alibi_slopes,
deterministic,
return_attn_probs,
Expand Down Expand Up @@ -1270,4 +1270,4 @@ def flash_attn_with_kvcache(
rotary_interleaved,
num_splits,
)
return (out, softmax_lse) if return_softmax_lse else out
return (out, softmax_lse) if return_softmax_lse else out

0 comments on commit 72e27c6

Please sign in to comment.