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
- Jupyter Notebook: serving and querying VGG with GraphPipe
- Complete client/server example
- Simple tensorflow model server
- Keras to GraphDef
- Using a remote operation
- Tensorflow graph to GraphDef
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
Metadata
Release files for graphpipe-tf 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| graphpipe_tf-1.0.4-cp36-cp36m-macosx_10_11_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | macOS 10.11+ x86-64 | Details for graphpipe_tf-1.0.4-cp36-cp36m-macosx_10_11_x86_64.whl |
Release files / graphpipe_tf-1.0.4-cp36-cp36m-macosx_10_11_x86_64.whl
| Download URL | graphpipe_tf-1.0.4-cp36-cp36m-macosx_10_11_x86_64.whl |
|---|---|
| Size | 24.2 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc macOS 10.11+ x86-64 |
|
SHA-256 checksum How to use checksums |
4443ab6f0ccab810301ea9715bc8d6b3fcfcceec24c87138edb78217c1ac5367
|
|
BLAKE2b-256 checksum How to use checksums |
d3b1c1a7a218ffd7dedb2cb049019452cc8316962928170bbcb7cdfb15aa443c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.4
|
Security for graphpipe-tf 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.