Skip to content

Conversation

@spandantiwari
Copy link

This PR adds support for torch.rand export in the PyTorch ONNX exporter. There are other generator ops that need to be supported for export and they will added in subsequent PRs. This op is needed with priority for a model on our end.

@pytorchbot pytorchbot added the module: onnx Related to torch.onnx label May 15, 2019
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.

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.

@pytorchbot pytorchbot added caffe2 module: pybind Related to our Python bindings / interactions with other Python libraries labels May 28, 2019
@spandantiwari
Copy link
Author

@houseroad - thanks for the review. I have added support for onnx::RandomUniform in backend.py and also a test point in test_pytorch_onnx_caffe2.py.

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.

@houseroad
Copy link
Member

rebase to master to let the CI pass?

@spandantiwari spandantiwari force-pushed the spandantiwari/add_onnx_rand branch from 4db2d87 to ed3ccfe Compare May 29, 2019 22:40
@spandantiwari
Copy link
Author

rebase to master to let the CI pass?

Rebased.

@houseroad
Copy link
Member

@spandantiwari could you rebase again? the CI was broken again... really sorry about that.

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.

@spandantiwari spandantiwari force-pushed the spandantiwari/add_onnx_rand branch from ed3ccfe to 8c7dedd Compare June 3, 2019 19:04
@spandantiwari
Copy link
Author

@spandantiwari could you rebase again? the CI was broken again... really sorry about that.

No worries. Done.

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 22865d4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

caffe2 Merged module: onnx Related to torch.onnx module: pybind Related to our Python bindings / interactions with other Python libraries open source

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants