fix: use jax's __setitem__ syntax in ak.merge_union_of_records to make it work with the jax backend#3596
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files
🚀 New features to boost your workflow:
|
ianna
left a comment
There was a problem hiding this comment.
@ikrommyd - thanks for looking into it. As we have discussed during the last meeting, we are refactoring the JAX, VirualArrays, PlaceholerArrays, and TypeTracerArrays code. IMHO, it would be better to have it all in one place. Please, add this to the list of issues to be fixed. Thanks!
|
Well refactoring anything doesn’t touch this. This is just an operation that somewhat accidentally works with cpu but doesn’t work with anything else so I just fixed that. It’s not a super common operation though so please take over the PR as you please. It’s not critical. |
|
Given #3598, I'm chaging this to target the jax branch and setting it to draft mode to be merged later. |
ak.merge_union_of_records work with other backends apart from numpyak.merge_union_of_records work with the jax backend
ak.merge_union_of_records work with the jax backend__setitem__ syntax in ak.merge_union_of_records to make it work with the jax backend
Thanks, as discussed, we are removing both Jax nplike and Jax backend. Please, move this to your fork if your development is based on it. Thanks. |
|
It already lives on my fork. It now targets the |
AFAIK we have no plans to maintain the |
It should not be on this list. Please move it to your fork. I’m closing here. Thanks! |
|
The documentation preview is ready to be viewed at http://preview.awkward-array.org.s3-website.us-east-1.amazonaws.com/PR3596 |
|
@ianna this is the PR I meant today. Just fixes these couple of setitem calls. |
|
@pfackeldey - ping :-) |
ak.merge_union_of_recordsdoesn't currently handle jax's setitem syntax. I'm adding that