Skip to content

[Migration][DO NOT MERGE] Fix and enable all new tests #1331

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

Closed
wants to merge 6 commits into from

Conversation

BowenBao
Copy link
Contributor

@BowenBao BowenBao commented Apr 1, 2024

- Somewhat unrelated: moved "tests" folder out of "onnxscript".
- Updated import paths in copied code.
- Updated testdata lookup path due to relative path changes.
- Discovered an issue with installing via "pip install -e .".
- Fixed a few issues of code under "ir" that doesn't work under python 3.8, or onnx w/ ir_version < 10.

All CI tests except for linter are expected to pass.

[ghstack-poisoned]
BowenBao added a commit that referenced this pull request Apr 1, 2024
- Somewhat unrelated: moved "tests" folder out of "onnxscript".
- Updated import paths in copied code.
- Updated testdata lookup path due to relative path changes.
- Discovered an issue with installing via "pip install -e .".
- Fixed a few issues of code under "ir" that doesn't work under python 3.8, or onnx w/ ir_version < 10.

All CI tests except for linter are expected to pass.

ghstack-source-id: f9675b6
Pull Request resolved: #1331
@BowenBao BowenBao changed the title [Migration] Fix and enable all new tests [Migration][DO NOT MERGE] Fix and enable all new tests Apr 1, 2024
Copy link

codecov bot commented Apr 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.03%. Comparing base (ea02821) to head (ea02821).

❗ Current head ea02821 differs from pull request most recent head ef55796. Consider uploading reports for the commit ef55796 to get more accurate results

Additional details and impacted files
@@                 Coverage Diff                  @@
##           gh/BowenBao/23/base    #1331   +/-   ##
====================================================
  Coverage                61.03%   61.03%           
====================================================
  Files                      185      185           
  Lines                    22112    22112           
  Branches                  3664     3664           
====================================================
  Hits                     13497    13497           
  Misses                    8216     8216           
  Partials                   399      399           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -1,19 +1,29 @@
# -------------------------------------------------------------------------

Check warning

Code scanning / lintrunner

RUFF/format

Run `lintrunner -a` to apply this patch.
@@ -1,19 +1,29 @@
# -------------------------------------------------------------------------

Check warning

Code scanning / lintrunner

RUFF-FORMAT/format

Run `lintrunner -a` to apply this patch.
@@ -1,5 +1,5 @@
from onnxrewriter.rewriter import pattern
from onnxrewriter.rewriter.broadcast_to_matmul import check_if_need_reshape
from onnxscript.rewriter import pattern

Check warning

Code scanning / lintrunner

RUFF/format

Run `lintrunner -a` to apply this patch.
@@ -1,5 +1,5 @@
from onnxrewriter.rewriter import pattern
from onnxrewriter.rewriter.broadcast_to_matmul import check_if_need_reshape
from onnxscript.rewriter import pattern

Check warning

Code scanning / lintrunner

RUFF-FORMAT/format

Run `lintrunner -a` to apply this patch.
Copy link

github-actions bot commented Apr 1, 2024

Test Results

    24 files      24 suites   19m 47s ⏱️
 8 173 tests  6 330 ✅ 1 843 💤 0 ❌
22 749 runs  18 318 ✅ 4 431 💤 0 ❌

Results for commit ef55796.

♻️ This comment has been updated with latest results.

BowenBao added 2 commits April 1, 2024 17:19
…RGE] Fix and enable all new tests"


- Somewhat unrelated: moved "tests" folder out of "onnxscript".
- Updated import paths in copied code.
- Updated testdata lookup path due to relative path changes.
- Discovered an issue with installing via "pip install -e .". #1327
- Fixed a few issues of code under "ir" that doesn't work under python 3.8, or onnx w/ ir_version < 10.

All CI tests except for linter are expected to pass.

[ghstack-poisoned]
…e all new tests"


- Somewhat unrelated: moved "tests" folder out of "onnxscript".
- Updated import paths in copied code.
- Updated testdata lookup path due to relative path changes.
- Discovered an issue with installing via "pip install -e .". #1327
- Fixed a few issues of code under "ir" that doesn't work under python 3.8, or onnx w/ ir_version < 10.

All CI tests except for linter are expected to pass.

[ghstack-poisoned]
… and enable all new tests"


- Somewhat unrelated: moved "tests" folder out of "onnxscript".
- Updated import paths in copied code.
- Updated testdata lookup path due to relative path changes.
- Discovered an issue with installing via "pip install -e .". #1327
- Fixed a few issues of code under "ir" that doesn't work under python 3.8, or onnx w/ ir_version < 10.

All CI tests except for linter are expected to pass.

[ghstack-poisoned]
- Somewhat unrelated: moved "tests" folder out of "onnxscript".
- Updated import paths in copied code.
- Updated testdata lookup path due to relative path changes.
- Discovered an issue with installing via "pip install -e .". #1327
- Fixed a few issues of code under "ir" that doesn't work under python 3.8, or onnx w/ ir_version < 10.

All CI tests except for linter are expected to pass.

[ghstack-poisoned]
…le all new tests"


- Somewhat unrelated: moved "tests" folder out of "onnxscript".
- Updated import paths in copied code.
- Updated testdata lookup path due to relative path changes.
- Discovered an issue with installing via "pip install -e .". #1327
- Fixed a few issues of code under "ir" that doesn't work under python 3.8, or onnx w/ ir_version < 10.

All CI tests except for linter are expected to pass.

[ghstack-poisoned]
BowenBao added a commit that referenced this pull request Apr 4, 2024
Squashed of the following steps:
- #1328
- #1329
- #1330
- #1331
- #1332
- #1333
- #1343
- #1345

Co-authored-by: Shubham Bhokare <[email protected]>
Co-authored-by: Justin Chu <[email protected]>
Co-authored-by: Xavier Dupré <[email protected]>
Co-authored-by: "G. Ramalingam" <[email protected]>
Co-authored-by: kunal-vaishnavi <[email protected]>
Co-authored-by: Ti-Tai Wang <[email protected]>

[ghstack-poisoned]
@BowenBao BowenBao mentioned this pull request Apr 4, 2024
BowenBao added a commit that referenced this pull request Apr 5, 2024
Squashed of the following steps:
- #1328
- #1329
- #1330
- #1331
- #1332
- #1333
- #1343
- #1345

Co-authored-by: Shubham Bhokare <32080845+shubhambhokare1users.noreply.github.com>
Co-authored-by: Justin Chu <justinchubyusers.noreply.github.com>
Co-authored-by: Xavier Dupré <xadupreusers.noreply.github.com>
Co-authored-by: "G. Ramalingam" <gramamicrosoft.com>
Co-authored-by: kunal-vaishnavi <115581922+kunal-vaishnaviusers.noreply.github.com>
Co-authored-by: Ti-Tai Wang <titaiwangmicrosoft.com>

[ghstack-poisoned]
BowenBao added a commit that referenced this pull request Apr 5, 2024
Squashed of the following steps:
- #1328
- #1329
- #1330
- #1331
- #1332
- #1333
- #1343
- #1345

Co-authored-by: Shubham Bhokare <32080845+shubhambhokare1users.noreply.github.com>
Co-authored-by: Justin Chu <justinchubyusers.noreply.github.com>
Co-authored-by: Xavier Dupré <xadupreusers.noreply.github.com>
Co-authored-by: "G. Ramalingam" <gramamicrosoft.com>
Co-authored-by: kunal-vaishnavi <115581922+kunal-vaishnaviusers.noreply.github.com>
Co-authored-by: Ti-Tai Wang <titaiwangmicrosoft.com>

[ghstack-poisoned]
BowenBao added a commit that referenced this pull request Apr 5, 2024
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at
bottom):
* #1334
* #1340
* __->__ #1346

Squashed of the following steps:
- #1328
- #1329
- #1330
- #1331
- #1332
- #1333
- #1343
- #1345

Co-authored-by: Shubham Bhokare
<[email protected]>
Co-authored-by: Justin Chu <[email protected]>
Co-authored-by: Xavier Dupré <[email protected]>
Co-authored-by: "G. Ramalingam" <[email protected]>
Co-authored-by: kunal-vaishnavi
<[email protected]>
Co-authored-by: Ti-Tai Wang <[email protected]>
@BowenBao
Copy link
Contributor Author

BowenBao commented Apr 5, 2024

Close as squashed and merged into main.

@BowenBao BowenBao closed this Apr 5, 2024
@justinchuby justinchuby deleted the gh/BowenBao/23/head branch January 27, 2025 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants