[AMD] Fix rocm sgl-kernel missing modules error (#4311)

Co-authored-by: yiakwy-xpu-ml-framework-team <leiwang2@amd.com>
This commit is contained in:
yigex
2025-03-11 10:35:28 -07:00
committed by GitHub
co-authored by yiakwy-xpu-ml-framework-team
parent 00f42707ea
commit 690e1f2371
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -63,4 +63,4 @@ TORCH_LIBRARY_EXPAND(sgl_kernel, m) {
m.impl("moe_align_block_size", torch::kCUDA, &moe_align_block_size);
}
REGISTER_EXTENSION(_kernels)
REGISTER_EXTENSION(common_ops)
+1 -1
View File
@@ -79,7 +79,7 @@ ext_modules = [
setup(
name="sgl-kernel",
version=_get_version(),
packages=find_packages(),
packages=find_packages(where="python"),
package_dir={"": "python"},
ext_modules=ext_modules,
cmdclass={"build_ext": BuildExtension.with_options(use_ninja=True)},