mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[GH-ISSUE #97] 在特定参数下,group_gemm_mask会报错Cuda error #52
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepGEMM#52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @risemeup1 on GitHub (May 13, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepGEMM/issues/97
`def test_m_grouped_gemm_masked() -> None:
print('Testing grouped masked GEMM:')
在num_group=2,m,k,n=1536,2048,6144的情况下,m_indicies=torch.tensor([1433, 27],expected_m=1536的情况下会报错,这是我们实际业务下遇到的情况,求助如何解决?
@zheanxu commented on GitHub (May 13, 2025):
By default,
tensor.tensor()is on the CPU. Addingdevice='cuda'can resolve this issue. 😊@risemeup1 commented on GitHub (May 13, 2025):
感谢感谢