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

RuntimeError: d.is_cuda() INTERNAL ASSERT FAILED #241

Open
wenboweiwb opened this issue Jul 22, 2024 · 0 comments
Open

RuntimeError: d.is_cuda() INTERNAL ASSERT FAILED #241

wenboweiwb opened this issue Jul 22, 2024 · 0 comments

Comments

@wenboweiwb
Copy link

Every time I train Mask2Former with Detectron2, I encounter the same error. The specific error is as follows:

Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass
RuntimeError: d.is_cuda() INTERNAL ASSERT FAILED at "/opt/conda/conda-bld/pytorch_1678402421473/work/c10/cuda/impl/CUDAGuardImpl.h":31, please report a bug to PyTorch.

This error does not appear at the beginning but usually occurs after running for a long time, such as 5 hours. This makes debugging very difficult. I would be very grateful if someone could help me look into this issue.

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

1 participant