Add pipeline step transformation info (#295)

This commit is contained in:
pollfly
2022-07-27 10:40:54 +03:00
committed by GitHub
parent 4e3f2dc7b8
commit 8afe79d3ee
2 changed files with 8 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ or [functions in your code](#steps-from-functions). When the pipeline runs, the
to the specified structure.
### Steps from Tasks
Creating a pipeline step from an existing ClearML task means that when the step is run, the task will be cloned, and a
Creating a pipeline step from an existing ClearML task means that when the step is run, the task will be cloned, and a
new task will be launched through the configured execution queue (the original task is unmodified). The new tasks
parameters can be [specified](#parameter_override).
@@ -109,6 +109,11 @@ Examples:
Creating a pipeline step from a function means that when the function is called, it will be transformed into a ClearML task,
translating its arguments into parameters, and returning values into artifacts.
:::info Function to ClearML Task conversion
As each function is transformed into an independently executed step, it needs to be self-contained. To facilitate this,
all package imports inside the function are automatically logged as required packages for the pipeline step.
:::
Function steps are added using the [`PipelineController.add_function_step`](../references/sdk/automation_controller_pipelinecontroller.md#add_function_step)
method: