Start (and Stop) a Pipeline Execution
You can start and stop a pipeline execution in the Amazon SageMaker Studio console. For information on how to view a list of pipeline executions, see View a Pipeline.
To start and stop a pipeline execution in the Amazon SageMaker Studio console, complete the following steps based on whether you use Studio or Studio Classic.
- Studio
-
To start a pipeline execution
-
Open the SageMaker Studio console by following the instructions in Launch Amazon SageMaker Studio.
-
In the left navigation pane, select Pipelines.
-
(Optional) Use search to narrow the list of pipelines by name.
-
Select a pipeline name. The Executions page opens and displays a list of pipeline executions.
-
You can create an execution from either the Executions or Graph pages. To create an execution from the Executions page, choose Create. To create an execution from the Graph page, choose Graph in the left panel and then Create execution in the top right of the page.
-
Enter or update the following required information:
-
Name – A name unique to your account in the AWS Region.
-
Description – An optional description for your execution.
-
ProcessingInstanceType – The EC2 instance type to use for the processing job.
-
TrainingInstanceType – The EC2 instance type to use for the training job
-
InputData – The S3 URI to the input data.
-
PreprocessScript – The S3 URI to the preprocessing script.
-
EvaluateScript – The S3 URI to the model evaluation script.
-
AccuracyConditionThreshold – The threshold of model accuracy to achieve to register the model into the registry.
-
ModelGroup – The registry into which to register the model.
-
MaximumParallelTrainingJobs – The maximum number of training jobs to run in parallel.
-
MaximumTrainingJobs – The maximum number of training jobs to run.
-
-
Choose Create.
To stop a pipeline execution
-
In the left navigation pane, select Pipelines.
-
(Optional) Use search to narrow the list of pipelines by name.
-
Select a pipeline name. The Executions page opens and displays a list of pipeline executions.
-
Select the execution to stop.
-
Choose Stop.
To resume a stopped pipeline execution
-
In the left navigation pane, select Pipelines.
-
(Optional) Use search to narrow the list of pipelines by name.
-
Select a pipeline name. The Executions page opens and displays a list of pipeline executions.
-
Select the execution to resume.
-
Choose Resume.
-
- Studio Classic
-
To start, stop, or resume a pipeline execution
-
Sign in to Amazon SageMaker Studio Classic. For more information, see Launch Amazon SageMaker Studio Classic.
-
In the Studio Classic sidebar, choose the Home icon (
).
-
Select Pipelines from the menu.
-
Use search to narrow the list of pipelines by name.
-
Select a pipeline name.
-
From the Executions or Graph tab in the execution list, choose Create execution.
-
Enter or update the following required information:
-
Name – Must be unique to your account in the AWS Region.
-
ProcessingInstanceCount – The number of instances to use for processing.
-
ModelApprovalStatus – For your convenience.
-
InputDataUrl – The S3 URI of the input data.
-
-
Choose Start.
-
To see details of the execution or to stop the execution, choose View details on the status banner.
To stop the execution, choose Stop on the status banner.
To resume the execution from where it was stopped, choose Resume on the status banner.
Note
If your pipeline fails, the status banner will show Failed status. After troubleshooting the failed step, choose Retry on the status banner to resume running the pipeline from that step.
For a list of registered models, see Automate MLOps with SageMaker Projects.
-