-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Add determinant function on variable; Add backward on svd #3816
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
Conversation
|
Snafu on Jenkins workers... The first build failure is not a real failure. @pytorchbot retest this please |
|
Hmm tests are failing for Lapack not found even if I set |
torch/autograd/variable.py
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
The errors are from the matrix generation function which uses lapack. I will fix those. |
|
Fixed the tests. |
|
Added backward support for svd, hence enabling double backward on det. Cases where this can be unstable are described in doc. |
59e716d to
fb043e3
Compare
|
The code is not compatible with changes to gen_variable_type. Will fix tomorrow. |
2f66f03 to
7b5fcce
Compare
colesbury
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Addresses #3423.
On why not to bp through svd: there is no concrete formula when singular values are not distinct.