- 
                Notifications
    
You must be signed in to change notification settings  - Fork 97
 
          fix: use jax's __setitem__ syntax in ak.merge_union_of_records to make it work with the jax backend
          #3596
        
          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
Conversation
          Codecov Report❌ Patch coverage is  
 Additional details and impacted files
 🚀 New features to boost your workflow:
  | 
    
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.
@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.  | 
    
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.
@ikrommyd - great! Thank you.
| 
           @pfackeldey - ping :-)  | 
    
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.
LGTM! 👍
ak.merge_union_of_recordsdoesn't currently handle jax's setitem syntax. I'm adding that