-
Notifications
You must be signed in to change notification settings - Fork 102
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
AOT Autograd fails to get correct grads for view and Inplace Relu #514
Comments
Do you need the instance norm/batch norm stuff here? |
Not necessarily. I kept it there because initially the graph was larger and consisted |
Another issue -
|
Both these cases require special/hacky handling in AOT Autograd if they have to be supported quickly. A better approach is the functionalization pass. CC'ing @bdhirsh to try functionalization on these two test cases as well. |
While working on TorchDynamo + AOT integration, I came across the following bug
view + inplace_Relu seems to give wrong backward trace.
@Chillee @jansel
The text was updated successfully, but these errors were encountered: