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

Add support for Flex Attention #1675

Draft
wants to merge 66 commits into
base: main
Choose a base branch
from

Conversation

ShashankMosaicML
Copy link
Contributor

@ShashankMosaicML ShashankMosaicML commented Nov 27, 2024

Needs this fix: pytorch/pytorch#136427, which is is in torch nightly.

Use image: pip3 install torch==2.6.0.dev20241126+cu124 torchvision==0.20.0.dev20241126+cu124 torchaudio==2.5.0.dev20241126+cu124 --index-url https://download.pytorch.org/whl/nightly/cu124

@ShashankMosaicML ShashankMosaicML changed the title [WIP]: Shashank/flexattention [WIP]: Add support for Flex Attention Dec 2, 2024
@ShashankMosaicML ShashankMosaicML changed the title [WIP]: Add support for Flex Attention Add support for Flex Attention Dec 4, 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

Successfully merging this pull request may close these issues.

[Flex attention] RuntimeError with vmap when using torch.compile in create_mask
1 participant