Fabio Grätz
09/06/2021, 5:25 PM//anaconda3/envs/sandbox/lib/python3.8/site-packages/distributed/worker.py:3862: UserWarning: Large object of size 1.65 MiB detected in task graph:
{'task': <Task: load_image_from_bucket>, 'state': ... _parent': True}
Consider scattering large objects ahead of time
with client.scatter to reduce scheduler burden and
keep data on workers
Is it a bad idea to pass e.g. images around between prefect tasks?Kevin Kho
Kevin Kho
pickle
, and then unpickle it on the worker side.Fabio Grätz
09/06/2021, 8:31 PMKevin Kho
cloudpickle
to submit the work. In that case, I suppose the only thing you can do to reduce transfer is to persist things somewhere, but it doesn’t feel efficient either.Kevin Kho
Fabio Grätz
09/07/2021, 10:44 AMKevin Kho
Kevin Kho
Kevin Kho