-
Notifications
You must be signed in to change notification settings - Fork 93
Update aten_index_put implementation #2712
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Ganesan Ramalingam <[email protected]>
Signed-off-by: Ganesan Ramalingam <[email protected]>
Signed-off-by: Ganesan Ramalingam <[email protected]>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2712 +/- ##
==========================================
+ Coverage 70.04% 70.06% +0.02%
==========================================
Files 226 226
Lines 27177 27262 +85
Branches 2734 2753 +19
==========================================
+ Hits 19036 19101 +65
- Misses 7197 7210 +13
- Partials 944 951 +7 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Ganesan Ramalingam <[email protected]>
Signed-off-by: Ganesan Ramalingam <[email protected]>
| test(shape_6x6x6, [None, 0, [0, 1]], (6, 2), "contiguous_scalar_index_and_1d_index") | ||
| # (TODO): Exporter doesn't yet support all None indices | ||
| # test(shape_6x6x6, [None, None, None], shape_6x6x6, "all_none_indices") | ||
|
|
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.
Is it possible to add the unit test from PR #2641?
|
|
||
| # Bring advanced indices to front: | ||
| perm = advanced_indices + none_indices | ||
| transposed = op.Transpose(self, perm=perm) |
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.
At some point, we should measure the performance of those additional Transpose. I don't think that's always the most efficient strategy (in term of computation performance). I wanted to avoid them in my PR (#2641).
Update aten_index_put implementation in torchlib.