-
Notifications
You must be signed in to change notification settings - Fork 45
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] Mark more functions as traceable #1569
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1569 +/- ##
==========================================
- Coverage 77.54% 77.52% -0.02%
==========================================
Files 216 216
Lines 23340 23337 -3
Branches 4023 4022 -1
==========================================
- Hits 18098 18092 -6
- Misses 4462 4464 +2
- Partials 780 781 +1 ☔ View full report in Codecov by Sentry. |
Test Results 29 files ± 0 29 suites ±0 2h 55m 16s ⏱️ - 7m 29s For more details on these failures and errors, see this check. Results for commit 8cf951c. ± Comparison against base commit 19f4e26. This pull request removes 5 and adds 1414 tests. Note that renamed tests count towards both.
This pull request removes 1 skipped test and adds 335 skipped tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
@@ -60,15 +60,15 @@ | |||
Rank = common_ops.Rank | |||
|
|||
|
|||
@torch_op("aten::_local_scalar_dense") | |||
@torch_op("aten::_local_scalar_dense", traceable=True) |
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.
Just to check, is there any logic in the unit tests to check the conversion when trace only is enabled/disabled?
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.
Yes. It is tested with experimental-torchlib-tracing
. Now that tracing is default I needed to set the non-trace flag and configure the pipeline to test the scripted versions.
@shubhambhokare1 The next step would be simply find out which ones are not traceable from the test results. Either remove the traceable tag or rewrite the functions as |
cc @shubhambhokare1