mirror of
https://github.com/deepseek-ai/DeepGEMM
synced 2025-05-06 13:34:22 +00:00
Code polishing x2
This commit is contained in:
parent
a51629ddf9
commit
594020e6af
@ -40,7 +40,7 @@ def construct(m: int, k: int, n: int) -> \
|
|||||||
|
|
||||||
|
|
||||||
def construct_contiguous_grouped(num_groups: int, expected_m_per_group: int, k: int, n: int) -> \
|
def construct_contiguous_grouped(num_groups: int, expected_m_per_group: int, k: int, n: int) -> \
|
||||||
Tuple[int, Tuple[torch.Tensor, torch.Tensor], Tuple[torch.Tensor, torch.Tensor], torch.Tensor, torch.Tensor]:
|
Tuple[int, Tuple[torch.Tensor, torch.Tensor], Tuple[torch.Tensor, torch.Tensor], torch.Tensor, torch.Tensor, torch.Tensor]:
|
||||||
m = 0
|
m = 0
|
||||||
m_aligned = get_m_alignment_for_contiguous_layout()
|
m_aligned = get_m_alignment_for_contiguous_layout()
|
||||||
group_m_list = []
|
group_m_list = []
|
||||||
|
Loading…
Reference in New Issue
Block a user