-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
INTERNAL ASSERT FAILED source.dtype() == self.dtype() #87672
Comments
Hi-pri for the internal assert failure. In this repro, it looks like we're running |
@ezyang : internal asserts should be high priority only if we don't know what is causing them. |
Hi, I'm interested in this issue, but not familiar with the codebase a lot (first time contributor --ever here). May I ask for some pointer/advice to start with? Thank you! |
A good start is to find the assert, change it into TORCH_CHECK and add a good error message |
Thank you, please let me take this issue |
Hey! I submitted a PR where I replaced the internal error with a TORCH_CHECK! It's my first contribution. |
…age (pytorch#88804) Fixes pytorch#87672 Pull Request resolved: pytorch#88804 Approved by: https://github.com/ezyang
🐛 Describe the bug
RuntimeError: source.dtype() == self.dtype() INTERNAL ASSERT FAILED , please report a bug to PyTorch.
Versions
PyTorch 1.12.1
cc @ezyang @gchanan @zou3519
The text was updated successfully, but these errors were encountered: