Closed johng149 closed 1 month ago
This appears to be a regression that slipped through. We're currently looking at it.
cc: @anijain2305
This should be fixed on nightly though. Let us know if you still hit it!
Thanks, I updated to the latest nightly and it works
I am following along with the blog post regarding using Flex Attention with Document Masking, using torch version
2.6.0.dev20240915+cu118
and I have written the following:However, setting
_compile
toTrue
causes an error when trying to create the block mask while setting it toFalse
works without problems. The trace is:I am not sure why this is happening. Perhaps I should use a custom BlockMask constructor or avoid using
_compile=True
?