-
Notifications
You must be signed in to change notification settings - Fork 57
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
[torchlib] Fix more signatures #1613
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1613 +/- ##
==========================================
- Coverage 75.84% 75.67% -0.18%
==========================================
Files 240 240
Lines 25500 25495 -5
Branches 4540 4549 +9
==========================================
- Hits 19341 19293 -48
- Misses 5269 5295 +26
- Partials 890 907 +17 ☔ View full report in Codecov by Sentry. |
Test Results 30 files ± 0 30 suites ±0 1h 13m 52s ⏱️ - 2h 6m 24s For more details on these failures, see this check. Results for commit b702136. ± Comparison against base commit c332202. This pull request removes 4817 and adds 2577 tests. Note that renamed tests count towards both.
This pull request removes 19 skipped tests and adds 664 skipped tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please run this change with main torch to make sure there is no broken op tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lintrunner found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
CI failures unrelated |
Signed-off-by: Xavier Dupre <[email protected]>
In the modularization pass in the exporter, a single node like `clone` can be lifted as a function. If we remove the only Identity node the lifted function will have no nodes. This violates the ONNX standard. Since removing identity nodes is fast, we are safe to include these identity nodes in the torchlib. onnxscript/tools/transformers_models/phi_test.py broke after #1613, it is fixed by this change. --------- Signed-off-by: Xavier Dupre <[email protected]> Co-authored-by: Justin Chu <[email protected]>
Fix more signatures in torchlib that were previously overlooked