Skip to content

Conversation

@spandantiwari
Copy link

torch.scatter allows src to be of different type when src is a scalar. This requires a an explicit cast op to be inserted in the ONNX graph because ONNX ScatterElements does not allow different types. This PR updates the export of torch.scatter with this logic.

@dr-ci
Copy link

dr-ci bot commented Aug 22, 2020

💊 CI failures summary and remediations

As of commit 8c5712b (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


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 9 times.

@spandantiwari
Copy link
Author

@bzinodev - None of these failures seem related to the this (minor) change.

I will try rerunning the jobs.

@spandantiwari spandantiwari force-pushed the spandantiwari/fix_onnx_scatter_type branch from ddc9bed to 8c5712b Compare August 24, 2020 23:51
@spandantiwari
Copy link
Author

Same failures after re-running the failing jobs. Seems unrelated.
Rebased the PR and sending for a full run again.

@ngimel ngimel requested a review from houseroad August 25, 2020 03:51
@ngimel ngimel added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Aug 25, 2020
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.

Thanks, looks good to me.

@spandantiwari
Copy link
Author

@bzinodev - All the failures are resolved after (another) rebase and rerun. The CI is green. I believe 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.

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

@spandantiwari
Copy link
Author

I am not able to see the internal failing test.

@facebook-github-bot
Copy link
Contributor

@houseroad merged this pull request in 1a21c92.

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

Labels

Merged 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.

7 participants