"src/graph/vscode:/vscode.git/clone" did not exist on "cded5b80fe566c174fce1185b5456448d6f9c671"
Unverified Commit c04a8a82 authored by JieXin Liang's avatar JieXin Liang Committed by GitHub
Browse files

[fix] fix misusing of is_cuda (#7790)

parent 6c903611
......@@ -913,7 +913,7 @@ class DeepseekV2AttentionMLA(nn.Module):
and self.fused_qkv_a_proj_with_mqa.weight.dtype == torch.bfloat16
and self.fused_qkv_a_proj_with_mqa.weight.shape[0] == 2112
and self.fused_qkv_a_proj_with_mqa.weight.shape[1] == 7168
and is_cuda
and _is_cuda
and _device_sm >= 90
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment