Skip to content

Commit f8b6e18

Browse files
committed
fix bug
1 parent dc2b4fe commit f8b6e18

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

cmake/operators.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ function(prune_pybind_h)
705705
list(APPEND op_list "fusion_seqconv_eltadd_relu")
706706
list(APPEND op_list "fusion_seqpool_cvm_concat")
707707
list(APPEND op_list "fusion_gru")
708-
list(APPEND op_list "fusion_seqexpand_concat_fc")
708+
# list(APPEND op_list "fusion_seqexpand_concat_fc")
709709
list(APPEND op_list "fusion_repeated_fc_relu")
710710
list(APPEND op_list "fusion_squared_mat_sub")
711711

cmake/third_party.cmake

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -658,25 +658,25 @@ if(WITH_GPU
658658
AND NOT APPLE)
659659
if(${CMAKE_CUDA_COMPILER_VERSION} GREATER_EQUAL 12.3)
660660
foreach(arch ${NVCC_ARCH_BIN})
661-
if(${arch} GREATER_EQUAL 90)
662-
set(WITH_FLASHATTN_V3 OFF)
661+
if(${arch} GREATER_EQUAL 900)
662+
set(WITH_FLASHATTN_V3 ON)
663663
break()
664664
endif()
665665
endforeach()
666666
foreach(arch ${NVCC_ARCH_BIN})
667-
if(${arch} GREATER_EQUAL 80)
667+
if(${arch} GREATER_EQUAL 800)
668668
include(external/flashattn)
669669
list(APPEND third_party_deps extern_flashattn)
670-
set(WITH_FLASHATTN OFF)
670+
set(WITH_FLASHATTN ON)
671671
break()
672672
endif()
673673
endforeach()
674674
elseif(${CMAKE_CUDA_COMPILER_VERSION} GREATER_EQUAL 11.4)
675675
foreach(arch ${NVCC_ARCH_BIN})
676-
if(${arch} GREATER_EQUAL 80)
676+
if(${arch} GREATER_EQUAL 800)
677677
include(external/flashattn)
678678
list(APPEND third_party_deps extern_flashattn)
679-
set(WITH_FLASHATTN OFF)
679+
set(WITH_FLASHATTN ON)
680680
break()
681681
endif()
682682
endforeach()

0 commit comments

Comments
 (0)