-
Notifications
You must be signed in to change notification settings - Fork 23.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ONNX] Update special post process for SequenceInsert after SequenceEmpty (#56965) #58693
Conversation
…mpty (#56965) `ONNX::SequenceEmpty` requires dtype to be provided, and is default to float. We updates previous dtype of created `ONNX::SequenceEmpty` node when dtype is later discovered to be other than float, through downstream `ONNX::SequenceInsert` node. This PR improves the algorithm to cover nested loop case. Co-authored-by: BowenBao <bowbao@microsoft.com> [ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit 432ece9 (more details on the Dr. CI page):
7 failures not recognized by patterns:
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 to the (internal) Dr. CI Users group. |
…r SequenceEmpty (#56965)" `ONNX::SequenceEmpty` requires dtype to be provided, and is default to float. We updates previous dtype of created `ONNX::SequenceEmpty` node when dtype is later discovered to be other than float, through downstream `ONNX::SequenceInsert` node. This PR improves the algorithm to cover nested loop case. Co-authored-by: BowenBao <bowbao@microsoft.com> [ghstack-poisoned]
@SplitInfinity has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
@SplitInfinity has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…r SequenceEmpty (#56965)" `ONNX::SequenceEmpty` requires dtype to be provided, and is default to float. We updates previous dtype of created `ONNX::SequenceEmpty` node when dtype is later discovered to be other than float, through downstream `ONNX::SequenceInsert` node. This PR improves the algorithm to cover nested loop case. Co-authored-by: BowenBao <bowbao@microsoft.com> Differential Revision: [D28714808](https://our.internmc.facebook.com/intern/diff/D28714808) [ghstack-poisoned]
@SplitInfinity has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
@SplitInfinity merged this pull request in 57c9355. |
…mpty (pytorch#56965) (pytorch#58693) Summary: Pull Request resolved: pytorch#58693 `ONNX::SequenceEmpty` requires dtype to be provided, and is default to float. We updates previous dtype of created `ONNX::SequenceEmpty` node when dtype is later discovered to be other than float, through downstream `ONNX::SequenceInsert` node. This PR improves the algorithm to cover nested loop case. Test Plan: Imported from OSS Reviewed By: driazati Differential Revision: D28714808 Pulled By: SplitInfinity fbshipit-source-id: e45ab3a12d0fec637733acbd3cd0438ff80d2cd4 Co-authored-by: BowenBao <bowbao@microsoft.com>
Stack from ghstack:
ONNX::SequenceEmpty
requires dtype to be provided, and is default to float. We updates previous dtype of createdONNX::SequenceEmpty
node when dtype is later discovered to be other than float, through downstreamONNX::SequenceInsert
node. This PR improves the algorithm to cover nested loop case.Co-authored-by: BowenBao bowbao@microsoft.com
Differential Revision: D28714808