Parallel execution on single machine? #3620
-
Can I run with parallel execution on a single machine? This is for an offline workflow, doesn't need to be deployed, just can be manually run in "local" mode from the devserver that dagster is installed on.
I've already set up a dagster pipeline but couldn't figure out how to configure parallel execution Alternatives: Airflow I think supports a parallel executor config. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @liezl200 👋 thanks for asking and sorry this isn't more discoverable in our docs! Yes, it's easy to run solids in parallel. All that's needed is to add this snippet to your run configuration (feel free to change the number
Please let me know if that's what you're looking for! docs: https://docs.dagster.io/_apidocs/execution#dagster.multiprocess_executor |
Beta Was this translation helpful? Give feedback.
-
There's an input error for fs_io_manager. Is there another import statement I should be using @sryza ? I tried:
I was on [package.dependencies] Updated and had the same issue [package.dependencies]
Stack Trace: The above exception was the direct cause of the following exception: Stack Trace: |
Beta Was this translation helpful? Give feedback.
Hi @liezl200 👋 thanks for asking and sorry this isn't more discoverable in our docs! Yes, it's easy to run solids in parallel. All that's needed is to add this snippet to your run configuration (feel free to change the number
4
):Please let me know if that's what you're looking for!
docs: https://docs.dagster.io/_apidocs/execution#dagster.multiprocess_executor