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] ONNX dev branch merge 01-06-2021 #50163

Closed
wants to merge 10 commits into from

Conversation

spandantiwari
Copy link

@spandantiwari spandantiwari commented Jan 6, 2021

[ONNX] ONNX dev branch merge 01-06-2021

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

facebook-github-bot commented Jan 6, 2021

💊 CI failures summary and remediations

As of commit 795c9e1 (more details on the Dr. CI page):


  • 2/2 failures possibly* introduced in this PR
    • 2/2 non-CircleCI failure(s)

ci.pytorch.org: 1 failed


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.

This comment has been revised 11 times.

@H-Huang H-Huang added module: onnx Related to torch.onnx triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module labels Jan 7, 2021
@codecov
Copy link

codecov bot commented Jan 7, 2021

Codecov Report

Merging #50163 (795c9e1) into master (aa18d17) will decrease coverage by 0.04%.
The diff coverage is 70.92%.

@@            Coverage Diff             @@
##           master   #50163      +/-   ##
==========================================
- Coverage   80.68%   80.64%   -0.05%     
==========================================
  Files        1904     1906       +2     
  Lines      206555   207383     +828     
==========================================
+ Hits       166667   167250     +583     
- Misses      39888    40133     +245     

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.

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

@SplitInfinity
Copy link

Just a heads up - unless this stack is created with ghstack, our tooling will squash all these commits into one. The title and body for that commit will be taken from the title of this PR and the contents of your first comment.

@spandantiwari
Copy link
Author

Just a heads up - unless this stack is created with ghstack, our tooling will squash all these commits into one. The title and body for that commit will be taken from the title of this PR and the contents of your first comment.

Hi @SplitInfinity - Thanks for the heads up. Is there no way to capture the commits separately? At the very least, can we put a commit message which captures the titles of main commits as sub-bullets (manually entered)?

So, a message like this:

[ONNX] ONNX dev branch merge 01-06-2021

@SplitInfinity
Copy link

Is there no way to capture the commits separately?

ghstack is the way.

At the very least, can we put a commit message which captures the titles of main commits as sub-bullets (manually entered)?

Yes. Edit the contents of your first comment in this thread to include such a list, and that's what will be included in the commit message by our tooling.

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.

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

@SplitInfinity
Copy link

#50237 is attempting to make a similar change to one of the commits in this stack. If that lands first (which it likely will since it's smaller), you'll have to rebase.

@spandantiwari
Copy link
Author

#50237 is attempting to make a similar change to one of the commits in this stack. If that lands first (which it likely will since it's smaller), you'll have to rebase.

Thanks @SplitInfinity. Now that #50237 has been merged, I will update this PR.

BowenBao and others added 9 commits January 8, 2021 15:29
* [ONNX] Add checks in ONNXSetDynamicInputShape

* [ONNX] Add checks in ONNXSetDynamicInputShape
* Add derive_index

* Add derive_index test

* Adding more tests

* Update symbolic_opset9.py
* update symbolic for unfold

* update symbolic_opse12 file

* update symbolic_opse12 file

* [ONNX] Support onnx if/loop sequence output in opset 13 - (pytorch#49270)

* Symbolic function for torch.square (pytorch#49446)

* instead of a pass use a helper function

* update ort version

* Revert "instead of a pass use a helper function"

This reverts commit 723b446.

* update symbolics

* update symbolic

* update symbolics

* [ONNX] Support onnx if/loop sequence output in opset 13 - (pytorch#49270)

* Symbolic function for torch.square (pytorch#49446)

* empty commit

* fix clang-tidy

* fix clang-tidy

Co-authored-by: Bowen Bao <bowbao@microsoft.com>
Co-authored-by: David Fan <30608893+jiafatom@users.noreply.github.com>
…it is as same as inputs. (pytorch#49798)

* [ONNX] Support onnx if/loop sequence output in opset 13 - (pytorch#49270)

* Symbolic function for torch.square (pytorch#49446)

* [ONNX] Support onnx if/loop sequence output in opset 13 - (pytorch#49270)

* Symbolic function for torch.square (pytorch#49446)

* Update code so that initializers' sequence is as same as inputs.

* Correct the format according to flake8.

* Correct the format by clang-format.

* Add a new test for script model.

* Update expect files for Test_Operators tests.

Co-authored-by: Bowen Bao <bowbao@microsoft.com>
Co-authored-by: David Fan <30608893+jiafatom@users.noreply.github.com>
* Enable opset 13 ORT tests

* Update test.sh

* Set environ var

* Update test.sh

* Enabling more ops for opset 13

* change master to main

* Update symbolic_opset13.py

* Flake 8 fix

* [ONNX] Support onnx if/loop sequence output in opset 13 - (pytorch#49270)

* Symbolic function for torch.square (pytorch#49446)

* Clean up tests

* Exclude more tests

* Trigge build

* [ONNX] Support onnx if/loop sequence output in opset 13 - (pytorch#49270)

* Symbolic function for torch.square (pytorch#49446)

* update ORT version

* disable more tests

* clean up

* flake8

* Disable TV tests

* Update test_pytorch_onnx_onnxruntime.py

Co-authored-by: Bowen Bao <bowbao@microsoft.com>
Co-authored-by: David Fan <30608893+jiafatom@users.noreply.github.com>
* add pass

* add tests

* enable tests

* update dtype symbolic

* update pass

* clang format

* update utils file

* fix clang_tidy errors

* update pass

* update pass

* clang format

* update pass

* update pass

* update pass

* update pass

* update pass

* update pass

* update pass

* update pass

* fix mypy tests

* update comment

* update pass

* add new line

* update pass

* empty commit

* empty commit

* fix merge conflict
@spandantiwari
Copy link
Author

#50237 is attempting to make a similar change to one of the commits in this stack. If that lands first (which it likely will since it's smaller), you'll have to rebase.

Thanks @SplitInfinity. Now that #50237 has been merged, I will update this PR.

Rebased and reconciled with latest master, including #50237.

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.

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

@SplitInfinity
Copy link

@spandantiwari pytorch_linux_xenial_py3_clang7_onnx_ort_test2 appears to have failed. Can you take a look?

@spandantiwari
Copy link
Author

@spandantiwari pytorch_linux_xenial_py3_clang7_onnx_ort_test2 appears to have failed. Can you take a look?

Thanks @SplitInfinity, we are taking a look.

@spandantiwari
Copy link
Author

@spandantiwari pytorch_linux_xenial_py3_clang7_onnx_ort_test2 appears to have failed. Can you take a look?

Thanks @SplitInfinity, we are taking a look.
Updated PR with fix for failing test.

@spandantiwari
Copy link
Author

@SplitInfinity - We have fixed the test failure. In the latest CI, there's a test failing, but it seems unrelated to this PR. In fact we found a couple of other PRs which are seeing the same failure (#50155, #50157), which probably points towards some unrelated issue.
Given that, would it be possible to go ahead with the 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.

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

@SplitInfinity
Copy link

@SplitInfinity - We have fixed the test failure. In the latest CI, there's a test failing, but it seems unrelated to this PR. In fact we found a couple of other PRs which are seeing the same failure (#50155, #50157), which probably points towards some unrelated issue.
Given that, would it be possible to go ahead with the merge?

Yeah, those tests look unrelated. I imported the diff again, I'll let you know how the internal tests look.

@spandantiwari
Copy link
Author

Yeah, those tests look unrelated. I imported the diff again, I'll let you know how the internal tests look.

Thanks @SplitInfinity . :-)
Let me know if there's anything else needed here.

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.

@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 aeefe2c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla signed Merged module: onnx Related to torch.onnx oncall: jit Add this issue/PR to JIT oncall triage queue 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.

None yet

10 participants