Disable Flex Attention
This commit is contained in:
parent
30bf33957d
commit
28958397ee
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ try:
|
|||
create_block_mask as _create_block_mask,
|
||||
)
|
||||
_flex_attention = torch.compile(_flex_attention, dynamic = True, options = torch_compile_options)
|
||||
HAS_FLEX_ATTENTION = True
|
||||
HAS_FLEX_ATTENTION = False
|
||||
except:
|
||||
HAS_FLEX_ATTENTION = False
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue