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) #58693

Closed
wants to merge 3 commits into from

Conversation

BowenBao
Copy link
Collaborator

@BowenBao BowenBao commented May 20, 2021

Stack from ghstack:

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

…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]
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented May 20, 2021

💊 CI failures summary and remediations

As of commit 432ece9 (more details on the Dr. CI page):


  • 8/8 failures possibly* introduced in this PR
    • 1/8 non-scanned failure(s)

7 failures not recognized by patterns:

Job Step Action
GitHub Actions Linux CI (pytorch-linux-xenial-py3.6-gcc5.4) / render_test_results Download PyTorch Test Reports 🔁 rerun
GitHub Actions Lint / flake8-py3 Upload artifact 🔁 rerun
GitHub Actions Linux CI (pytorch-linux-xenial-py3.6-gcc5.4) / test Test PyTorch 🔁 rerun
GitHub Actions Lint / clang-tidy Stop containers 🔁 rerun
GitHub Actions Lint / py2-setup-validate-errormsg Checkout PyTorch 🔁 rerun
GitHub Actions Lint / cmakelint Run cmakelint 🔁 rerun
GitHub Actions Lint / mypy Set up job 🔁 rerun

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.

…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
Copy link

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

@SplitInfinity
Copy link

@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
Copy link

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

@facebook-github-bot
Copy link
Contributor

@SplitInfinity merged this pull request in 57c9355.

@facebook-github-bot facebook-github-bot deleted the gh/BowenBao/75/head branch May 31, 2021 14:17
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 Merged 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.

4 participants