-
-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use process-based parallel computing inside Pluto #1023
Comments
Can you explain what the error is, what you expected and why you think that it is a bug in Pluto? Consider creating a smaller example, we don't know how those packages work. |
The last cell creates a number of parallel Julia processes, each training a portion of ML model (Gradient Boosting model in this case). The example is taken from here: https://alan-turing-institute.github.io/MLJ.jl/dev/#Lightning-tour-1 I do not know how the internals of Pluto work in details (at least yet) but I watched your presentation and I know that you create artificial modules. Probably either this (or some other) mechanism inside Pluto breaks certain assumptions that MLJ makes when it runs training in parallel using Distributed.jl.
I expected all cells including the last one to finish without any errors. I checked that it works when run directly from REPL, from VSCode and from Jupyter Lab.
Because exactly the same code works in REPL, VSCode and Jupyter Lab.
I'll try to come up with something smaller. I really enjoy using Pluto.jl btw, cool project! |
If it's using Distributed, then #300 |
Got it, thanks. |
Duplicate of #300 |
@fonsp JFYI - I ran one more experiment by replacing For now the problem can be formulated as Example-wise it means it hangs after executing the last cell of the following notebook.
|
The last cell in the following notebook
fails with the following error message
The text was updated successfully, but these errors were encountered: