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
RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock. self.pid = os.fork()
#1125
Open
melikaaala opened this issue
Apr 16, 2024
· 4 comments
Hi
I have trained machine learning python code on google colab but I faced this error. Is there any solution for this:
os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock. self.pid = os.fork()
The text was updated successfully, but these errors were encountered:
melikaaala
changed the title
fork deadlock
RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock. self.pid = os.fork()
Apr 16, 2024
Sorry but there is not enough information for me to help you. Please, try to provide a minimal reproducible example involving usage of Loguru.
Right now, I don't understand how the problem you're facing is related to Loguru. As I said, your error is complaining about usage of os.fork() within JAX framework, but Loguru does not make any use of forking.
Hi
I have trained machine learning python code on google colab but I faced this error. Is there any solution for this:
os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock. self.pid = os.fork()
The text was updated successfully, but these errors were encountered: