ODH Logo

How to run an AI Pipeline with Elyra

  1. To run the Elyra pipeline created in the previous step, click the “Run” button in the upper left of the UI to start the AI Pipeline.
Elyra AI Pipeline play
  1. After clicking “Run”, you will be presented with a dialogue box where you need to select which runtime environments to use as well as add a name for your pipeline.
  2. Pipeline Name: give it whatever name you want
  3. Runtime Platform: select Kubeflow Pipelines runtime.
  4. Runtime Configuration: the runtime you defined in the last section.

Click “OK” to submit your pipeline.

Elyra AI Pipeline run inputs
  1. Now your pipeline has been submitted, you will see the following dialogue box.
Elyra AI Pipeline run details

Click Run details to move to the Kubeflow Pipeline UI to see what is happening

  1. From here you can check the status of each step in the pipeline directly from the UI and debug from the logs if any problems occur. To view the logs, click on the node and go to the Logs tab.
Notebook Logs

Once the pipeline executes succesfully, you should see a green check mark next to each step.

Successful Kubeflow Pipeline

Once the pipeline completes successfully, the model is stored in your bucket. You can check from your terminal with the aws CLI using the following command:

  aws s3 --profile moc-pipeline-kfp --endpoint https://s3-openshift-storage.apps.zero.massopen.cloud/ ls s3://{your_bucket}/{your_project_name}/models/

where moc-pipeline-kfp is the aws profile containing AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY to access your bucket.

Additional Resources

For more examples on how to create AI pipelines with Elyra, you can use this link.

Next Step

Deploy your model

References