Skip to content

Commit

Permalink
update api
Browse files Browse the repository at this point in the history
  • Loading branch information
kircle888 committed Apr 25, 2024
1 parent be357d4 commit 4fc88be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/paddle/nn/functional/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@
)
from .flash_attention import (
flash_attention_with_sparse_mask,
flash_attn_qkvpacked,
flash_attn_varlen_qkvpacked,
scaled_dot_product_attention,
sdp_kernel, # noqa: F401
)
Expand Down Expand Up @@ -279,5 +281,7 @@
'gaussian_nll_loss',
'scaled_dot_product_attention',
'flash_attention_with_sparse_mask',
'flash_attn_qkvpacked',
'flash_attn_varlen_qkvpacked',
'group_norm',
]

0 comments on commit 4fc88be

Please sign in to comment.