ValueError('signal only works in main thread') #9589
-
Has anyone else run into this error: I'm running a hyper parameter sweep using Weights and Biases's framework. Running on a GPU on Google Colab which causes all launched runs to fail. Running it locally (Mac OS) prompts 'signal only works in main thread' to be printed to stdout (which also happens on Colab) but it doesn't crash. Any ideas? It seems people using Ray with PL have come across this. The hacky solution presented there ( |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 11 replies
-
Hi @maxwass Does this notebook work if you run it locally? I have another example but it may be outdated with latest PL versions (haven't tested it recently). |
Beta Was this translation helpful? Give feedback.
-
Update: My code successfully runs on an aws server, and my local Mac printing 'signal only works in main thread', but does not fail. On Colab, it fails with |
Beta Was this translation helpful? Give feedback.
-
Now running on Colab and no longer getting the printed |
Beta Was this translation helpful? Give feedback.
-
@max0x7ba @borisdayma The issue has been with #10610 |
Beta Was this translation helpful? Give feedback.
-
A regression was introduced in version 1.5.5 and the problem returned. |
Beta Was this translation helpful? Give feedback.
@max0x7ba @borisdayma The issue has been with #10610