Skip to content

Conversation

@spandantiwari
Copy link

torch.where supports ByteTensor and BoolTensor types for the first input argument (condition predicate). Currently, ONNX exporter assumes that the first argument is BoolTensor. This PR updates the export for torch.where to correctly support export when first argument is a ByteTensor.

@dr-ci
Copy link

dr-ci bot commented Jul 30, 2020

💊 CI failures summary and remediations

As of commit 9530e39 (more details on the Dr. CI page):


None of the CI failures appear to be your fault 💚



🚧 1 fixed upstream failure:

These were probably caused by upstream breakages that were already fixed.

Please rebase on the viable/strict branch (expand for instructions)

Since your merge base is older than viable/strict, run these commands:

git fetch https://github.com/pytorch/pytorch viable/strict
git rebase FETCH_HEAD

Check out the recency history of this "viable master" tracking branch.


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group.

See how this bot performed.

This comment has been revised 16 times.

Copy link
Contributor

@neginraoof neginraoof left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@spandantiwari
Copy link
Author

I will look at the test failure.

@spandantiwari spandantiwari force-pushed the spandantiwari/fix_onnx_where_export branch from bf5bb2e to e15638f Compare August 4, 2020 18:53
@spandantiwari
Copy link
Author

@bzinodev - All the legit test failures are fixed and are passing. Also, rebased the PR. The remaining failures (doc build and test) are unrelated to this PR.

@spandantiwari
Copy link
Author

@bzinodev - I feel that this is ready for your review and merge.

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.

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

@facebook-github-bot
Copy link
Contributor

@bzinodev merged this pull request in 40ac95d.

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.

5 participants