Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

serving

> 编程语言
Open source

A flexible, high-performance serving system for machine learning models

6.4K stars0 likes2 views
WebsiteGitHub

About

A flexible, high-performance serving system for machine learning models

TensorFlow Serving


TensorFlow Serving is a flexible, high-performance serving system for machine learning models, designed for production environments. It deals with the inference aspect of machine learning, taking models after training and managing their lifetimes, providing clients with versioned access via a high-performance, reference-counted lookup table. TensorFlow Serving provides out-of-the-box integration with TensorFlow models, but can be easily extended to serve other types of models and data.

To note a few features:

  • Can serve multiple models, or multiple versions of the same model simultaneously
  • Exposes both gRPC as well as HTTP inference endpoints
  • Allows deployment of new model versions without changing any client code
  • Supports canarying new versions and A/B testing experimental models
  • Adds minimal latency to inference time due to efficient, low-overhead implementation
  • Features a scheduler that groups individual inference requests into batches for joint execution on GPU, with configurable latency controls
  • Supports many servables: Tensorflow models, embeddings, vocabularies, feature transformations and even non-Tensorflow-based machine learning models

Serve a Tensorflow model in 60 seconds

…

End-to-End Training & Serving Tutorial

Refer to the official Tensorflow documentations site for a complete tutorial to train and serve a Tensorflow Model.

Documentation

Set up

The easiest and most straight-forward way of using TensorFlow Serving is with Docker images. We highly recommend this route unless you have specific needs that are not addressed by running in a container.

  • Install Tensorflow Serving using Docker (Recommended)
  • Install Tensorflow Serving without Docker (Not Recommended)
  • Build Tensorflow Serving from Source with Docker
  • Deploy Tensorflow Serving on Kubernetes

Use

Export your Tensorflow model

In order to serve a Tensorflow model, simply export a SavedModel from your Tensorflow program. SavedModel is a language-neutral, recoverable, hermetic serialization format that enables higher-level systems and tools to produce, consume, and transform TensorFlow models.

Please refer to Tensorflow documentation for detailed instructions on how to export SavedModels.

Configure and Use Tensorflow Serving

  • Follow a tutorial on Serving Tensorflow models
  • Configure Tensorflow Serving to make it fit your serving use case
  • Read the Performance Guide and learn how to use TensorBoard to profile and optimize inference requests
  • Read the REST API Guide or gRPC API definition
  • Use SavedModel Warmup if initial inference requests are slow due to lazy initialization of graph
  • If encountering issues regarding model signatures, please read the SignatureDef documentation
  • If using a model with custom ops, learn how to serve models with custom ops

Extend

Tensorflow Serving's architecture is highly modular. You can use some parts individually (e.g. batch scheduling) and/or extend it to serve new use cases.

  • Ensure you are familiar with building Tensorflow Serving
  • Learn about Tensorflow Serving's architecture
  • Explore the Tensorflow Serving C++ API reference
  • Create a new type of Servable
  • Create a custom Source of Servable versions

Contribute

If you'd like to contribute to TensorFlow Serving, be sure to review the contribution guidelines.

For more information

Please refer to the official TensorFlow website for more information.

Issues· 80 open

View all issuesOpen on GitHub
  • #2255

    [Docs] Broken Links

    stat:contributions welcometype:docsUpdated Sep 23, 2026
  • #4150

    gpg key expired

    bugUpdated Sep 22, 2026
  • #4108

    Error building TF Serving from source

    stat:contributions welcometype:build/installUpdated Sep 1, 2026
  • #1816

    Apple M1 support

    type:featurestat:awaiting tensorflowerpriority: p2Updated Aug 12, 2026
  • #1963

    Cannot load saved model from S3 bucket after tensorflow-serving 2.7

    stat:awaiting tensorflowertype:bugUpdated Aug 12, 2026
  • #4139

    Vulnerability in Libgcrypt CVE-2026-41989

    stat:awaiting tensorflowertype:supportUpdated Aug 12, 2026
  • #1948

    tensorflow-serving docker container doesn't work on Macs with Apple M1 chips.

    type:build/installstat:awaiting tensorflowerUpdated Aug 12, 2026
  • #4116

    **CVE-2025-0649** - I think this issue still exists in version 2.19.0 - At least my lab suggests it is.

    stat:contributions welcometype:bugUpdated Aug 12, 2026
  • #2206

    Critical Vulnerability

    stat:awaiting tensorflowerUpdated Jun 30, 2026
  • #1583

    Enable AMP (Automatic Mixed Precision ) in Tensorflow Serving.

    type:featurestat:contributions welcomeUpdated May 27, 2026

> Tags

C++cppdeep-learningdeep-neural-networksmachine-learning

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 25, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言