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
I am trying to run a PyMC model with the nutpie sampler, but initialization seems to be very slow and sampling does not start with these Warning statements:
C:\Users\TsubasaTakaya\miniconda3\envs\pymc_env\Lib\site-packages\pytensor\link\numba\dispatch\basic.py:379: UserWarning: Numba will use object mode to run AdvancedSetSubtensor's perform method
warnings.warn(
C:\Users\TsubasaTakaya\miniconda3\envs\pymc_env\Lib\site-packages\pytensor\link\numba\dispatch\basic.py:379: UserWarning: Numba will use object mode to run AdvancedSetSubtensor's perform method
warnings.warn(
C:\Users\TsubasaTakaya\miniconda3\envs\pymc_env\Lib\site-packages\nutpie\compile_pymc.py:416: NumbaWarning: Cannot cache compiled function "numba_funcified_fgraph" as it uses dynamic globals (such as ctypes pointers and large global arrays)
return inner(x)
C:\Users\TsubasaTakaya\miniconda3\envs\pymc_env\Lib\site-packages\nutpie\compile_pymc.py:416: NumbaWarning: Cannot cache compiled function "numba_funcified_fgraph" as it uses dynamic globals (such as ctypes pointers and large global arrays)
return inner(x)
How can I fix this issue? I am using nutpie==0.10.0, numba==0.59.1, pymc==5.13.0.
The text was updated successfully, but these errors were encountered:
Yeah if it's using objmode it'll be very slow. Here seems to be the relevant issue: pymc-devs/pytensor#772 Pull requests are welcome, we're happy to help :).
The slow starting is probably just known compilation times in Numba. Should get better with pymc-devs/pytensor#765 which is part of PyTensor 2.21.0. The next PyMC release should be compatible with it
I am trying to run a PyMC model with the nutpie sampler, but initialization seems to be very slow and sampling does not start with these Warning statements:
How can I fix this issue? I am using nutpie==0.10.0, numba==0.59.1, pymc==5.13.0.
The text was updated successfully, but these errors were encountered: