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

enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True). #13

Open
kbk12 opened this issue Nov 10, 2021 · 2 comments

Comments

@kbk12
Copy link

kbk12 commented Nov 10, 2021

enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).

@Sidsky
Copy link

Sidsky commented Jan 24, 2022

Hey, have you found any solution to fix this issue?

@Sidsky
Copy link

Sidsky commented Jan 29, 2022

If the code fails to compile and throws the auto_grad error, then try changing the PyTorch version to 1.4 and use python 3.6

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