How to orchestrate pipelines locally
The local orchestrator is an orchestrator flavor which comes built-in with ZenML and runs your pipelines locally.
The local orchestrator is part of your default stack when you're first getting started with ZenML. Due to it running locally on your machine, it requires no additional setup and is easy to use and debug.
You should use the local orchestrator if:
- you're just getting started with ZenML and want to run pipelines without setting up any cloud infrastructure.
- you're writing a new pipeline and want to experiment and debug quickly
The local orchestrator comes with ZenML and works without any additional setup.
To use the local orchestrator, we can register it and use it in our active stack:
zenml orchestrator register <ORCHESTRATOR_NAME> --flavor=local
# Register and activate a stack with the new orchestrator
zenml stack register <STACK_NAME> -o <ORCHESTRATOR_NAME> ... --set
You can now run any ZenML pipeline using the local orchestrator:
For more information and a full list of configurable attributes of the local orchestrator, check out the API Docs.