Replies: 4 comments 4 replies
-
Can confirm this on Python 3.10 on Debian |
Beta Was this translation helpful? Give feedback.
-
I think the major pain here, as I dive deeper in the code, compile lock is called recursively. And compilation really relies on the fact there is a single process. |
Beta Was this translation helpful? Give feedback.
-
Theano always claimed to not be thread safe. You can however copy a function before threading, which also avoids costly recompilation https://theano-pymc.readthedocs.io/en/latest/tutorial/examples.html#copying-functions |
Beta Was this translation helpful? Give feedback.
-
I got the idea of thread local + filelock. |
Beta Was this translation helpful? Give feedback.
-
Aesara is not threadsafe
Please provide a minimal, self-contained, and reproducible example.
Please provide the full traceback of any errors.
Please provide any additional information below.
Versions and main components
Beta Was this translation helpful? Give feedback.
All reactions