Skip to content

Commit

Permalink
Merge pull request Dao-AILab#105 from jamaliki/patch-1
Browse files Browse the repository at this point in the history
Change default dropout value in documentation
  • Loading branch information
tridao authored Jan 16, 2023
2 parents ef085cf + 41cb909 commit 2ec7d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flash_attn/flash_attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class FlashAttention(nn.Module):
(default: 1/sqrt(d_keys) where d_keys is computed at
runtime)
attention_dropout: The dropout rate to apply to the attention
(default: 0.1)
(default: 0.0)
"""
def __init__(self, softmax_scale=None, attention_dropout=0.0, device=None, dtype=None):
super().__init__()
Expand Down

0 comments on commit 2ec7d3f

Please sign in to comment.