MCPcopy Index your code
hub / github.com/aporia-ai/mlplatform-workshop

github.com/aporia-ai/mlplatform-workshop @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
19 symbols 40 edges 12 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ML Platform Workshop

This repo contains example code for a (very basic) ML platform.

  • The model-template directory contains an example for a Cookiecutter-based template that data scientists can clone to start a new project.
  • The infra directory contains Pulumi code that spins up the shared infrastructure of the ML platform, such as Kubernetes, MLFlow, etc.

Made with :heart: by Aporia

The YouTube Video

IMAGE ALT TEXT HERE

Why?

As data science teams become more mature with models reaching actual production, the need for a proper infrastructure becomes crucial. Leading companies in the field with massive engineering teams like Uber, Netflix and Airbnb had created multiple solutions for their infrastructure and named the combination of them as “ML Platform”.

We hope this repo can help you get started with building your own ML platform ❤️

Architecture

Based on the following projects:

When building your own ML platform, do not take these tools for granted! Check out alternatives and find the best tools that solve each one of your problems.

What's missing from this?

Well... a lot actually. Here's a partial list:

  • HTTPS & Authentication
  • Environments (staging, production)
  • Common library for preprocessing, postprocessing, etc
  • Model input & validation
  • Training orchestration
  • and probably much more!

We would love your help!

Extension points exported contracts — how you extend this code

TraefikRouteArgs (Interface)
(no doc)
infra/TraefikRoute.ts
S3ServiceAccountArgs (Interface)
(no doc)
infra/S3ServiceAccount.ts
TraefikRouteArgs (Interface)
(no doc)
model-template/{{cookiecutter.project_slug}}/infra/TraefikRoute.ts

Core symbols most depended-on inside this repo

main
called by 1
model-template/{{cookiecutter.project_slug}}/src/{{cookiecutter.module_name}}/training/train.py
main
called by 1
model-template/{{cookiecutter.project_slug}}/src/{{cookiecutter.module_name}}/serving/__main__.py
constructor
called by 0
infra/TraefikRoute.ts
constructor
called by 0
infra/S3ServiceAccount.ts
constructor
called by 0
model-template/{{cookiecutter.project_slug}}/infra/TraefikRoute.ts
predict
called by 0
model-template/{{cookiecutter.project_slug}}/src/{{cookiecutter.module_name}}/serving/__main__.py

Shape

Class 8
Function 4
Interface 3
Method 3
Route 1

Languages

TypeScript63%
Python37%

Modules by API surface

model-template/{{cookiecutter.project_slug}}/src/{{cookiecutter.module_name}}/serving/__main__.py5 symbols
model-template/{{cookiecutter.project_slug}}/infra/TraefikRoute.ts4 symbols
infra/TraefikRoute.ts4 symbols
infra/S3ServiceAccount.ts4 symbols
model-template/{{cookiecutter.project_slug}}/tests/test_{{cookiecutter.module_name}}.py1 symbols
model-template/{{cookiecutter.project_slug}}/src/{{cookiecutter.module_name}}/training/train.py1 symbols

For agents

$ claude mcp add mlplatform-workshop \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact