freshcrate

kfp

Kubeflow Pipelines SDK

Description

Kubeflow Pipelines is a platform for building and deploying portable, scalable machine learning workflows based on Docker containers within the [Kubeflow](https://www.kubeflow.org/) project. Use Kubeflow Pipelines to compose a multi-step workflow ([pipeline](https://www.kubeflow.org/docs/components/pipelines/concepts/pipeline/)) as a [graph](https://www.kubeflow.org/docs/components/pipelines/concepts/graph/) of containerized [tasks](https://www.kubeflow.org/docs/components/pipelines/concepts/step/) using Python code and/or YAML. Then, [run](https://www.kubeflow.org/docs/components/pipelines/concepts/run/) your pipeline with specified pipeline arguments, rerun your pipeline with new arguments or data, [schedule](https://www.kubeflow.org/docs/components/pipelines/concepts/run-trigger/) your pipeline to run on a recurring basis, organize your runs into [experiments](https://www.kubeflow.org/docs/components/pipelines/concepts/experiment/), save machine learning artifacts to compliant [artifact registries](https://www.kubeflow.org/docs/components/pipelines/concepts/metadata/), and visualize it all through the [Kubeflow Dashboard](https://www.kubeflow.org/docs/components/central-dash/overview/). ## Installation To install `kfp`, run: ```sh pip install kfp ``` ## Getting started The following is an example of a simple pipeline that uses the `kfp` v2 syntax: ```python 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 = add(a=first_add_task.output, b=b) client = kfp.Client(host='<my-host-url>') client.create_run_from_pipeline_func( add_pipeline, arguments={ 'a': 7.0, 'b': 8.0 }) ```

Release History

VersionChangesUrgencyDate
2.16.0Imported from PyPI (2.16.0)Low4/21/2026
sdk-2.16.0Release of: - KFP SDK - KFP Kubernetes - KFP Server API - KFP Pipeline Spec To install the KFP SDK: ``` pip install kfp-pipeline-spec==2.16.0 pip install kfp-server-api==2.16.0 pip install kfp==2.16.0 pip install kfp-kubernetes==2.16.0 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/sdk-2.16.0/sdk/RELEASE.md).Low2/25/2026
sdk-2.15.2Release of: * KFP SDK * KFP Kubernetes * KFP Server API * KFP Pipeline Spec To install the KFP SDK: ```bash pip install kfp-pipeline-spec==2.15.2 pip install kfp-server-api==2.15.2 pip install kfp==2.15.2 pip install kfp-kubernetes==2.15.2 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/sdk-2.15.2/sdk/RELEASE.md).Low12/3/2025
sdk-2.15.1Release of: * KFP SDK * KFP Kubernetes * KFP Server API * KFP Pipeline Spec To install the KFP SDK: ```bash pip install kfp-pipeline-spec==2.15.1 pip install kfp-server-api==2.15.1 pip install kfp==2.15.1 pip install kfp-kubernetes==2.15.1 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/sdk-2.15.1/sdk/RELEASE.md).Low11/25/2025
2.15.0This release of KFP introduces several notable changes that users should consider prior to upgrading. Comprehensive upgrade and documentation notes will follow shortly. In the interim, please note the following key modifications: * The default object store deployment has been changed to SeeweedFS, replacing the previous deployment of MinIO. It is important to note that MinIO remains fully supported (as is any S3-compliant object store within KFP); only the default deployment configuration hasLow11/25/2025
sdk-2.15.0Release of: * KFP SDK * KFP Kubernetes * KFP Server API * KFP Pipeline Spec To install the KFP SDK: ```bash pip install kfp-pipeline-spec==2.15.0 pip install kfp-server-api==2.15.0 pip install kfp==2.15.0 pip install kfp-kubernetes==2.15.0 ``` For changelog, see [KFP 2.15.0 Changelog](https://github.com/kubeflow/pipelines/blob/release-2.15/CHANGELOG.md#2150-2025-11-21) for release notes. Low11/25/2025
2.14.4## What's Changed * chore: release 2.14.4 by @HumairAK in https://github.com/kubeflow/pipelines/pull/12299 * Release 2.14 by @HumairAK in https://github.com/kubeflow/pipelines/pull/12336 * chore: release 2.14.6 by @HumairAK in https://github.com/kubeflow/pipelines/pull/12355 * fix(manifests): update minio image ref (#12424) by @HumairAK in https://github.com/kubeflow/pipelines/pull/12427 * fix visualization docker build failures by bumping python by @HumairAK in https://github.com/kubeflow/Low11/11/2025
sdk-2.14.6Release of: * KFP SDK * KFP Kubernetes * KFP Server API * KFP Pipeline Spec To install the KFP SDK: ```bash pip install kfp==2.14.6 pip install kfp-kubernetes==2.14.6 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/sdk-2.14.6/sdk/RELEASE.md). Low10/13/2025
sdk-2.14.5Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.14.5 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/sdk-2.14.5/sdk/RELEASE.md). Low10/9/2025
sdk-2.14.4Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.14.4 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/08f4fe364f4dfaf89c9423fd13d5db5f63fb5c79/sdk/RELEASE.md).Low9/29/2025
2.14.3## What's Changed * fix(sdk): Set spec.description when compiling to Kubernetes manifests (kubeflow#12132) * fix(tools): Fix a typo in convert_to_k8s_format (kubeflow#12161) * fix(backend): Fix mutating webhook when pipeline name label value is too long (kubeflow#12162) * fix(backend): Return from pipeline deletions after the cache is updated (kubeflow#12153) * fix(backend/sdk): Fix REST API outputs for pipeline versions with invalid platform specs (kubeflow#12183) * fix(backend): Add suppLow9/2/2025
sdk-2.14.2Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.14.2 ``` ## What's Changed * update kfp server api for kfp sdk (kubeflow#12120) **Full Changelog**: https://github.com/kubeflow/pipelines/compare/sdk-2.14.1...sdk-2.14.2Low8/7/2025
sdk-2.14.1Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.14.1 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/38c49cc125db4000e4986e65144532b78addabe0/sdk/RELEASE.md). Low8/5/2025
2.14.0This release is a version alignment release. This release succeeds the KFP 2.5.0 release. In this 2.14.0 release, KFP backend is aligned in major and minor versions (X.Y) with all the KFP python packages. Please read more about this and the KFP versioning policy [here](https://github.com/kubeflow/pipelines/blob/release-2.14/RELEASE.md#versioning-policy-in-kfp). ## What's Changed * chore(sdk): kfp and kfp-kubernetes 2.13 & 1.5 by @HumairAK in https://github.com/kubeflow/pipelines/pull/11870 Low8/5/2025
2.5.0## What's Changed * fix(frontend): Fix the frontend image build with Node 22 by @mprahl in https://github.com/kubeflow/pipelines/pull/11524 * chore: switch to using gh container registry in manifests by @HumairAK in https://github.com/kubeflow/pipelines/pull/11526 * fix(backend): Fix enable_caching issues when handling PVC creation/deletion by @rimolive in https://github.com/kubeflow/pipelines/pull/11411 * chore: switch release/api generator images to ghcr by @HumairAK in https://github.com/Low4/28/2025
sdk-2.13.0Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.13.0 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/fe51dfd7920e45291fc9c5bc30162c12b4bb626b/sdk/RELEASE.md). Low4/28/2025
sdk-2.12.2Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.12.2 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/2d96d3ee158cef4ea745ca668f05d492b9331b10/sdk/RELEASE.md). Low4/24/2025
2.4.1## What's Changed * fix(backend): Replaced hardcoded ServiceAccount with default config by @hbelmiro in #11578 * chore: Remove License checker by @HumairAK in #11609 * fix(backend): the metacontroller is broken since by @juliusvonkohout in #11608 * fix(backend) fix run retry for argo by @ntny in #11585 * fix(backend): parallelFor resolve upstream inputs. by @zazulam in #11627 * fix(manifests): Upgrading metacontroller to v4.11.22 by @tarekabouzeid in #11656 * fix(backend): ignoreLow3/1/2025
sdk-2.12.1Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.12.1 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/1956d699685628525c4ac01fe642c5e044f80860/sdk/RELEASE.md). Low2/28/2025
sdk-2.12.0Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.12.0 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/c8fe908ba83eef3f17a51360a27b01fe5fdc2ca3/sdk/RELEASE.md).Low2/27/2025
2.4.0 To deploy Kubeflow Pipelines in an existing cluster, follow the instruction in [here](https://www.kubeflow.org/docs/components/pipelines/operator-guides/installation/) Install python SDK (python 3.9 above) by running: ```bash python3 -m pip install kfp kfp-server-api --upgrade ``` See the [Change Log](https://github.com/kubeflow/pipelines/blob/$VERSION/CHANGELOG.md) ## What's Changed * chore: Update RELEASE.md to remove obsolete instructions by @chensun in https://github.comLow1/16/2025
sdk-2.11.0Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.11.0 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/2eed0b8faf73aca753886e39e29d803d513601e3/sdk/RELEASE.md).Low12/9/2024
sdk-2.10.1Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.10.1 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/8faa24dfd60e24894b988efa40ffd68ce41d72c6/sdk/RELEASE.md).Low11/14/2024
sdk-2.10.0Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.10.0 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/7b26ca831c40bdedd196c53a0aaa9a4897047488/sdk/RELEASE.md).Low11/8/2024
sdk-2.9.0Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.9.0 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/d287403fe81a6f65708479687de2505ceabb47de/sdk/RELEASE.md). Low9/9/2024
2.3.0To deploy Kubeflow Pipelines in an existing cluster, follow the instruction in [here](https://www.kubeflow.org/docs/pipelines/standalone-deployment-gcp/) or via UI [here](https://console.cloud.google.com/ai-platform/pipelines) Install python SDK (python 3.7 above) by running: ```bash python3 -m pip install kfp kfp-server-api --upgrade ``` See the [Change Log](https://github.com/kubeflow/pipelines/blob/2.3.0/CHANGELOG.md) ## What's Changed * chore: Update RELEASE.md by @chensuLow9/6/2024
sdk-2.8.0Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.8.0 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/991a610b7b3aff3cc600dbeef5d7591befb31802/sdk/RELEASE.md).Low6/22/2024
2.2.0 To deploy Kubeflow Pipelines in an existing cluster, follow the instruction in [here](https://www.kubeflow.org/docs/pipelines/standalone-deployment-gcp/) or via UI [here](https://console.cloud.google.com/ai-platform/pipelines) Install python SDK (python 3.7 above) by running: ```bash python3 -m pip install kfp kfp-server-api --upgrade ``` See the [Change Log](https://github.com/kubeflow/pipelines/blob/2.2.0/CHANGELOG.md) ## What's Changed * feat(components): Report TensorBoaLow4/30/2024
2.1.0To deploy Kubeflow Pipelines in an existing cluster, follow the instruction in [here](https://www.kubeflow.org/docs/pipelines/standalone-deployment-gcp/) or via UI [here](https://console.cloud.google.com/ai-platform/pipelines) Install python SDK (python 3.7 above) by running: ```bash python3 -m pip install kfp kfp-server-api --upgrade ``` See the [Change Log](https://github.com/kubeflow/pipelines/blob/2.1.0/CHANGELOG.md) ## What's Changed * feat(components): Bump image tag usLow3/25/2024
sdk-2.7.0Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.7.0 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/449c30468659c0de0b37def2a9be03a93dfae35b/sdk/RELEASE.md).Low2/14/2024
sdk-2.6.0Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.6.0 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/aac4408237df86cbffc269b939bded99d76c328e/sdk/RELEASE.md).Low1/11/2024
sdk-2.5.0Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.5.0 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/55db6f5cef9dde7362872033590a3486c5a123f1/sdk/RELEASE.md).Low1/8/2024
2.0.5 To deploy Kubeflow Pipelines in an existing cluster, follow the instruction in [here](https://www.kubeflow.org/docs/pipelines/standalone-deployment-gcp/) or via UI [here](https://console.cloud.google.com/ai-platform/pipelines) Install python SDK (python 3.7 above) by running: ```bash python3 -m pip install kfp kfp-server-api --upgrade ``` See the [Change Log](https://github.com/kubeflow/pipelines/blob/2.0.5/CHANGELOG.md)Low12/8/2023
2.0.4 To deploy Kubeflow Pipelines in an existing cluster, follow the instruction in [here](https://www.kubeflow.org/docs/pipelines/standalone-deployment-gcp/) or via UI [here](https://console.cloud.google.com/ai-platform/pipelines) Install python SDK (python 3.7 above) by running: ```bash python3 -m pip install kfp kfp-server-api --upgrade ``` See the [Change Log](https://github.com/kubeflow/pipelines/blob/2.0.4/CHANGELOG.md)Low12/1/2023
sdk-2.4.0Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.4.0 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/1ba6d5f1c402158966d7fdc552b99c0ffca2dfa8/sdk/RELEASE.md).Low10/27/2023
2.0.3 To deploy Kubeflow Pipelines in an existing cluster, follow the instruction in [here](https://www.kubeflow.org/docs/pipelines/standalone-deployment-gcp/) or via UI [here](https://console.cloud.google.com/ai-platform/pipelines) Install python SDK (python 3.7 above) by running: ```bash python3 -m pip install kfp kfp-server-api --upgrade ``` See the [Change Log](https://github.com/kubeflow/pipelines/blob/2.0.3/CHANGELOG.md)Low10/27/2023
2.0.2 To deploy Kubeflow Pipelines in an existing cluster, follow the instruction in [here](https://www.kubeflow.org/docs/pipelines/standalone-deployment-gcp/) or via UI [here](https://console.cloud.google.com/ai-platform/pipelines) Install python SDK (python 3.7 above) by running: ```bash python3 -m pip install kfp kfp-server-api --upgrade ``` See the [Change Log](https://github.com/kubeflow/pipelines/blob/2.0.2/CHANGELOG.md) Low10/11/2023
sdk-2.3.0Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.3.0 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/4003e562713bd04fa94387d8b53dfbe3cf31cb12/sdk/RELEASE.md).Low9/22/2023
sdk-2.2.0Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.2.0 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/659c54bbeb4348d366d443602d009c7893256255/sdk/RELEASE.md).Low9/14/2023
sdk-2.1.3Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.1.3 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/2b05ec867fad84e24fe73ef7515e3b5849297e79/sdk/RELEASE.md).Low9/6/2023
2.0.1 To deploy Kubeflow Pipelines in an existing cluster, follow the instruction in [here](https://www.kubeflow.org/docs/pipelines/standalone-deployment-gcp/) or via UI [here](https://console.cloud.google.com/ai-platform/pipelines) Install python SDK (python 3.7 above) by running: ```bash python3 -m pip install kfp kfp-server-api --upgrade ``` See the [Change Log](https://github.com/kubeflow/pipelines/blob/2.0.1/CHANGELOG.md)Low8/17/2023
sdk-2.1.2Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.1.2 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/25f6ee63895d89859bd0f652a82e3fd27462119e/sdk/RELEASE.md).Low7/28/2023
sdk-2.0.1Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.0.1 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/6dfcd533f495bf19019bb09baf5ec0d3775e0f1c/sdk/RELEASE.md).Low6/21/2023
sdk-2.0.0Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.0.0 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/0f8d6d2cf748bfdc101cced822c1ca1058123c4d/sdk/RELEASE.md).Low6/20/2023
2.0.0 To deploy Kubeflow Pipelines in an existing cluster, follow the instruction in [here](https://www.kubeflow.org/docs/pipelines/standalone-deployment-gcp/) or via UI [here](https://console.cloud.google.com/ai-platform/pipelines) Install python SDK (python 3.7 above) by running: ```bash python3 -m pip install kfp kfp-server-api --upgrade ``` See the [Change Log](https://github.com/kubeflow/pipelines/blob/2.0.0/CHANGELOG.md)Low6/20/2023
2.0.0-rc.2 To deploy Kubeflow Pipelines in an existing cluster, follow the instruction in [here](https://www.kubeflow.org/docs/pipelines/standalone-deployment-gcp/). Install kfp-server-api package (python 3.7 above) by running: ```bash python3 -m pip install kfp-server-api==2.0.0-rc.2 --upgrade ``` Refer to: * [Upgrade Notes with notices and breaking changes](https://www.kubeflow.org/docs/components/pipelines/installation/upgrade/) * [Change Log](https://github.com/kubeflow/pipeLow6/13/2023
sdk-2.0.0-rc.2Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==sdk-2.0.0-rc.2 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/b6c660853e54878daca579d551ab329ab26e053d/sdk/RELEASE.md).Low6/9/2023
1.8.22Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==1.8.22 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/f5ba0212fc316aff38d4a3129bc6f2a7b54f97b5/sdk/RELEASE.md).Low5/17/2023
sdk-2.0.0-rc.1Release of the KFP SDK **only**. To install the KFP SDK: ```bash pip install kfp==2.0.0-rc.1 ``` For changelog, see [release notes](https://github.com/kubeflow/pipelines/blob/83f659824181b3afbefd8c1b3124eafe5d473835/sdk/RELEASE.md).Low5/16/2023
2.0.0-rc.1 To deploy Kubeflow Pipelines in an existing cluster, follow the instruction in [here](https://www.kubeflow.org/docs/pipelines/standalone-deployment-gcp/). Install kfp-server-api package (python 3.7 above) by running: ```bash python3 -m pip install kfp-server-api==2.0.0-rc.1 --upgrade ``` Refer to: * [Upgrade Notes with notices and breaking changes](https://www.kubeflow.org/docs/components/pipelines/installation/upgrade/) * [Change Log](https://github.com/kubeflow/pipLow5/12/2023

Dependencies & License Audit

Loading dependencies...

Similar Packages

pre-commitA framework for managing and maintaining multi-language pre-commit hooks.v4.6.0
azure-core-tracing-opentelemetryMicrosoft Azure Azure Core OpenTelemetry plugin Library for Pythonazure-template_0.1.0b6187637
spdx-toolsSPDX parser and tools.0.8.5
lacesDjango components that know how to render themselves.0.1.2
django-tasksA backport of Django's built in Tasks framework0.12.0