From e9c0c55833898b661bd84848ca34c8723f189218 Mon Sep 17 00:00:00 2001 From: Fan Yin <1106310035@qq.com> Date: Fri, 14 Nov 2025 07:42:09 +0800 Subject: [PATCH] [sgl-kernel] clean up fa fetch in CMakeLists.txt (#12392) --- sgl-kernel/CMakeLists.txt | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/sgl-kernel/CMakeLists.txt b/sgl-kernel/CMakeLists.txt index 0c8bb02a4..7c394a78f 100644 --- a/sgl-kernel/CMakeLists.txt +++ b/sgl-kernel/CMakeLists.txt @@ -97,15 +97,6 @@ FetchContent_Declare( ) FetchContent_Populate(repo-flash-attention) -# flash-attention origin -FetchContent_Declare( - repo-flash-attention-origin - GIT_REPOSITORY https://github.com/Dao-AILab/flash-attention.git - GIT_TAG 9dbed03d1a7a5862998c182c83d8265fea9dc21b - GIT_SHALLOW OFF -) -FetchContent_Populate(repo-flash-attention-origin) - # mscclpp FetchContent_Declare( repo-mscclpp @@ -598,7 +589,7 @@ install(DIRECTORY "${repo-triton_SOURCE_DIR}/python/triton_kernels/triton_kernel # TODO: find a better install condition. if ("${CUDA_VERSION}" VERSION_GREATER_EQUAL "12.8" OR SGL_KERNEL_ENABLE_SM100A) # flash_attn/cute - install(DIRECTORY "${repo-flash-attention-origin_SOURCE_DIR}/flash_attn/cute/" + install(DIRECTORY "${repo-flash-attention_SOURCE_DIR}/flash_attn/cute/" DESTINATION "flash_attn/cute" PATTERN ".git*" EXCLUDE PATTERN "__pycache__" EXCLUDE)