When restarting from an existing folder in threaded mode, I get the error message:
/x/mmosbech/miniconda3/envs/myenv/lib/python3.11/multiprocessing/popen_fork.py:66: RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock.
and the code hangs and produces no output, but does not exit.
I do not get this error message when starting in a new folder in threaded mode, and the code runs as normal.
When restarting from an existing folder in threaded mode, I get the error message:
/x/mmosbech/miniconda3/envs/myenv/lib/python3.11/multiprocessing/popen_fork.py:66: RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock.and the code hangs and produces no output, but does not exit.
I do not get this error message when starting in a new folder in threaded mode, and the code runs as normal.