Skip to main content

Graphpipe helpers for TensorFlow remote ops

Project description

GraphPipe helpers for TensorFlow

This package contains helpers and examples for using GraphPipe with tensorflow. It contains a new plug-in operation for tensorflow that makes a call to a GraphPipe remote model from within a local tensorflow graph. The new operation is called remote_op and communicates with the remote model using libcurl and the GraphPipe protocol.

Additionaly, a new keras layer is included based on the remote operation. This allows you to include a layer in a keras model that makes a remote call.

Finally, various examples are included of serving tensorflow models in python. For production, a more performant server like graphpipe-tf is recommended, but the python server is useful for experimentation.

List Of Examples

Build

Building manually requires a few libraries to be installed, but the Makefile will happily run a build for you in a docker container.

  make build

See build_linux.sh for the additional headers besides libcurl that you will need to build the C library. (From tensorflow and flatbuffers)

If you've successfully built the C library, to build installation packages:

python setup.py bdist_wheel

Note that these are not manylinux wheels and depend on libcurl being installed

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

graphpipe_tf-1.0.4-cp36-cp36m-macosx_10_11_x86_64.whl (24.2 kB view hashes)

Uploaded CPython 3.6m macOS 10.11+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page