Outerbounds (Metaflow Distribution)

0.12.28 · active · verified Thu Apr 16

Outerbounds is an opinionated distribution of Metaflow, designed to streamline machine learning workflows by providing pre-configured cloud infrastructure and a curated set of dependencies. It aims to reduce administrative overhead, allowing data scientists to focus more on model development. The current version is 0.12.28 and it follows a continuous release cadence, often aligning with Metaflow updates.

Common errors

Warnings

Install

Imports

Quickstart

This quickstart demonstrates a basic Metaflow workflow. While `outerbounds` provides underlying configuration for cloud execution, the code itself remains standard Metaflow. To run this, save it as a Python file (e.g., `my_flow.py`) and execute `python my_flow.py run` from your terminal. For cloud execution, you'll need to configure your Outerbounds environment (e.g., `metaflow configure aws`).

from metaflow import FlowSpec, step

class MyFirstFlow(FlowSpec):
    @step
    def start(self):
        self.message = 'Hello, Outerbounds!'
        print(self.message)
        self.next(self.end)

    @step
    def end(self):
        print(f"Flow finished with message: {self.message}")

if __name__ == '__main__':
    MyFirstFlow()

view raw JSON →