GithubHelp home page GithubHelp logo

ajshedivy / kubeflow-ppc64le-components Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lehrig/kubeflow-ppc64le-components

0.0 0.0 0.0 256 KB

Reusable Kubeflow components for ppc64le

License: Apache License 2.0

Shell 0.31% Python 1.95% Jupyter Notebook 97.41% Dockerfile 0.33%

kubeflow-ppc64le-components's Introduction

Reusable Kubeflow Components for ppc64le

Reusable Kubeflow components for ppc64le (IBM Power processor architecture).

Using Components

Kubeflow Pipelines Python SDK

import kfp
import kfp.dsl as dsl
from kfp import components

example_comp = components.load_component_from_url('https://raw.githubusercontent.com/lehrig/kubeflow-ppc64le-components/main/examples/hello-world/component.yaml')

@dsl.pipeline(
    name='My first pipeline',
    description='A hello world pipeline.'
)
def hello_world_pipeline():
    task = example_comp(
        name="hello world!"
    )

Elyra

See: https://elyra.readthedocs.io/en/latest/user_guide/pipeline-components.html#managing-pipeline-components

Creating Components

Each subfolder of this repository includes a Kubeflow component. Each component is generally structured as recommended by Kubeflow's "Building Components" guide. That is, each component comes with:

  • a component.yaml file that specifies the component’s interface and implementation and
  • (optionally) a build_image.sh file that can be run to build a component-specific container image and to push it to a container registry.

Base Images

The base-images folder includes only build scripts for images that some components might depend on. There's no component.yaml for base images themselves.

Building Component-Specific Container Images

Some components may require component-specific container images, which have to be build first. In this case, proceed as follows.

git clone https://github.com/lehrig/kubeflow-ppc64le-components
cd kubeflow-ppc64le-components

Afterwards, cd into the component in question and run:

docker login ***YOUR TARGETED IMAGE REGISTRY***
./build_image.sh

kubeflow-ppc64le-components's People

Contributors

lehrig avatar ajshedivy avatar trellixvulnteam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.