You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a computation-intensive function that jax optimizes nicely on a GPU. It turns out most of the actual computation time is dedicated to moving the final result (a jnp.array) back to the host (as a np.array).
Are there any tips as to how speed up this part?
In particular, is there a way to compress the array prior to transferring it back to host?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a computation-intensive function that
jax
optimizes nicely on a GPU. It turns out most of the actual computation time is dedicated to moving the final result (ajnp.array
) back to the host (as anp.array
).Are there any tips as to how speed up this part?
In particular, is there a way to compress the array prior to transferring it back to host?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions