Skip to content

Commit

Permalink
bugfix - get n
Browse files Browse the repository at this point in the history
  • Loading branch information
Varun Sundar Rabindranath committed Jun 20, 2024
1 parent a5bc063 commit 7d7b636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csrc/quantization/cutlass_w8a8/scaled_mm_c2x.cu
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ void cutlass_gemm_sm80_dispatch(torch::Tensor& out, torch::Tensor const& a,
out, a, b, std::forward<EpilogueArgs>(args)...);
} else if (mp2 <= 128) {
// M in (64, 128]
uint32_t const n = a.size(1);
uint32_t const n = out.size(1);
bool const small_n = n < 8192;
if (small_n) {
return cutlass_gemm_caller<Cutlass2xGemmM128SmallN>(
Expand Down

0 comments on commit 7d7b636

Please sign in to comment.