From 7f27bf470824f452a34e866d22ab5e332a23e26f Mon Sep 17 00:00:00 2001 From: kuma_Gu2006 Date: Thu, 27 Aug 2026 06:24:26 +0800 Subject: [PATCH] [Kernel] Declare the PyTorch ABI dependency in sglang-kernel wheels (#36465) --- python/sglang/kernels/aot/pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/sglang/kernels/aot/pyproject.toml b/python/sglang/kernels/aot/pyproject.toml index 9c10a4825..5216b4600 100644 --- a/python/sglang/kernels/aot/pyproject.toml +++ b/python/sglang/kernels/aot/pyproject.toml @@ -1,7 +1,7 @@ [build-system] requires = [ "scikit-build-core>=0.10", - "torch>=2.8.0", + "torch==2.13.0", "wheel", ] build-backend = "scikit_build_core.build" @@ -21,7 +21,7 @@ classifiers = [ "License :: OSI Approved :: Apache Software License", "Environment :: GPU :: NVIDIA CUDA" ] -dependencies = [] +dependencies = ["torch==2.13.0"] [project.urls] "Homepage" = "https://github.com/sgl-project/sglang/tree/main/python/sglang/kernels/aot"