Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add experimental environment: tensorflow-serving #1212

Merged
merged 7 commits into from Jul 2, 2019

Conversation

@life1347
Copy link
Member

commented Jun 24, 2019

This PR adds an experimental environment: tensorflow-serving. (What is Tensorflow Serving).
With tensorflow serving environment, you can deploy a trained machine learning model to fission cluster with ease. You can try with the following script.

#!/bin/bash

git clone https://github.com/tensorflow/serving
cd serving/tensorflow_serving/servables/tensorflow/testdata/saved_model_half_plus_two_cpu
zip -r tensorflow.zip .

fission env create --name tensorflow --image tachingchen/experiment-tensorflow:0.1 --version 2
fission fn create --name t1 --env tensorflow --deploy tensorflow.zip
fission fn test --name t1 --body '{"instances": [1.0, 2.0, 0.0]}' --method POST

This change is Reviewable

@life1347 life1347 force-pushed the srcmesh-tensorflow-serving-env branch from d60dd89 to 2953b80 Jun 24, 2019

life1347 added some commits Jun 24, 2019

@life1347 life1347 added this to the 1.4 milestone Jun 26, 2019

@soamvasani
Copy link
Member

left a comment

LGTM, this looks great!

@life1347 life1347 force-pushed the srcmesh-tensorflow-serving-env branch from f956fac to e038d29 Jun 27, 2019

@life1347 life1347 force-pushed the srcmesh-tensorflow-serving-env branch from e038d29 to fee1d02 Jun 27, 2019

life1347 added some commits Jun 27, 2019

@life1347 life1347 merged commit b229d6e into master Jul 2, 2019

6 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
security/snyk - environments/jvm/pom.xml (soamvasani) No new issues
Details
security/snyk - environments/nodejs/package.json (soamvasani) No manifest changes detected
security/snyk - environments/python/requirements.txt (soamvasani) No manifest changes detected
security/snyk - environments/ruby/Gemfile.lock (soamvasani) No manifest changes detected
security/snyk - examples/nodejs/package.json (soamvasani) No manifest changes detected

@life1347 life1347 deleted the srcmesh-tensorflow-serving-env branch Jul 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.