From 9d54c6e6dde1e3915764c728556922cb33325b22 Mon Sep 17 00:00:00 2001 From: Yineng Zhang Date: Thu, 14 Aug 2025 22:27:14 -0700 Subject: [PATCH] feat: remove sm75 (#9207) --- sgl-kernel/CMakeLists.txt | 1 - sgl-kernel/build.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sgl-kernel/CMakeLists.txt b/sgl-kernel/CMakeLists.txt index ddf57a749..6a85071f0 100644 --- a/sgl-kernel/CMakeLists.txt +++ b/sgl-kernel/CMakeLists.txt @@ -170,7 +170,6 @@ option(SGL_KERNEL_ENABLE_FA3 "Enable FA3" OFF) if (ENABLE_BELOW_SM90) list(APPEND SGL_KERNEL_CUDA_FLAGS - "-gencode=arch=compute_75,code=sm_75" "-gencode=arch=compute_80,code=sm_80" "-gencode=arch=compute_89,code=sm_89" ) diff --git a/sgl-kernel/build.sh b/sgl-kernel/build.sh index e812c0c7b..4b430d30f 100755 --- a/sgl-kernel/build.sh +++ b/sgl-kernel/build.sh @@ -63,7 +63,7 @@ docker run --rm \ ln -sv /usr/lib64/libibverbs.so.1 /usr/lib64/libibverbs.so && \ ${PYTHON_ROOT_PATH}/bin/${TORCH_INSTALL} && \ ${PYTHON_ROOT_PATH}/bin/pip install --no-cache-dir ninja setuptools==75.0.0 wheel==0.41.0 numpy uv scikit-build-core && \ - export TORCH_CUDA_ARCH_LIST='7.5 8.0 8.9 9.0+PTX' && \ + export TORCH_CUDA_ARCH_LIST='8.0 8.9 9.0+PTX' && \ export CUDA_VERSION=${CUDA_VERSION} && \ mkdir -p /usr/lib/${ARCH}-linux-gnu/ && \ ln -s /usr/local/cuda-${CUDA_VERSION}/targets/${LIBCUDA_ARCH}-linux/lib/stubs/libcuda.so /usr/lib/${ARCH}-linux-gnu/libcuda.so && \