kfp-2.9.0


توضیحات

Kubeflow Pipelines SDK
ویژگی مقدار
سیستم عامل -
نام فایل kfp-2.9.0
نام kfp
نسخه کتابخانه 2.9.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده The Kubeflow Authors
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/kubeflow/pipelines
آدرس اینترنتی https://pypi.org/project/kfp/
مجوز -
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 }) ```


نیازمندی

مقدار نام
- click>=8.1.8
- click-option-group==0.5.7
- docstring-parser<1,>=0.7.3
- google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5
- google-auth<3,>=1.6.1
- google-cloud-storage<4,>=2.2.1
- kfp-pipeline-spec<3,>=2.16.0
- kfp-server-api<3,>=2.16.0
- kubernetes<31,>=8.0.0
- protobuf<7.0,>=6.31.1
- PyYAML<7,>=5.3
- requests-toolbelt<2,>=0.8.0
- tabulate<1,>=0.8.6
- urllib3<3.0.0
ython_versio typing-extensions<5,>=3.7.4;
xtr docker;
xtr kfp-kubernetes==2.16.0;
xtr nbclient<1,>=0.10;
xtr ipykernel<7,>=6;
xtr jupyter_client<9,>=7;
xtr kfp-kubernetes==2.16.0;
xtr nbclient<1,>=0.10;
xtr ipykernel<7,>=6;
xtr jupyter_client<9,>=7;


زبان مورد نیاز

مقدار نام
>=3.9.0 Python


نحوه نصب


نصب پکیج whl kfp-2.9.0:

    pip install kfp-2.9.0.whl


نصب پکیج tar.gz kfp-2.9.0:

    pip install kfp-2.9.0.tar.gz