Skip to content
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

Merged
merged 3 commits into from
May 18, 2021

Conversation

BowenBao
Copy link
Collaborator

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.

@facebook-github-bot facebook-github-bot added oncall: jit Add this issue/PR to JIT oncall triage queue cla signed labels Apr 26, 2021
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Apr 26, 2021

💊 CI failures summary and remediations

As of commit 3e4386e (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 to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

Copy link
Contributor

@jiafatom jiafatom left a comment

Choose a reason for hiding this comment

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

LGTM!

@BowenBao BowenBao force-pushed the onnx_sequence_construct branch from 39e85b2 to 3e4386e Compare May 17, 2021 23:22
@codecov
Copy link

codecov bot commented May 18, 2021

Codecov Report

Merging #56965 (3e4386e) into onnx_ms_1 (94ef2b9) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##           onnx_ms_1   #56965      +/-   ##
=============================================
- Coverage      76.45%   76.44%   -0.01%     
=============================================
  Files           1993     1993              
  Lines         199825   199856      +31     
=============================================
+ Hits          152767   152774       +7     
- Misses         47058    47082      +24     

@BowenBao BowenBao merged commit 1d8059b into pytorch:onnx_ms_1 May 18, 2021
BowenBao added a commit that referenced this pull request May 19, 2021
…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]
BowenBao added a commit that referenced this pull request May 19, 2021
…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>
BowenBao added a commit that referenced this pull request May 20, 2021
…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]
BowenBao added a commit that referenced this pull request May 20, 2021
…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]
BowenBao added a commit that referenced this pull request May 26, 2021
…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]
facebook-github-bot pushed a commit that referenced this pull request May 27, 2021
…mpty (#56965) (#58693)

Summary:
Pull Request resolved: #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>
deniskokarev pushed a commit to deniskokarev/pytorch that referenced this pull request Jun 9, 2021
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla signed oncall: jit Add this issue/PR to JIT oncall triage queue open source
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants