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
When we try to compile a function from a computational graph that initially included an RNG shared variable, where the RNG can be taken out of the FunctionGraph thanks to rewrite simplifications, the RNG still shows up in the fgraph.inputs list, even though the shared variable isn't in the fgraph.variables list. If the function gets compiled using the JAX mode, this raises a ValueError when the function tries to replace the original RNGs with copies:
Description
When we try to compile a function from a computational graph that initially included an RNG shared variable, where the RNG can be taken out of the
FunctionGraph
thanks to rewrite simplifications, the RNG still shows up in thefgraph.inputs
list, even though the shared variable isn't in thefgraph.variables
list. If the function gets compiled using theJAX
mode, this raises aValueError
when the function tries to replace the originalRNG
s with copies:Minimum reproducible example
Raises
The text was updated successfully, but these errors were encountered: