Skip to content
Discussion options

You must be logged in to vote

I think it's a reasonable feature request that JAX should forward buffers without copying them if you do not modify them. We already have logic along those lines for trivial computations, but not for computations that also do some amount of computation.

(It's not really related to pytrees, just to do with how JAX lowers to XLA computations.)

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@dionhaefner
Comment options

Comment options

You must be logged in to vote
3 replies
@mattjj
Comment options

@dionhaefner
Comment options

@dionhaefner
Comment options

Answer selected by dionhaefner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants