Skip to content

Conversation

@ssnl
Copy link
Collaborator

@ssnl ssnl commented Nov 21, 2017

Addresses #3423.

On why not to bp through svd: there is no concrete formula when singular values are not distinct.

@pytorchbot
Copy link
Collaborator

@ssnl, thanks for your PR! We identified @zdevito to be a potential reviewer.

@pietern
Copy link
Contributor

pietern commented Nov 21, 2017

Snafu on Jenkins workers... The first build failure is not a real failure.

@pytorchbot retest this please

@ssnl
Copy link
Collaborator Author

ssnl commented Nov 21, 2017

Hmm tests are failing for Lapack not found even if I set skipIfNoLapack. Looking into this.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@ssnl
Copy link
Collaborator Author

ssnl commented Nov 22, 2017

The errors are from the matrix generation function which uses lapack. I will fix those.

@ssnl
Copy link
Collaborator Author

ssnl commented Nov 22, 2017

Fixed the tests.

@ssnl ssnl changed the title Add determinant function on variable Add determinant function on variable; Add backward on svd Nov 30, 2017
@ssnl
Copy link
Collaborator Author

ssnl commented Nov 30, 2017

Added backward support for svd, hence enabling double backward on det. Cases where this can be unstable are described in doc.

@ssnl ssnl force-pushed the det branch 2 times, most recently from 59e716d to fb043e3 Compare November 30, 2017 00:16
@ssnl
Copy link
Collaborator Author

ssnl commented Nov 30, 2017

The code is not compatible with changes to gen_variable_type. Will fix tomorrow.

@ssnl ssnl force-pushed the det branch 2 times, most recently from 2f66f03 to 7b5fcce Compare November 30, 2017 16:44
Copy link
Member

@colesbury colesbury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@soumith soumith merged commit c681b03 into pytorch:master Dec 1, 2017
@ssnl ssnl deleted the det branch December 1, 2017 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants