GuidesAPI reference
DiscordDashboard
DiscordDashboard

Hello world

Pipeline Catalyst helps you execute your local code anywhere.

It's primarily designed for ML engineers that want to run their code remotely without having to do any DevOps. The library gives you the tools to create a compute graph that can be run at scale without needing setup containers or kubernetes. Everything is done through python (more languages are in the works).

Key features

  • Run on serverless GPU in seconds
  • Run code remotely
  • Automated scaling
  • Reduced cold start
  • No DevOps experience required

Hello world

Install pipeline with

pip install -U --pre pipeline-ai

Run a basic pipeline

Import Pipeline, pipeline_function and decorate your Python function using the @pipeline_function decorator.

from pipeline import Pipeline, pipeline_function

@pipeline_function
def hello_pipeline() -> str:
  	return "Hello world"

Configure your pipeline to use your Python functions through the Pipeline context manager:

with Pipeline() as builder:
  	greeting = hello_pipeline()
    builder.output(greeting)
    
my_pipeline = builder.get_pipeline()
print(f"Result: {my_pipeline.run()}")