Mohammed Samir
01/29/2023, 11:06 AMkedro run --env env_name
the pipelines nodes are interchangeable in running order , meaning that it runs as below
pipeline 1 --> Node 1
pipeline 2 ---> Node 1
pipeline 2 --> Node 2
pipeline 3 --> Node 1
pipeline 1 --> Node 2
pipeline 3 --> Node 2
(Note Nodes order in each pipeline is correct but kedro run a node from each pipeline)
However i want them to run in the below order,
pipeline 1 --> Node 1
pipeline 1---> Node 2
pipeline 2 --> Node 1
pipeline 2 --> Node 2
pipeline 3 --> Node 1
pipeline 3 --> Node 2
I have the following config in pipeline_registry -->
return {"__default__": pipeline1 + pipeline2+ pipeline3 + pipeline4 + pipeline5, }
Deepyaman Datta
01/29/2023, 6:22 PMSequentialRunner
runs, but this still wouldn't guarantee anything like this.Mohammed Samir
01/29/2023, 6:48 PM1st pipeline for data loading and preprocessing
, the 2nd one for training and evaluation
, the 3rd for deployment
, the 4th for mlops
,
now its trying to run a node in deployment which tries to deploy a model that didn't actually get trained in pipeline no2. and same applies for most of them.Deepyaman Datta
01/29/2023, 7:57 PMdeployment
tries to deploy a model from training
, then the training
pipeline should write to a model_output
dataset and deployment
should pick up that model_output
dataset, so your dependencies will be defined in your DAG.
If they're separate processes, use an orchestrator to schedule your pipelines, or run them in order yourself (e.g. kedro run --pipeline pipe1 && kedro run --pipeline pipe2 && ...
).