[Build] Fix CUDA arch build coverage gaps (#45277)
Signed-off-by: Shengqi Chen <harry-chen@outlook.com> Co-authored-by: Xin Li <xinli-sw@users.noreply.github.com> Co-authored-by: ShawRong <ShawRong@users.noreply.github.com> Co-authored-by: Change72 <Change72@users.noreply.github.com>
This commit is contained in:
co-authored by
Xin Li
ShawRong
Change72
parent
54bbf51668
commit
78e7293bb1
@@ -997,7 +997,12 @@ class CutlassExpertsMxfp4(mk.FusedMoEExpertsModular):
|
||||
@staticmethod
|
||||
def _supports_current_device() -> bool:
|
||||
p = current_platform
|
||||
return p.is_cuda() and p.is_device_capability_family(100)
|
||||
capability = p.get_device_capability()
|
||||
return (
|
||||
p.is_cuda()
|
||||
and capability is not None
|
||||
and ops.mxfp4_experts_quant_supported(capability.to_int())
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
def _supports_no_act_and_mul() -> bool:
|
||||
|
||||
Reference in New Issue
Block a user