Running your pipeline

Upload the pipeline on your cluster and run it. You can do so directly from the pipeline editor. You can use your own newly created pipeline or the pipeline in the provided 6 Train Save.pipeline file.

Prerequisites
Procedure
  1. Click the play button in the toolbar of the pipeline editor.

    Pipeline Run Button
  2. Enter a name for your pipeline.

  3. Verify that the Runtime Configuration: is set to Data Science Pipeline.

  4. Click OK.

    If you see an error message stating that "no runtime configuration for Data Science Pipeline 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.

    1. Follow these steps in the OpenShift AI dashboard:

    2. Check the status of the pipeline server:

      1. In your Fraud Detection project, click the Pipelines tab.

        • If you see the Configure pipeline server option, follow the steps in Enabling data science pipelines.

        • If you see the Import a pipeline option, the pipeline server is configured. Continue to the next step.

    3. Restart your Fraud Detection workbench:

      1. Click the Workbenches tab.

      2. Click Stop and then click Stop workbench.

      3. After the workbench status is Stopped, click Start.

      4. Wait until the workbench status is Running.

    4. Return to your workbench’s JupyterLab environment and run the pipeline.

  5. In the OpenShift AI dashboard, open your data science project and expand the newly created pipeline.

    New pipeline expanded
  6. Click View runs.

    View runs for selected pipeline
  7. Click your run and then view the pipeline run in progress.

    Pipeline run progress
Verification

The models/fraud/1/model.onnx file is in your S3 bucket. You can serve the model, as described in Preparing a model for deployment.