[CPU] Support chunk_gated_delta_rule kernel for Qwen3-Next (#12441)

This commit is contained in:
Xuan Liao
2025-12-03 17:03:48 +08:00
committed by GitHub
parent 58ac3f317b
commit c233e9d7a9
7 changed files with 1495 additions and 157 deletions
+2 -1
View File
@@ -24,6 +24,7 @@ include_directories(
${Python_INCLUDE_DIRS}
${CMAKE_CURRENT_SOURCE_DIR}/../../csrc
${CMAKE_CURRENT_SOURCE_DIR}/../../include
${CMAKE_CURRENT_SOURCE_DIR}
)
# Platform-specific library directory
@@ -72,7 +73,7 @@ else()
endif()
endif()
file(GLOB SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")
file(GLOB_RECURSE SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")
if(NOT DEFINED ENV{SGLANG_CPU_FP8_CVT_FTZ})
set(ENV{SGLANG_CPU_FP8_CVT_FTZ} "1")