Skip to content

A prebuilt tensorflow serving client from the tensorflow serving proto files

License

Notifications You must be signed in to change notification settings

figroc/tensorflow-serving-client

 
 

Repository files navigation

tensorflow-serving-client

Build Status

A prebuilt tensorflow serving client from the tensorflow serving proto files.

Currently supported build: C++, Java, Python, Node, Go, Mono, Rust.

Check tensorflow serving project for details: https://tensorflow.github.io/serving/

update protos

Release Status Release Status Release Status

Set desired version in the VERSION file and invoke ./update.sh.

build libraries

Grpc tools are needed for building variant packages.

  • Install protobuf-compiler-grpc and libprotobuf-dev on Ubuntu
  • Install grpc and protobuf on macOS

See Dockerfile for details.

NOTE: [email protected] and [email protected] are required

Target Command Outputs Artifacts
native gradle cmake build/cmake Publish Status
java gradle java build/libs Publish Status
python gradle wheel build/dist Publish Status
node gradle node build/node Publish Status
go gradle golang build/go Publish Status
mono gradle mono build/mono Publish Status
rust gradle rust build/cargo Publish Status

using docker

Invoke ./build.sh instead of gradle to build artifacts using the docker.

The building container runs as user gradle whose UID:GID is 1000:1000. It goes well given that the UID:GID pair of the user matches the one in the host OS.

Otherwise you have to configure it manually. There are two approaches you can take either:

  1. Create a new user in the host OS to match the UID:GID pair of gradle.
  2. Make the dirs .gradle, build and obj in the project root to be world-writable.

known issues

About

A prebuilt tensorflow serving client from the tensorflow serving proto files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CMake 29.3%
  • Shell 22.0%
  • Dockerfile 15.9%
  • Python 14.6%
  • Go 12.9%
  • JavaScript 5.3%