avatarPrince Canuma

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

2361

Abstract

my friend Ariel (MLOps meme guy) posted, it’s another MLOps tool that uses YAML to glue things together and enable heavy customization, it’s not really a bad thing but it’s good you know.</p><p id="51a2"><b>Key Features</b></p><ul><li>Simply API</li><li>Easy to get up and running quickly</li><li>Allows for heavy customization (i.e., multi-model deployment. In both sync, async, or parallel)</li><li>Ability to containerize the service</li><li>Ready for production (reasonable scale simple HTTP API to hyper-scale with distributed systems like k8s)</li><li>Standardizes the saved model format, service API definition, and the Bento build process.</li><li>Integrations</li><li>MLFlow</li></ul><h1 id="26a0">MLflow Pipelines</h1><figure id="c2c2"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*hXMzSHYTPSBVdyEr.png"><figcaption>Credits to <a href="https://www.databricks.com/wp-content/uploads/2022/06/mlppng.png">MLflow</a></figcaption></figure><p id="e05d">MLflow Pipelines was recently introduced and will be a part of the MLflow v2.0 release. It is an experimental and opinionated framework for structuring MLOps workflows that simplifies and standardizes machine learning application development and productionization. MLflow Pipelines make it easy for data scientists to follow best practices for creating production-ready ML deliverables, allowing them to focus on developing excellent models. MLflow Pipelines also enable ML engineers and DevOps teams to seamlessly deploy these models to production and incorporate them into applications.</p><p id="c241">MLflow Pipelines provides production-quality Pipeline Templates for common ML problem types, such as regression & classification, and MLOps tasks, such as batch scoring. Pipelines are structured as git repositories with YAML-based configuration files and Python code, offering developers a declarative approach to ML application development that reduces boilerplate.</p><p id="c833">MLflow Pipelines also implements a cache-aware executor for Pipeline Steps, ensuring that steps are only executed when associated code or configurations have changed. This enables data scientists, ML engineers, and DevOps teams to iterate very quickly within their domains of expertise. MLflow offers APIs and a CLI for executing pipelines and inspecting their results.</p><p id="07fa"><b>Ke

Options

y Features</b></p><ul><li><b>Get started quickly:</b> <a href="https://www.mlflow.org/docs/latest/pipelines.html#pipeline-templates">Predefined templates</a> for common ML tasks, such as <a href="https://www.mlflow.org/docs/latest/pipelines.html#regression-template">regression modeling</a>, enable data scientists to get started quickly and focus on building great models.</li><li><b>Iterate faster: </b>The intelligent pipeline execution engine accelerates model development by caching results from each step of the process and re-running the minimal set of steps as changes are made.</li><li><b>Easily ship to production:</b> The modular, git-integrated <a href="https://www.mlflow.org/docs/latest/pipelines.html#pipeline-templates-key-concept">pipeline structure</a> dramatically simplifies the handoff from development to production by ensuring that all model code, data, and configurations are easily reviewable and deployable by ML engineers.</li><li>Well integrated with DataBricks</li></ul><p id="ff8e">Thank you for reading! I will be bringing new tools every week so follow me to get notified of my next release.</p><p id="abd5"><i>You can also follow me on <a href="https://twitter.com/CanumaGdt">Twitter</a>.</i></p><p id="9174"><i>I appreciate you!</i></p><p id="9e3d"><i>If you want to read more of my ML and MLOps takes, <a href="https://prince-canuma.medium.com/membership">consider becoming a member</a>. Your membership fee directly supports the writers you read. In addition, I’ll earn a small commission if you sign up using my <a href="https://prince-canuma.medium.com/membership">link</a>.</i></p><p id="fd9b"><i>Below you can find many references for you to check out and devour. Have fun!</i></p><h1 id="2675">References</h1><h2 id="5469">Netron</h2><ul><li><a href="https://github.com/lutzroeder/netron">https://github.com/lutzroeder/netron</a></li></ul><h2 id="fba3">BentoML</h2><ul><li><a href="https://github.com/bentoml/">https://github.com/bentoml/</a></li></ul><h2 id="59dc">MLFlow Pipelines</h2><ul><li><a href="https://www.mlflow.org/docs/latest/pipelines.html">https://www.mlflow.org/docs/latest/pipelines.html</a></li></ul><h2 id="6305">ML Model Management</h2><ul><li><a href="https://neptune.ai/blog/machine-learning-model-management">https://neptune.ai/blog/machine-learning-model-management</a></li></ul></article></body>

Best Tools for ML Pipelines, Serving, and model graph visualization | #03

Do you want to know how to get your ML models up and running quickly?

You can do it 2x faster using the tools I’m going to talk about today. I know it might sound too good for you, but it’s not.

Using the tools I will later describe you can get a significant speed up in the following 3 key areas of your MLOps efforts:

Let’s dive in…

Netron — visualizing models

Credits to Lutz Roedor

Netron is an interactive viewer for ML and DL modes.

It allows you to visually inspect the model graph and see how tensors flow through each node. You can see things like input size, output size, activations, etc.

Netron comes in two flavors: hosted and on-perm versions.

Netron supports

  • ONNX,
  • TensorFlow Lite
  • TensorFlow JS
  • Caffe 1 and 2
  • Keras,
  • Darknet,
  • PaddlePaddle,
  • Core ML,
  • MXNet.

Netron has experimental support for:

  • PyTorch
  • TensorFlow
  • TorchScript
  • Scikit-learn

BentoML — serving models

Credits to BentoML

According to their docs, it’s a framework that makes it easy to create ML services that are ready to deploy.

They state on their docs that it’s “The Unified Model Serving Framework”.

At a high level it’s like fastAPI on steroids, imagine if fastAPI did model management and inference scheduling as well.

Like my friend Ariel (MLOps meme guy) posted, it’s another MLOps tool that uses YAML to glue things together and enable heavy customization, it’s not really a bad thing but it’s good you know.

Key Features

  • Simply API
  • Easy to get up and running quickly
  • Allows for heavy customization (i.e., multi-model deployment. In both sync, async, or parallel)
  • Ability to containerize the service
  • Ready for production (reasonable scale simple HTTP API to hyper-scale with distributed systems like k8s)
  • Standardizes the saved model format, service API definition, and the Bento build process.
  • Integrations
  • MLFlow

MLflow Pipelines

Credits to MLflow

MLflow Pipelines was recently introduced and will be a part of the MLflow v2.0 release. It is an experimental and opinionated framework for structuring MLOps workflows that simplifies and standardizes machine learning application development and productionization. MLflow Pipelines make it easy for data scientists to follow best practices for creating production-ready ML deliverables, allowing them to focus on developing excellent models. MLflow Pipelines also enable ML engineers and DevOps teams to seamlessly deploy these models to production and incorporate them into applications.

MLflow Pipelines provides production-quality Pipeline Templates for common ML problem types, such as regression & classification, and MLOps tasks, such as batch scoring. Pipelines are structured as git repositories with YAML-based configuration files and Python code, offering developers a declarative approach to ML application development that reduces boilerplate.

MLflow Pipelines also implements a cache-aware executor for Pipeline Steps, ensuring that steps are only executed when associated code or configurations have changed. This enables data scientists, ML engineers, and DevOps teams to iterate very quickly within their domains of expertise. MLflow offers APIs and a CLI for executing pipelines and inspecting their results.

Key Features

  • Get started quickly: Predefined templates for common ML tasks, such as regression modeling, enable data scientists to get started quickly and focus on building great models.
  • Iterate faster: The intelligent pipeline execution engine accelerates model development by caching results from each step of the process and re-running the minimal set of steps as changes are made.
  • Easily ship to production: The modular, git-integrated pipeline structure dramatically simplifies the handoff from development to production by ensuring that all model code, data, and configurations are easily reviewable and deployable by ML engineers.
  • Well integrated with DataBricks

Thank you for reading! I will be bringing new tools every week so follow me to get notified of my next release.

You can also follow me on Twitter.

I appreciate you!

If you want to read more of my ML and MLOps takes, consider becoming a member. Your membership fee directly supports the writers you read. In addition, I’ll earn a small commission if you sign up using my link.

Below you can find many references for you to check out and devour. Have fun!

References

Netron

BentoML

MLFlow Pipelines

ML Model Management

Data Science
Programming
Artificial Intelligence
Technology
Machine Learning
Recommended from ReadMedium