Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile a Pipeline #3679

Open
Pjm1231 opened this issue Feb 17, 2024 · 0 comments
Open

Compile a Pipeline #3679

Pjm1231 opened this issue Feb 17, 2024 · 0 comments

Comments

@Pjm1231
Copy link

Pjm1231 commented Feb 17, 2024

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'
)

@kubeflow-bot kubeflow-bot added this to To Do in Needs Triage Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant