Error using multiprocessing in Ops (is it allowed?) #32491
Replies: 2 comments 1 reply
-
|
Looks like it does have something to do with the |
Beta Was this translation helpful? Give feedback.
-
|
Hi @whillas-yabble, when using You might want to consider using the There's also this open GitHub issues about running multiprocessing within an asset that might be relevant to you. It talks about a workaround of setting the PYTHONPATH. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
hi,
I'm doing a grid search over some clustering params which is intensive and an 'embarrassingly parallelizable problem' so i just copy pasted from the
concurrent.futuresexamples with my function and it sometimes works. Lately its been half way through the search (running in VSCode debugger, running in a test usingjob.execute_in_process()) and I'm getting this error starting to crop up:Is using multiprocessing inside a dagster Op OK? Is it just because I'm using using
job.execute_in_process()? Something else?Using dagster==1.10.18 & python 3.12.3
Beta Was this translation helpful? Give feedback.
All reactions