Skip to content

Conversation

@xgqdut2016
Copy link
Collaborator

@xgqdut2016 xgqdut2016 commented May 23, 2025

1747987043862 不知道为什么测试结束以后总是出现core dumped,此外发现如果把causal_softmax.py里面的数值精度对比改为assert torch.allclose(x.to("cpu"), ans.to("cpu"), atol=0, rtol=1e-2),提前把数据转移到cpu上,这种做法可以通过测试,避开上面的问题,原因不详

@crapromer crapromer merged commit c5b8f43 into teco Jul 9, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants