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

Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds" failed. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. #115

Open
Tuerte opened this issue Nov 20, 2023 · 1 comment

Comments

@Tuerte
Copy link

Tuerte commented Nov 20, 2023

C:\w\b\windows\pytorch\aten\src\ATen\native\cuda\IndexKernel.cu:93: block: [82,0,0], thread: [15,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds" failed.
ERROR in training steps: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

@bbqq7788
Copy link

I also encountered this problem, did you solve it?

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

No branches or pull requests

2 participants