Replies: 4 comments 4 replies
|
Can confirm this on Python 3.10 on Debian |
|
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. |
|
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 |
|
I got the idea of thread local + filelock. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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
All reactions