ML-Model-CI

(โ˜… 198)

MLModelCI is a complete MLOps platform for managing, converting, profiling, and deploying MLaaS (Machine Learning-as-a-Service), bridging the gap between current ML training and serving systems.

  • .codacy.yml
  • .dockerignore
  • .flake8
  • .fossa.yml
  • .gitattributes
  • .gitignore
  • .travis.yml
  • benchmark.md
  • CHANGELOG.md
  • CONTRIBUTING.md
  • environment.yml
  • LICENSE
  • pure_requires.yml
  • pyproject.toml
  • README.md
  • README_zh_CN.md
  • requirements.txt
  • setup.cfg
  • setup.py

# Installation Guide

1. Get the code
git clone https://github.com/cap-ntu/ML-Model-CI

Downloads the entire project code from GitHub to your computer.

cd ML-Model-CI

Moves into the project folder you just downloaded.

2. Docker

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
Once you have installed, make sure the docker daemon is running, then you can start MLModelCI service on a leader server by:

Type this command into your terminal and run it.

![](https://img.shields.io/docker/pulls/mlmodelci/mlmodelci.svg)

Type this command into your terminal and run it.

![](https://img.shields.io/docker/v/mlmodelci/mlmodelci/cpu)![](https://img.shields.io/docker/image-size/mlmodelci/mlmodelci/cpu)

Type this command into your terminal and run it.

Start basic services by Docker Compose:

Runs the command against the services defined in the compose file.

![](https://img.shields.io/docker/v/mlmodelci/mlmodelci/cuda10.2-cudnn8)![](https://img.shields.io/docker/image-size/mlmodelci/mlmodelci/cuda10.2-cudnn8)

Type this command into your terminal and run it.

โœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

Pulled directly from this repo's README.

3. Node.js

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Node.js Node.js must be installed to use npm. The LTS version is recommended.
cd frontend

This project's files live in a subfolder, so move into it first.

npm install

Downloads and installs the libraries listed in package.json.

npm start

Starts the development/run server.

โœ… After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.

4. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
If you have installed MLModelCI via pip, you should start the frontend service manually.

Type this command into your terminal and run it.

- [Publish an image classification model](./example/notebook/image_classification_model_deployment.ipynb) [![nbviewer](https://raw.githubusercontent.com/jupyter/design/master/logos/Badges/nbviewer_badge.svg)](https://nbviewer.jupyter.org/github/cap-ntu/ML-Model-CI/blob/master/example/notebook/image_classification_model_deployment.ipynb)

Type this command into your terminal and run it.

- [Publish an object detection model](./example/notebook/object_detection_model_deployment.ipynb) [![nbviewer](https://raw.githubusercontent.com/jupyter/design/master/logos/Badges/nbviewer_badge.svg)](https://nbviewer.jupyter.org/github/cap-ntu/ML-Model-CI/blob/master/example/notebook/object_detection_model_deployment.ipynb)

Type this command into your terminal and run it.

โœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

// repository documentation