Skip to content

Update simple_flash_attn_vit_3d.py#323

Open
zhulinchng wants to merge 1 commit intolucidrains:mainfrom
zhulinchng:main
Open

Update simple_flash_attn_vit_3d.py#323
zhulinchng wants to merge 1 commit intolucidrains:mainfrom
zhulinchng:main

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