Replies: 1 comment
-
Hi - thanks for the question! The issue here is that The solution would be to use some sort of callback (See External Callbacks for an intro to these); likely either The simplest approach would be to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear developers,
Hello! I encountered a difficult problem while using jax, and I hope to get your help here. I have tried various methods, but the problem still persists, so I decided to seek advice from you.





We aim to export the data generated throughout the calculation process. However, I encounter certain errors when attempting to do so.
In this photo, my intention was to print(x), yet we are only able to print the data type instead.
I searched for a solution on Google. It suggests using
jax.config.update('jax_disable_jit', True)
. After that, I can print the specific data.However, we are unable to save this data.
So, what's the proper way to save this data?
Would the solution be to use a jax.pure_callback or more appropriately a jax.experimental.io_Callback if you want to save to file?
Beta Was this translation helpful? Give feedback.
All reactions