Code Monkey home page Code Monkey logo

chassis's Introduction

chassis-banner-v1.3.png

GitHub contributors GitHub last commit GitHub issues GitHub

GitHub Workflow Status PyPI PyPI - Downloads

Docs · Discord (#chassisml) · Slack (#chassis-model-builder)ha

What is Chassis?

what-is-chassis-diagram

Chassis turns ML models written in Python into containerized prediction APIs in just minutes. We built it to be an easier way to put our models into containers and ship them to production.

Chassis picks up right where your training code leaves off and builds containers for a variety of target architectures. This means that after completing a single Chassis job, you can run your models in the cloud, on-prem, or on a fleet of edge devices (Raspberry Pi, NVIDIA Jetson Nano, Intel NUC, etc.).

Benefits

  • Turns models into containers, automatically
  • Creates easy-to-use prediction APIs
  • Builds containers locally on Docker or as a K8s service
  • Chassis containers run on Docker, containerd, Modzy, and more
  • Compiles for both x86 and ARM processors
  • Supports GPU batch processing
  • No missing dependencies, perfect for edge AI

Installation

Install Chassis on your machine or in a virtual environment via PyPi:

Stable - v1.5.*

pip install "chassisml[quickstart]"

Try it out

(<5 minutes)

(~10 minutes)

Docs

📗 Getting Started

📘 Full Docs

Framework-specific examples:

🤗 Diffusers Torch 🤗 Transformers Coming soon...

Support

Join the #chassisml channel on Modzy's Discord Server where our maintainers meet to plan changes and improvements.

We also have a #chassis-model-builder Slack channel on the MLOps.community Slack!

Contributors

Bradley Munday
Bradley Munday

💻 🤔 🚧 💬
Seth Clark
Seth Clark

🖋 📖 📆
Clayton Davis
Clayton Davis

💻 📖 🤔 📆
Nathan Mellis
Nathan Mellis

🤔 🚇 💻
saumil-d
saumil-d

💻 📖 🤔
lukemarsden
lukemarsden

📖 📆 🤔 📢 📹
Carlos Millán Soler
Carlos Millán Soler

💻
Douglas Holman
Douglas Holman

💻
Phil Winder
Phil Winder

🤔
Sonja Hall
Sonja Hall

🎨

chassis's People

Contributors

511018 avatar allcontributors[bot] avatar bmunday3 avatar bmunday3-zz avatar burgwyn avatar caradoxical avatar carmilso avatar datasciencedeconstructed avatar dholman-modzy avatar dholmancoding avatar lukemarsden avatar n8mellis avatar philwinder avatar saumil-d avatar sonejah21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chassis's Issues

Chassis Documentation Upgrades

We need to develop documentation both for users who want to install and run chassis as is ... and for developers who want to contribute to chassis. The installs and setups here are different so that Kaniko can run locally on a machine for the devs.

Pick a name! Register the domain

Suggestions so far:

  • Open Model Interface
  • Containerese
  • Punnet.ml
  • Chassis.ml

Suggest we go with Punnet.ml for the sake of picking one and making progress ;) but open to alternative guidance!

Submit and present meetup talks

  • write abstract to go with slides
  • Luke submit to MLOps.community - got meetup talk on August 25! 🎉
  • can Modzy marketing team submit to some meetups?

Update Readme for chassis

Readme suggestions for chassis github: 1. Instructions for data scientists to get started 2. How to install/run it 3. How to deploy it for development/contribution?

Improve kaniko speed

There are some arguments to be passed to Kaniko that may be interesting to try

OMI blurb

Nathan has kindly agreed to write some text about the OMI vision for the website

Ensure test drive tutorial works well

Saumil will ask Brad to do it

Do this after modzy v2 api is ready so that we can test pushing to docker hub and then manually test in modzy after that.

Add explainability and drift support + examples

Make a list of most popular output configurations and ensure that examples exist in the chassis repo. output only, output + explainability, output+ explainability + drift, also across a DL and standard model representation.

Add a section in docs to point reader to examples.

Update API parameter type as environment variable

All "listening engines" should be included in a container image by default (later: input to builder could subset this).

However, which one actually runs should be selected by an env var.

@carmilso I'll update you about the discussion on this

add Cloud Provider Model export capabilities

cloud providers like AWS, Azure, etc. provide AutoML capabilities that create models in standard model artifact formats.

This issue is about adding the ability to chassis for ingesting AWS and Azure model artifacts and producing containers with the models embedded in them.

Reduce containerized image size

At the moment, final image weighs around 691MB. This is due to the fact that full python lib binary is copied to environment folder when packaging conda (so you don't need to use a docker image with python already installed). This python binary weighs 462MB, which represents almost the 70% of the whole image.

It would be needed to find some way to not copy the python binary and use the one from the system so that we were able to leverage a docker image like python:3.8-slim, that only weighs 114MB. Doing this we could end with an image of 343MB, which is half of what we have now.

Add support for Modzy v2 gRPC API

Carlos is doing this now.

  • tutorial showing how to do it given a modzy installation
  • video showing how it works & upload to youtube and embed on site

Add interactive UI to Chassis

Chassis needs an easy UI that will gather all the information needed for the SDK's "publish" action. THe UI is envisioned to be accessible from the chassis service and can thus be used to kick off an image creation job.

Generalize input format

Currently, input needs to be valid JSON and needs to be able to be directly cast to NumPy array. We should remove these requirements and generalize the input format.

add batch processing to Chassis containers.

Currently chassis containers only make 1 inference call per input.

need to design an architecture to support true batch processing and error handling in a domain that includes multiple inputs.

add local MLFlow Model testing to Chassis-sdk

Issue covers needs for local testing of MLFlow models before packaging.

Issue has multiple tasks

  • add the ability for a user to supply an input file locally for testing.
  • add the ability for chassis-sdk to convert the input to a byte array.
  • add the ability for chassis-sdk to push byte array through MLFlow model and report results.

Add Docker Only Mode for Chassis

Kaniko can be leveraged from a local docker install. This issue is about updating chassis so that it can run locally without the need for a Kubernetes installation.

Modzy offering to host a copy of chassis to remove this burden from users.

Issue will remain open, but deprioritized

Can't launch test drive from chassis.ml

Hi,
When I click the "Launch Test Drive" button at chassis.ml, after logging in I am taken to a page that says "Build VM Image", "Allocate Lease" and "Booting VM". Nothing else is on there and nothing seems to be happening. Is this expected behavior?
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.