Replaying runs and steps
Re-run pipelines or individual steps using artifacts from a previous execution.
Replaying a pipeline
from zenml import pipeline, step
@step
def load_data() -> dict:
...
@step
def train(data: dict) -> None:
...
@pipeline
def training_pipeline(data: dict):
train(data=load_data())
# Replay the latest run of this pipeline
training_pipeline.replay()
# Replay a specific run
training_pipeline.replay(pipeline_run="run_name_or_id")Skipping steps
Overriding pipeline parameters
Replaying a single step
Overriding inputs
Using invocation_id
invocation_idDebug mode
Last updated
Was this helpful?