Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/util/triton_mm_8bit.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
)

@triton.jit
def __mm_kernel(
def _mm_kernel(
a_ptr, b_ptr, c_ptr,
M, N, K,
stride_am, stride_ak,
Expand Down Expand Up @@ -109,7 +109,7 @@ def mm_8bit(a: torch.Tensor, b: torch.Tensor) -> torch.Tensor:

def grid(META):
return (triton.cdiv(N, META['BLOCK_SIZE_N']) , triton.cdiv(M, META['BLOCK_SIZE_M']), )
__mm_kernel[grid](
_mm_kernel[grid](
a, b, c,
M, N, K,
a.stride(0), a.stride(1),
Expand Down