Unable to deploy scikit-learn model using clipper.ai deploy_python_closure function

195 Views Asked by At

Note: This is not an issue related to scikit-learn package.

Hi,

I tried deploying a toy model using scikit-learn on Clipper cluster using DockerContainerManager.

It's successfully able to build the docker image but gets stuck on

18-08-05:18:37:04 INFO [docker_container_manager.py:353] [default-cluster] Found 0 replicas for tree-model:1. Adding 1

On inspecting the docker container, first it exits and on checking the logs of the respective container I get:

Starting Python Closure container Connecting to Clipper with default port: 7000 Encountered an ImportError when running container. You can use the pkgs_to_install argument when calling clipper_admin.build_model() to supply any needed Python packages.

I think this is a common error, even others encountered it: https://github.com/ShuaiW/serve-ml-with-clipper/issues/3

Any help would be really appreciated!

0

There are 0 best solutions below