quietflamingo commited on
Commit
852c487
·
verified ·
1 Parent(s): 8061ca4

Update bert_layers.py

Browse files
Files changed (1) hide show
  1. bert_layers.py +1 -4
bert_layers.py CHANGED
@@ -25,10 +25,7 @@ from .bert_padding import (index_first_axis,
25
  index_put_first_axis, pad_input,
26
  unpad_input, unpad_input_only)
27
 
28
- try:
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
  index_put_first_axis, pad_input,
26
  unpad_input, unpad_input_only)
27
 
28
+ flash_attn_qkvpacked_func = None
 
 
 
29
 
30
  logger = logging.getLogger(__name__)
31