Update model.py

This commit is contained in:
kijai
2025-05-14 10:31:44 +03:00
parent bfed2afc2e
commit abdac5ec3a
+1
View File
@@ -14,6 +14,7 @@ try:
create_block_mask = torch.compile(create_block_mask)
flex_attention = torch.compile(flex_attention)
except:
BlockMask = create_block_mask = flex_attention = None
pass
from .attention import attention