Relative Content

Tag Archive for kubeflowkubeflow-pipelines

What causes a TypeError under all conditions on Kubeflow KFP v2.0.0+?

kfp==2.8.0 # and on 2.7.0 kfp-pipeline-spec==0.3.0 kfp-server-api==2.0.5 Example code: from kfp import dsl import kfp @dsl.component def add(a: float, b: float) -> float: ”’Calculates sum of two arguments”’ return a + b @dsl.pipeline( name=’Addition pipeline’, description=’An example pipeline that performs addition calculations.’) def add_pipeline( a: float = 1.0, b: float = 7.0, ): first_add_task = […]

What causes a TypeError under all conditions on Kubeflow KFP v2.0.0+?

kfp==2.8.0 # and on 2.7.0 kfp-pipeline-spec==0.3.0 kfp-server-api==2.0.5 Example code: from kfp import dsl import kfp @dsl.component def add(a: float, b: float) -> float: ”’Calculates sum of two arguments”’ return a + b @dsl.pipeline( name=’Addition pipeline’, description=’An example pipeline that performs addition calculations.’) def add_pipeline( a: float = 1.0, b: float = 7.0, ): first_add_task = […]

What causes a TypeError under all conditions on Kubeflow KFP v2.0.0+?

kfp==2.8.0 # and on 2.7.0 kfp-pipeline-spec==0.3.0 kfp-server-api==2.0.5 Example code: from kfp import dsl import kfp @dsl.component def add(a: float, b: float) -> float: ”’Calculates sum of two arguments”’ return a + b @dsl.pipeline( name=’Addition pipeline’, description=’An example pipeline that performs addition calculations.’) def add_pipeline( a: float = 1.0, b: float = 7.0, ): first_add_task = […]

Getting an error on KFP examples; what could be the cause?

kfp==2.8.0 kfp-pipeline-spec==0.3.0 kfp-server-api==2.0.5 Example code: from kfp import dsl import kfp @dsl.component def add(a: float, b: float) -> float: ”’Calculates sum of two arguments”’ return a + b @dsl.pipeline( name=’Addition pipeline’, description=’An example pipeline that performs addition calculations.’) def add_pipeline( a: float = 1.0, b: float = 7.0, ): first_add_task = add(a=a, b=4.0) second_add_task = […]

How to use Output/OutputPath in kubeflow v2.0?

I am very new to the kuebflow and I am trying to use create component with containerized python component. I was able to do some progress but I dont know how to use OutputPath and Output in my pipeline flow. I need some help here.