[Kernel] Declare the PyTorch ABI dependency in sglang-kernel wheels (#36465)

This commit is contained in:
kuma_Gu2006
2026-08-26 15:24:26 -07:00
committed by GitHub
parent 1eb629ab4f
commit 7f27bf4708
+2 -2
View File
@@ -1,7 +1,7 @@
[build-system] [build-system]
requires = [ requires = [
"scikit-build-core>=0.10", "scikit-build-core>=0.10",
"torch>=2.8.0", "torch==2.13.0",
"wheel", "wheel",
] ]
build-backend = "scikit_build_core.build" build-backend = "scikit_build_core.build"
@@ -21,7 +21,7 @@ classifiers = [
"License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: Apache Software License",
"Environment :: GPU :: NVIDIA CUDA" "Environment :: GPU :: NVIDIA CUDA"
] ]
dependencies = [] dependencies = ["torch==2.13.0"]
[project.urls] [project.urls]
"Homepage" = "https://github.com/sgl-project/sglang/tree/main/python/sglang/kernels/aot" "Homepage" = "https://github.com/sgl-project/sglang/tree/main/python/sglang/kernels/aot"