Skip to content

[ONNX] allow no-alpha add/sub in onnx symbolic#10972

Closed
wanchaol wants to merge 3 commits intopytorch:masterfrom
wanchaol:symbolicadd
Closed

[ONNX] allow no-alpha add/sub in onnx symbolic#10972
wanchaol wants to merge 3 commits intopytorch:masterfrom
wanchaol:symbolicadd

Conversation

@wanchaol
Copy link
Collaborator

The PR fixes #10873

The context is aten::add and aten::sub ST overloads don't have alpha, so onnx symbolic does not match.

This comment was marked as off-topic.

This comment was marked as off-topic.

@wanchaol wanchaol force-pushed the symbolicadd branch 3 times, most recently from b788207 to a8bef01 Compare September 7, 2018 18:18
@wanchaol wanchaol changed the title allow no-alpha add/sub in onnx symbolic [ONNX] allow no-alpha add/sub in onnx symbolic Sep 7, 2018
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.

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

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.

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

@weiyangfb weiyangfb added awaiting response (this tag is deprecated) This tag is deprecated while we figure out what to do with it module: onnx Related to torch.onnx and removed awaiting response (this tag is deprecated) This tag is deprecated while we figure out what to do with it labels Sep 11, 2018
Copy link
Collaborator

@jamesr66a jamesr66a left a comment

Choose a reason for hiding this comment

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

Cool, let's do it. So long as this rebases cleanly I think this is OK

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.

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

@wanchaol
Copy link
Collaborator Author

@jamesr66a this is causing some internal tests failures, I will investigate it.

jamesr66a pushed a commit to jamesr66a/translate-1 that referenced this pull request Sep 18, 2018
Summary:
The PR fixes #10873

The context is aten::add and aten::sub ST overloads don't have alpha, so onnx symbolic does not match.
Pull Request resolved: pytorch/pytorch#10972

Differential Revision: D9724224

fbshipit-source-id: 902a2a6a04452a8ce428ecac7cd7e912d6787178
jamesr66a pushed a commit to jamesr66a/translate-1 that referenced this pull request Sep 18, 2018
Summary:
The PR fixes #10873

The context is aten::add and aten::sub ST overloads don't have alpha, so onnx symbolic does not match.
Pull Request resolved: pytorch/pytorch#10972

Differential Revision: D9724224

fbshipit-source-id: 42326b91a57490e070db5ba4c9a8e9e75fc0b364
facebook-github-bot pushed a commit that referenced this pull request Sep 18, 2018
Summary:
The PR fixes #10873

The context is aten::add and aten::sub ST overloads don't have alpha, so onnx symbolic does not match.
Pull Request resolved: #10972

Reviewed By: jamesr66a

Differential Revision: D9724224

Pulled By: wanchaol

fbshipit-source-id: eb5d1b09fa8f1604b288f4a62b8d1f0bc66611af
@wanchaol wanchaol deleted the symbolicadd branch September 19, 2018 17:52
@ezyang ezyang added the merged label Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: onnx Related to torch.onnx

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[JIT][ONNX] aten::add and aten::sub ST overloads don't have alpha, so they don't match the ONNX symbolic

6 participants