# tf-serving-scann

tf-serving-scann is a prebuilt TensorFlow Serving Docker image enhanced with Google's ScaNN (Scalable Nearest Neighbors) library for fast vector similarity search. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/5393/tf-serving-scann

## Description

tf-serving-scann is a prebuilt TensorFlow Serving Docker image enhanced with Google's ScaNN (Scalable Nearest Neighbors) library for fast vector similarity search. It lets a server instantly return the closest matches to a query among millions of items such as products, images, or music, making it well suited for semantic-search and recommendation backends.

## Platform availability

Available on 0 of 10 platforms.

## Health score

6/100 (Low), based on 3 of 4 factors.
- Maintained: 0 (last commit 761 days ago)
- Popular: 0 (0 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)

## Links

- Docker Hub: https://hub.docker.com/r/google/tf-serving-scann
- GitHub: https://github.com/database-core/google-scann

## Common questions

### Which Docker image should I use to serve ScaNN with TensorFlow Serving?

Use the google/tf-serving-scann Docker image instead of the standard tensorflow/serving image. The ScaNN README says to replace references to tensorflow/serving with google/tf-serving-scann.

### What should I try if a TensorFlow Serving Docker container fails to start on an Apple Silicon Mac?

One report says rebuilding the container helped after downloaded images did not run properly on a Mac M1. Treat that as a troubleshooting step for TensorFlow Serving Docker setup and startup.

### Can predictions change when a model is served through TensorFlow Serving instead of called directly?

One report describes a Keras model saved as model.h5 and architecture.json producing different prediction values through TF Serving than with direct TensorFlow calls. The source does not provide a cause or fix.

---
Source: Our Local Host (https://ourlocalhost.com/app/5393/tf-serving-scann), the self-hosted and open-source app directory.
