Using Ray with pyinstaller

How severe does this issue affect your experience of using Ray?

  • High: It blocks me to complete my task.

I use ray for multiprocessing, works fine in terminal. when compiling with pyinstaller to .exe, the ray is initialised and then multiple instances of the app is opened, one for each thread. Microsoft Windows 10 then crashes

@Carl We have to admit that Ray has not been battled tested on Windows.

Can you check the Ray logs. ray logs --help

I also run into the same issue.
Does anyone have enough experience to come up with a solution or an explanation to this?


cc: @pcmoritz Any insight into the Windows issue?

I ended up with using ray remote with a linux box. It allowed me to get the result I was looking for without the multiple instances opening. The performance of Ray is very good and impressive :blush:

For using directly in Windows, I did not find a solution. Also, the ray log in Windows, I did not understand completely how to use it, because there were so many PID opening, one for each thread

@Carl Am glad that you could use it on Linux. Should we just close this issue then?

Yes we can close the issue, thank you for the support !