-
-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Numba backend does not support RandomStream
#801
Comments
For supporting something like that in Numba backend (calling aesara/aesara/link/numba/dispatch/random.py Lines 51 to 79 in a0604e5
The main problem however is that Numba still relies on the old seeding interface i.e. It only has global seeding and not class based seeding logic like the one relied on by |
There's an open issue for this in Numba: numba/numba#4499 |
RandomStream
Now that Generators are supported in Numba, we can go ahead and support |
The following code uses a
RandomStream
to define random variables and buid a simple logprob function withjoint_logprob
:It is problematic since the current implementation of HMC/NUTS relies on
RandomStreams
and its autoupdate feature inside ofScan
ops. Is there any fundamental incompatibility or is it just not implemented yet?The text was updated successfully, but these errors were encountered: