AttributeError: 'list' object has no attribute 'block_until_ready' #11169
-
When I am using block .block_until_ready() on grad of a function, I am getting following error.
The parameters for which I which I am taking gradient is defined as follows
The entire code is in this colab link hawkesprocess |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Only JAX Arrays have |
Beta Was this translation helpful? Give feedback.
Only JAX Arrays have
.block_until_ready()
, but not pytree. You can usejax.block_until_ready(your_list)
instead, which usetree_map
to call.block_until_ready()
for all leaves.