Is there a way to know if I have accidently used an impure function with @jit? #10116
Unanswered
patel-zeel
asked this question in
Q&A
Replies: 1 comment
-
Maybe impossible. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am very new to
jax
and I encountered one issue working with@jit
functions. As per documentation, I saw thatjax
operations work best on pure functions. However is there a way for users to know if they have accidently used@jit
over an impure function? Below is the minimum working example of my problem:Output
In the output, I do not see any warning or error showing that something went wrong here.
Beta Was this translation helpful? Give feedback.
All reactions