Hey everyone. I'm preparing a large batch job (256...
# flyte-v1-support
p
Hey everyone. I'm preparing a large batch job (256 parallel tasks), I noticed this "max parallelism" under domain settings in flyte console. • What is this limit exactly? • How can I adjust it? Can't really find anything on it in the (legacy) docs.
f
You can adjust per run
Also 256 should not be large šŸ˜€
p
Yeah I want to do more, but GKE in our region has no more gpus available šŸ˜„
f
Got it
p
You can adjust per run
but what is it?
f
Parallelism limits how many will run at once
p
how many tasks? but i can already see i got more than 25 running, despite the limit written there
f
Within one graph - how many nodes
For map tasks you can adjust concurrency at map level
p
i have a dynamic workflow, not map task
maybe that's the reason why i dont hit the limits
e
I think you can look into the docs here: https://www.union.ai/docs/v1/flyte/deployment/flyte-configuration/customizable_resources/#workflow-execution-configuration Or you can set this through launch plan or through
default_options
in workflow
Copy code
LaunchPlan.create(..., max_parallelism=256)
Copy code
from flytekit.core.options import Options
@workflow(
      default_options=Options(max_parallelism=100)
  )
ā˜ļø 1