-
Notifications
You must be signed in to change notification settings - Fork 665
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
memory-efficient attention is default opened? if i dont use flash attn #48
Comments
PyTorch 2.0 will automatically set the most appropriate version of attention based on your system specs.
|
thanks, but how do i know which one to use? how to check it? |
memory_efficient_attention of xformers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
or if i want use memory-efficient attention, i must call scaled_dot_product_attention?
PyTorch 2.0 includes an optimized and memory-efficient attention implementation through the torch.nn.functional.scaled_dot_product_attention function
The text was updated successfully, but these errors were encountered: