Remove torch dependency in sgl-kernel (#3074)

This commit is contained in:
Lianmin Zheng
2025-01-23 01:23:37 -08:00
committed by GitHub
parent ac2dc35d0e
commit 553f5a3ffe
2 changed files with 1 additions and 4 deletions

View File

@@ -14,9 +14,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",
]
[project.urls] [project.urls]
"Homepage" = "https://github.com/sgl-project/sglang" "Homepage" = "https://github.com/sgl-project/sglang"

View File

@@ -127,7 +127,6 @@ setup(
package_dir={"": "src"}, package_dir={"": "src"},
ext_modules=ext_modules, ext_modules=ext_modules,
cmdclass={"build_ext": BuildExtension}, cmdclass={"build_ext": BuildExtension},
install_requires=["torch"],
) )
update_wheel_platform_tag() update_wheel_platform_tag()