Skip to content

Conversation

zhulinchng
Copy link

  1. Update import for einsum.
  2. Update context manager as torch.backends.cuda.sdp_kernel() is deprecated.
FutureWarning: torch.backends.cuda.sdp_kernel() is deprecated. In the future, this context manager will be removed. Please see, torch.nn.attention.sdpa_kernel() for the new context manager, with updated signature.

Update einops import and torch context manager for FlashAttention
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

Successfully merging this pull request may close these issues.

1 participant