https://prefect.io logo
Title
p

Paco Ibañez

01/19/2023, 5:43 PM
Hello! I am using a dask task runner for my flow and I was wondering if it is possible to use the dask cluster to run computations other than running prefect tasks. Is there a way to create a dask client and manually submit work to the cluster? thank you!
1
z

Zanie

01/19/2023, 5:45 PM
Yes definitely! There are some utilities for getting a client from within a task https://prefecthq.github.io/prefect-dask/utils/
I’m not sure how they work from within the flow itself — there you might just want to create a client using normal Dask techniques? Feel free to open an issue at
prefect-dask
if you run into problems.
p

Paco Ibañez

01/19/2023, 5:51 PM
great, thanks for the info!