Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add Alibi TE supports through FA #584

Closed
yaoyu-33 opened this issue Jan 4, 2024 · 2 comments
Closed

[Feature Request] Add Alibi TE supports through FA #584

yaoyu-33 opened this issue Jan 4, 2024 · 2 comments
Assignees

Comments

@yaoyu-33
Copy link

yaoyu-33 commented Jan 4, 2024

TE supports alibi through FusedAttention which is using cuDNN attention. This can be added since Flash-attn now support bias -
#369
https://github.com/NVIDIA/TransformerEngine/blob/main/transformer_engine/pytorch/transformer.py#L571

@cyanguwa
Copy link
Collaborator

Please see #608.

@cyanguwa
Copy link
Collaborator

cyanguwa commented Mar 9, 2024

ALiBi and ALiBi slopes support has been added to TE.

@cyanguwa cyanguwa closed this as completed Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants