Open Matthieu-Tinycoaching opened 3 years ago
I guess you want to have another level of distribution inside filter_rm_duplicates
, right?
I think this is disallowed by dask see similar
https://stackoverflow.com/questions/6974695/python-process-pool-non-daemonic
@goodwanghan I want to use multiprocess ors with Dask to filter my pandas DataFrames with this specific function in order to accelerate my code compared to single core pandas code.
Isn't it possible with fugue_dask?
@Matthieu-Tinycoaching do you mind to share the filter_rm_duplicates
? This should be a very common case and of course Fugue supports. Also this error means dask doesn't allow you to do so not Fugue. But can you let me take a look at the code?
@Matthieu-Tinycoaching if you don't have further question, do you mind I close this issue?
Minimal Code To Reproduce
Describe the bug When launching my fastAPI uvicorn service and making one request I got the following error:
Expected behavior Without having these two lines of code at the beginning:
The code works without error but I want to use mutliprocessing to speedup the execution time.
Environment (please complete the following information):