Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aporia-ai/mlplatform-workshop
π« Example code for a basic ML Platform based on Pulumi, FastAPI, DVC, MLFlow and more
https://github.com/aporia-ai/mlplatform-workshop
devops machine-learning mlops
Last synced: about 1 month ago
JSON representation
π« Example code for a basic ML Platform based on Pulumi, FastAPI, DVC, MLFlow and more
- Host: GitHub
- URL: https://github.com/aporia-ai/mlplatform-workshop
- Owner: aporia-ai
- License: mit
- Created: 2021-06-09T20:42:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-03T10:27:17.000Z (about 3 years ago)
- Last Synced: 2024-08-03T09:12:49.553Z (5 months ago)
- Topics: devops, machine-learning, mlops
- Language: TypeScript
- Homepage: https://www.aporia.com/blog/building-an-ml-platform-from-scratch/
- Size: 600 KB
- Stars: 429
- Watchers: 12
- Forks: 67
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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](https://img.youtube.com/vi/s8Jj9gzQ3xA/0.jpg)](https://www.youtube.com/watch?v=s8Jj9gzQ3xA)
## 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:
* [FastAPI](https://fastapi.tiangolo.com/) - for model serving
* [MLFlow](https://www.mlflow.org/) - for experiment tracking
* [DVC](https://dvc.org/) - for data versioning
* [Cookiecutter](https://cookiecutter.readthedocs.io/) - for the model template
* [Pulumi](https://www.pulumi.com/) - Infrastructure as Code
* [GitHub Actions](https://github.com/features/actions) - for CI/CD
* [Traefik](https://traefik.io/) - API gateway
* [Poetry](https://python-poetry.org/) - Python dependency managementWhen building your own ML platform, do not take these tools for granted! [Check out alternatives](https://mlops.toys) 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!