https://prefect.io logo
Title
m

Mohit Singhal

12/22/2022, 12:46 PM
Hi here, how can I run same subflow multiple times parallely?
a

Anna Geller

12/22/2022, 2:12 PM
m

Mohit Singhal

12/23/2022, 5:14 AM
I tried but subflows are not getting started..they kind of stuck
j

Jeff Hale

12/23/2022, 2:43 PM
If you need parallelization, it’s generally easier to achieve with one flow that uses the Dask or Ray task runners. You just
.submit()
your tasks to them. If that meets your needs, check out this section of the docs on task runners.
m

Mohit Singhal

12/23/2022, 2:44 PM
I need to execute same flow parallelly with a different parameter
I have parallelized the tasks but I also need to execute same flow three time time and that too parallelly with a diff. parameter each time
j

Jeff Hale

12/23/2022, 2:49 PM
Gotcha. If you can open a bug report issue on GitHub with a minimum reproducible example, that would be helpful and get more eyes on the problem.