Run an individual step
If you want to run just an individual step on your stack, you can simply call the step as you would with a normal Python function. ZenML will internally create a pipeline with just your step and run it on the active stack.
The pipeline run that will happen to execute your step will be unlisted
, which means it will not be associated with any pipeline. You can still see it in the "Runs" tab of the dashboard.
Run the underlying step function directly
If you instead want to run your step function without ZenML getting involved, you can use the entrypoint(...)
method of a step:
If you want to make this the default behavior when calling a step, you can set the ZENML_RUN_SINGLE_STEPS_WITHOUT_STACK
environment variable to True
. Once you do that, calling svc_trainer(...)
will simply call the underlying function and not use your ZenML stack.
Last updated