Conversation
currently need to run the docker build before using the deployer `docker build -f dockerfiles/KerasDockerfile -t keras-container .` The build commands will be added to the build_docker_images.sh
|
Can one of the admins verify this patch? |
|
This is awesome! Can you add a test like https://github.com/ucbrise/clipper/blob/develop/integration-tests/deploy_tensorflow_models.py? |
- exception is raised when model_path_or_object passed to keras deployer is neither a Model object or an *.h5 file
|
just pushed an integration test and a small exception for the model validation part |
|
Thanks again! Sorry about the late reply. I can take care of that. We are in the midst of integration testing infrastructure refactoring (#595). I will add building container support to this PR once CI is ready. |
|
Hi, I'm trying to run this locally and I am running into an issue running the following command:
The error message I'm getting is:
It seems like there is no such image as clipper-base on docker hub. Not super familiar with docker but any ideas what I'm doing wrongly? |
|
my bad @simon-mo, sorry about that. should I update the docker file with |
|
Yes please that would be great! In the future, building clipper images will be simpler. But for now this is the correct approach. |
|
Just build a model container using this PR, awesome! One problem we ran into was the One downside of using the stock deployers is that they build&ship in one step, something we split in a two-stage process. Our pickle step is as simple as just |
|
@simon-mo Will we merge this PR? |
|
We are still missing
@rkooo567 do you want to handle that? |
|
@simon-mo Sure. I can work on it from 18th. Btw, I can see the integration test as well as KerasContainer + Dockerfile. Are there any missing parts from those two? |
|
sorry I mean we need to add them to the CI. So add a line here: clipper/bin/shipyard/clipper_docker.cfg.py Lines 159 to 170 in 8051a4e and here: clipper/bin/shipyard/clipper_test.cfg.py Lines 15 to 29 in 8051a4e |
… should see if our CI can build dockerfile.
|
Jenkins test this please |
|
Test FAILed. |
|
Jenkins test this please |
|
Test FAILed. |
|
jenkins test this please |
|
Test FAILed. |
|
jenkins test this please |
|
Test FAILed. |
|
jenkins test this please |
|
Test FAILed. |
|
Test FAILed. |
|
@simon-mo So, there are 2 things.
Do I need any additional setup for pulling an image?
Also, it looks like http://clipper-jenkins-viewer.herokuapp.com/ is broken for now? |
|
jenkins ok to test |
|
Test PASSed. |
|
Test PASSed. |
|
@simon-mo @withsmilo I think it is ready to go. @simon-mo Please add a keras-container repo at dockerhub, so that people can pull the image outside CI environment. |
|
Test PASSed. |
|
@rkooo567 the docker repo will be automatically created when we push to master. I restarted travis. |
Keras deployer (ucbrise#594)
Based on the tensorflow deployer, I have implemented this Keras deployer
Currentlly a docker build command needs to be run to create the keras-container image
This is until build_docker_images.sh will be updated with the build commands
a working example would be: