Skip to content

Commit

Permalink
nullptr opt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cyang49 authored and ProExpertProg committed Jun 19, 2024
1 parent 0558f51 commit 97158de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csrc/quantization/cutlass_w8a8/scaled_mm_c3x.cu
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ struct ScaledEpilogueBias

ScaleA_Args a_args{a_scales.data_ptr<float>(), a_scales.numel() != 1, {}};
ScaleB_Args b_args{b_scales.data_ptr<float>(), b_scales.numel() != 1, {}};
Bias_Args bias_args{bias.data_ptr<float>(), bias.numel() != 1, {}};
Bias_Args bias_args{bias.data_ptr<float>()};

return ArgumentType{a_args, {b_args}, bias_args};
}
Expand Down

0 comments on commit 97158de

Please sign in to comment.