[MUSA] Fix fused MoE GEMV registration and torchada pin (#41444)
This commit is contained in:
@@ -162,7 +162,7 @@ srt_musa = [
|
||||
"torch==2.11.0.post1+musa5.2.0",
|
||||
"torch-c-dlpack-ext==0.1.5",
|
||||
"torch_musa==2.11.0.post1+musa5.2.0",
|
||||
"torchada>=0.1.86",
|
||||
"torchada>=0.1.90",
|
||||
"torchaudio==2.11.0+musa5.2.0",
|
||||
"torchvision==0.26.0.post1+musa5.2.0",
|
||||
"triton==3.2.0",
|
||||
|
||||
@@ -283,7 +283,7 @@ TORCH_LIBRARY_EXPAND(sgl_kernel, m) {
|
||||
"musa_fused_moe_gemv(Tensor! A, Tensor! B, Tensor! C, Tensor? A_scale, Tensor? B_scale,"
|
||||
"Tensor! topk_weights, Tensor! topk_ids, bool mul_routed_weight, int topk, bool use_int4_w4a16,"
|
||||
"bool use_swigelu) -> ()");
|
||||
m.impl("fused_moe_gemv", torch::kMUSA, &fused_moe_gemv);
|
||||
m.impl("musa_fused_moe_gemv", torch::kMUSA, &fused_moe_gemv);
|
||||
|
||||
m.def(
|
||||
"musa_fused_gemv(Tensor! A, Tensor! B, Tensor! C, Tensor? A_scale, Tensor? B_scale,"
|
||||
|
||||
@@ -3,7 +3,7 @@ requires = [
|
||||
"setuptools>=75.0",
|
||||
"scikit-build-core>=0.10",
|
||||
"torch",
|
||||
"torchada>=0.1.86",
|
||||
"torchada>=0.1.90",
|
||||
"wheel",
|
||||
]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
Reference in New Issue
Block a user