Skip to content

o-ran-sc/aiml-fw-athp-pipeline-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIML Pipeline Components

This repository provides a set of reusable Kubeflow pipeline components for building end-to-end AI/ML workflows. Each component is designed to perform a specific task in the pipeline and can be independently developed, tested, and reused across different pipelines and projects.

Key Concepts

  • Component: A self-contained, reusable unit of computation (e.g., feature extraction, model training, model storage, metrics storage).
  • Pipeline: An assembly of components, orchestrated to solve a specific ML use case.

Available Components

Each component is implemented as a Kubeflow pipeline component and can be built and pushed as a container image using the provided Makefile.

Reusing Components

You can reuse these components in your own Kubeflow pipelines by importing them and assembling them as needed. The components are designed to be modular and configurable, making it easy to plug them into different workflows.

Example: Assembling a Pipeline

The file pipeline/pipeline.py demonstrates how to assemble the reusable components into a complete Kubeflow pipeline:

  • Import each component at the top of the pipeline function.
  • Instantiate and connect the components, passing outputs from one as inputs to the next.
  • Use Kubeflow DSL and Kubernetes helpers to manage resources (e.g., PVCs).

Excerpt from pipeline/pipeline.py:

from feature_extraction.feature_extraction_component import download_features
from model_training.model_training_component import model_training
from model_storage.model_storage_component import model_storage
from metrics_store.metrics_store_component import metrics_store

@dsl.pipeline
def pipeline():
    # ... set up configs ...
    comp1 = download_features(...)
    comp2 = model_training(...)
    comp3 = model_storage(modelpath=comp2.outputs['path'], ...)
    comp4 = metrics_store(metrics={"accuracy": comp2.outputs['accuracy']})
    # ... manage dependencies and resources ...

About

Mirror of the aiml-fw/athp/pipeline-components repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •