Run your pipeline
You can upload and run your pipeline directly from the pipeline editor. Use either your newly created pipeline or the provided 4-train-save.pipeline file.
You can then track your pipeline run. OpenShift AI uses MLflow for pipeline experiment tracking. An experiment serves as the primary organizational container used to group, manage, and compare related machine learning runs for a specific project.
-
You set the S3 storage bucket keys, as described in Configure storage connections.
-
You configured a pipeline server, as described in Enable AI pipelines.
-
If you created your workbench before the pipeline server was available, you stopped and restarted the workbench.
-
In the JupyterLab pipeline editor toolbar, click Run Pipeline.
-
Enter a name for your pipeline.
-
Verify that the Runtime Configuration: is set to
Pipeline. -
Click OK.
NOTE: If you see an error message stating that "no runtime configuration for Pipelines is defined", you might have created your workbench before the pipeline server was available. To address this error, you must verify that you configured the pipeline server and then restart the workbench.
-
In the OpenShift AI dashboard, open your project and expand the newly created pipeline.
-
Click View runs.
-
Click your run and then view the pipeline run in progress.
-
Navigate to Experiments and then select the default AIP-default experiment. Verify that the
train-saverun shows in the Runs list.MLflow integration for AI pipelines tracks each pipeline run and its individual tasks, letting you compare runs side by side and inspect per-task parameters and metrics, for example, accuracy.
-
(Optional) Run a pipeline generated from Python code
-
Serve the model, as described in Prepare the model for deployment.