Open Pjm1231 opened 4 months ago
from kfp import dsl from kfp import compiler
@dsl.pipeline def my_pipeline(message: str): """My ML pipeline."""
compiler.Compiler().compile( pipeline_func=my_pipeline, package_path='pipeline.yaml' )
from kfp import dsl from kfp import compiler
@dsl.pipeline def my_pipeline(message: str): """My ML pipeline."""
Define your pipeline's steps and operations here
Compile the pipeline function to pipeline.yaml
compiler.Compiler().compile( pipeline_func=my_pipeline, package_path='pipeline.yaml' )