Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

训练问题 #5

Open
Cici0526 opened this issue May 13, 2024 · 1 comment
Open

训练问题 #5

Cici0526 opened this issue May 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Cici0526
Copy link

您好,我在复现您代码的时候,出现错误:
RuntimeError: CUDA error: device-side assert triggered
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.
错误地点是pooled_logits = logits[torch.arange(batch_size, device=logits.device), sequence_lengths]
其中我的batch_size:1; logits.shape是[121,1,131], sequence_lengths:tensor[120]
请问是怎么回事呀

@liuqidong07
Copy link
Owner

您好,感谢对我们工作的关注。因为我这两周在赶ddl,然后短时间内也没能复现您说的问题,所以可能需要两周后再来解决这个问题,实在抱歉。祝好

@liuqidong07 liuqidong07 added the bug Something isn't working label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants