support cmake for sgl-kernel (#4706)

Co-authored-by: hebiao064 <hebiaobuaa@gmail.com>
Co-authored-by: yinfan98 <1106310035@qq.com>
This commit is contained in:
authored and GitHub committed 2025-03-27 01:42:28 -07:00
1 parent 1b9175cb23
commit 8bf6d7f406
18 files changed
+426 -36

No files matched your search

-3
View File
@@ -21,9 +21,6 @@ from torch.utils.cpp_extension import BuildExtension, CUDAExtension
root = Path(__file__).parent.resolve()
if "bdist_wheel" in sys.argv and "--plat-name" not in sys.argv:
sys.argv.extend(["--plat-name", "manylinux2014_x86_64"])
def _get_version():
with open(root / "pyproject.toml") as f: