Skip to content

Conversation

@neginraoof
Copy link
Contributor

@neginraoof neginraoof commented Sep 27, 2019

Added symbolic to export det in opset 11
Updating ONNX submodule is required for det export

@pytorchbot pytorchbot added the module: onnx Related to torch.onnx label Sep 27, 2019
Copy link
Collaborator

@BowenBao BowenBao left a comment

Choose a reason for hiding this comment

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

LGTM, minor comment on better test coverage.

def forward(self, x):
return torch.det(x)

x = torch.randn(2, 3, 5, 5, requires_grad=True)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we add another test case where input shape is (5, 5)? That covers the case where output is scalar.

@lara-hdr
Copy link
Contributor

lara-hdr commented Oct 1, 2019

@neginraoof TestOperators.test_det is failing

@neginraoof
Copy link
Contributor Author

@pytorchbot rebase this please

Copy link
Member

@houseroad houseroad left a comment

Choose a reason for hiding this comment

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

Export looks good.

RuntimeError: lu: LAPACK library not found in compilation

Please fix the tests.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@houseroad has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@zou3519 zou3519 added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Oct 10, 2019
@neginraoof
Copy link
Contributor Author

@houseroad I didn't see this locally. Trying to repro. Do you have an idea why it complains about the missing package?

@neginraoof
Copy link
Contributor Author

cc @houseroad for review

Copy link
Member

@houseroad houseroad left a comment

Choose a reason for hiding this comment

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

Fix the conflict?

@neginraoof
Copy link
Contributor Author

@houseroad just updated. please review

Copy link
Member

@houseroad houseroad left a comment

Choose a reason for hiding this comment

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

Please do NOT update onnx submodule

@neginraoof
Copy link
Contributor Author

@houseroad onnx is reset. Just rebased this

@neginraoof
Copy link
Contributor Author

@houseroad this is ready

@neginraoof
Copy link
Contributor Author

@houseroad please review the updates

Copy link
Member

@houseroad houseroad left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@houseroad has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@houseroad merged this pull request in 4f70b5a.

thiagocrepaldi pushed a commit to thiagocrepaldi/pytorch that referenced this pull request Feb 4, 2020
Summary:
Added symbolic to export det in opset 11
Updating ONNX submodule is required for det export
Pull Request resolved: pytorch#26958

Reviewed By: hl475

Differential Revision: D17844887

Pulled By: houseroad

fbshipit-source-id: 224ae3ff82939dc7ae8584c5a30a31fe6afa05f6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged module: onnx Related to torch.onnx module: third_party open source triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants