Commit ·
7f1760c
1
Parent(s): 2efd650
Removed FlashAttention dependency.
Browse files- bert_layers.py +1 -4
bert_layers.py
CHANGED
|
@@ -25,10 +25,7 @@ from .bert_padding import (index_first_axis,
|
|
| 25 |
unpad_input, unpad_input_only)
|
| 26 |
from .configuration_bert import BertConfig
|
| 27 |
|
| 28 |
-
|
| 29 |
-
from .flash_attn_triton import flash_attn_qkvpacked_func
|
| 30 |
-
except ImportError as e:
|
| 31 |
-
flash_attn_qkvpacked_func = None
|
| 32 |
|
| 33 |
logger = logging.getLogger(__name__)
|
| 34 |
|
|
|
|
| 25 |
unpad_input, unpad_input_only)
|
| 26 |
from .configuration_bert import BertConfig
|
| 27 |
|
| 28 |
+
flash_attn_qkvpacked_func = None
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
logger = logging.getLogger(__name__)
|
| 31 |
|