Choenden Kyirong
10/20/2023, 7:35 PMDaskTaskRunner
) within a google cloud run job? I seem to be running into some issues with the execution of the tasks that are using dask.
I tested this out locally with no issues but when using default dask within cloud run i run into some problems. This may also be a bad choice to do for reasons unknown to me at the moment! A better approach may be to actually setup a dask cluster separately but just trying this approach for now…
For the google cloud run testing, the tasks that are not using dask run fine. Moreover, if i switch to the sequential task runner all tasks work fine.Jake Kaplan
10/20/2023, 8:35 PMChoenden Kyirong
10/20/2023, 8:57 PMChoenden Kyirong
10/20/2023, 8:59 PMPYTHONPATH
(via cloud run job work pool configuration) is not passed over into dasks execution space? I’m not entirely sure how dask works completely underneath the hood. @Jake KaplanJake Kaplan
10/20/2023, 9:01 PMJake Kaplan
10/20/2023, 9:01 PMChoenden Kyirong
10/20/2023, 9:01 PMChoenden Kyirong
10/20/2023, 9:03 PMChoenden Kyirong
10/20/2023, 9:05 PMPYTHONPATH
not being relevant for each parallel job. I could be way off track here though.Jake Kaplan
10/20/2023, 9:08 PMChoenden Kyirong
10/20/2023, 9:13 PM