Software Engineering

What's New in v0.7.1: Fetch data from your feature store and deploy models on Kubernetes

Hamza Tahir
Apr 11, 2022
3 Mins Read

Last updated: November 3, 2022.

Seldon Core Logo

The release introduces the Seldon Core ZenML integration, featuring the Seldon Core Model Deployer and a Seldon Core standard model deployer step. The Model Deployer is a new type of stack component that enables you to develop continuous model deployment pipelines that train models and continuously deploy them to an external model serving tool, service, or platform. You can read more on deploying models to production with Seldon Core in our Continuous Training and Deployment documentation section and our Seldon Core deployment example.

We also two new integrations: Feast and NeuralProphet. Feast is ZenML’s first feature store integration. Feature stores allow data teams to serve data via an offline store and an online low-latency store where data is kept in sync between the two. It also offers a centralized registry where features (and feature schemas) are stored for use within a team or wider organization. ZenML currently supports connecting to a Redis-backed Feast feature store as a stack component integration. Check out the full example to see it in action!

0.7.1 also brings an addition to the ZenML training library integrations with NeuralProphet. Check out the new example for more details, and the docs for further detail on all new features!

☁️ Deploy models continuously on Kubernetes

Seldon Core Logo

We are proud to release one of the most requested features from our community roadmap today! With 0.7.1, you can serve your models continuously on Kubernetes using the Seldon Core integration!

Seldon Core is a production-grade open-source model serving platform. It packs a wide range of features built around deploying models to REST/GRPC microservices that include monitoring and logging, model explainers, outlier detectors, and various continuous deployment strategies such as A/B testing, canary deployments, and more.

Seldon Core also comes equipped with a set of built-in model server implementations designed to work with standard formats for packaging ML models that greatly simplify the process of serving models for real-time inference.

The full example demonstrates how easy it is to build a continuous deployment pipeline that trains a model and then serves it with Seldon Core as the industry-ready model deployment tool of choice.

After serving models locally with MLflow, switching to a ZenML MLOps stack that features Seldon Core as a model deployer component makes for a seamless transition from running experiments locally to deploying models in production.

🗄️ Fetch data from your Feature Store

0.7.1 introduces Feast as ZenML’s first feature store integration. Feature stores allow data teams to serve data via an offline store and an online low-latency store where data is kept in sync between the two. It also offers a centralized registry where features (and feature schemas) are stored for use within a team or wider organization. ZenML currently supports connecting to a Redis-backed Feast feature store as a stack component integration. Check out the full example to see it in action!

Picture Source: Feast website

There are two core functions that feature stores enable: access to data from an offline / batch store for training and access to online data at inference time. The ZenML Feast integration enables both of these behaviors.

The full example showcases how to fetch a configured feature store in a ZenML step. This example uses a local implementation where the whole setup runs on a single machine, but we assume that users of the ZenML Feast integration will have set up their feature store already. We encourage users to check out Feast’s documentation and guides on how to set up your offline and online data sources via the configuration YAML file.

➕ Other Updates, Additions, and Fixes

Abstract Stores and FileIO were overhauled in this release: Abstract Stores now have a way cleaner abstraction with the FileIO methods embedded. Check out the BaseArtifactStore for more information.

This release marks the beginnings of a ZenML Service with PR #496. This service will keep track of pipelines, users, teams, and stacks in a centralized manner and can be deployed to the cloud! Watch out for the next release for this exciting new update!

Join us for the inaugural MLOps hour

We’re hosting an MLOps Hour! On Wednesday, 13th April 9 AM PT / 6 PM CET, we’ll be gathering the ZenML community (and beyond) to showcase CI/CD/CT in MLOps using the latest release features!

Don’t miss out, register now here!

Alternatively, chat with us directly by joining our Slack. Have a good one!

[Photo by ian dooley on Unsplash]

Start your new ML Project today with ZenML Cloud

Join 1,000s of members already deploying models with ZenML.