Skip to content

Conversation

@ShashankMosaicML
Copy link
Contributor

@ShashankMosaicML ShashankMosaicML commented Nov 27, 2024

There are 4 TODOs regarding compiled flex attention that needed to be investigated before checking in. See the tests for more details. TL;DR:

Summary: Potentially safe to use for training, not for inference.

Needs this fix for compiling sequence id dependent block masking: pytorch/pytorch#136427, which is is in torch nightly. Use this command to install torch nightly: 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

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