paolomanlapaz commited on
Commit
8d116a3
·
verified ·
1 Parent(s): 57c738f

Update bert_layers.py

Browse files

commented out triton import to resolve Compilation Issues

Files changed (1) hide show
  1. bert_layers.py +5 -4
bert_layers.py CHANGED
@@ -25,10 +25,11 @@ 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
+ # Commented-out to resolve Compilation Issues with triton
29
+ # try:
30
+ # from .flash_attn_triton import flash_attn_qkvpacked_func
31
+ # except ImportError as e:
32
+ flash_attn_qkvpacked_func = None
33
 
34
  logger = logging.getLogger(__name__)
35