Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the id of the run from within a component?

I'm doing some experimentation with Kubeflow Pipelines and I'm interested in retrieving the run id to save along with some metadata about the pipeline execution. Is there any way I can do so from a component like a ContainerOp?

like image 350
DSF Avatar asked Jul 15 '19 21:07

DSF


1 Answers

You can use kfp.dsl.EXECUTION_ID_PLACEHOLDER and kfp.dsl.RUN_ID_PLACEHOLDER as arguments for your component. At runtime they will be replaced with the actual values.

like image 74
Ark-kun Avatar answered Oct 01 '22 00:10

Ark-kun