Philip MacMenamin
05/20/2022, 9:42 PMPhilip MacMenamin
05/20/2022, 9:42 PMKevin Kho
Philip MacMenamin
05/20/2022, 9:48 PMKevin Kho
Kevin Kho
Philip MacMenamin
05/20/2022, 9:49 PMKevin Kho
Philip MacMenamin
05/20/2022, 9:51 PMPhilip MacMenamin
05/20/2022, 9:51 PMPhilip MacMenamin
05/20/2022, 9:53 PMPhilip MacMenamin
05/20/2022, 9:55 PMKevin Kho
from image_portal_workflows.config import Config hold? Anything Prefect related?Philip MacMenamin
05/20/2022, 10:00 PMPhilip MacMenamin
05/20/2022, 10:02 PMKevin Kho
Kevin Kho
Kevin Kho
Philip MacMenamin
05/20/2022, 10:13 PMKevin Kho
Kevin Kho
Config object that has two parts. One is the executor and number two are the directories. Whenever you pass Config to a task, it passes both of these parts so it passes the Executor that has the context.
In order to send Config to the Dask worker, it has to be serialized by cloudpickle (this is a Dask mechanism), so now Config is getting pickled but then you have the context buried inside it which can’t be pickled.Kevin Kho
SLURM_exec, but something doesn’t pass the “smell test” about having DaskExecutor called in the config so I would just put SLURM_EXECUTOR = SLURM_execPhilip MacMenamin
05/20/2022, 10:45 PM