Skip to content

Commit

Permalink
[Cutlass] Fix shape in fp8 group gemm (apache#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinx13 authored and masahi committed Mar 13, 2024
1 parent 1ae8904 commit 52cc27d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/contrib/cutlass/fp8_group_gemm.cu
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void tvm_cutlass_fp8_group_gemm(NDArray x, NDArray weight, NDArray indptr, NDArr
CHECK_EQ(alpha->dtype.bits, 32);
int num_groups = weight->shape[0];
int n = weight->shape[1];
int k = weight->shape[2];
int k = x->shape[1];
const float* beta = nullptr;
cudaStream_t stream = static_cast<cudaStream_t>((*func)().operator void*());
cutlass_group_gemm(static_cast<ElementA*>(x->data), static_cast<ElementB*>(weight->data),
Expand Down

0 comments on commit 52cc27d

Please sign in to comment.