{"action":"created","issue":{"url":"https://api.github.com/repos/ucbrise/clipper/issues/520","repository_url":"https://api.github.com/repos/ucbrise/clipper","labels_url":"https://api.github.com/repos/ucbrise/clipper/issues/520/labels{/name}","comments_url":"https://api.github.com/repos/ucbrise/clipper/issues/520/comments","events_url":"https://api.github.com/repos/ucbrise/clipper/issues/520/events","html_url":"https://github.com/ucbrise/clipper/issues/520","id":333447586,"node_id":"MDU6SXNzdWUzMzM0NDc1ODY=","number":520,"title":"Does Clipper support multiple workers?","user":{"login":"aksnzhy","id":22660103,"node_id":"MDQ6VXNlcjIyNjYwMTAz","avatar_url":"https://avatars3.githubusercontent.com/u/22660103?v=4","gravatar_id":"","url":"https://api.github.com/users/aksnzhy","html_url":"https://github.com/aksnzhy","followers_url":"https://api.github.com/users/aksnzhy/followers","following_url":"https://api.github.com/users/aksnzhy/following{/other_user}","gists_url":"https://api.github.com/users/aksnzhy/gists{/gist_id}","starred_url":"https://api.github.com/users/aksnzhy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aksnzhy/subscriptions","organizations_url":"https://api.github.com/users/aksnzhy/orgs","repos_url":"https://api.github.com/users/aksnzhy/repos","events_url":"https://api.github.com/users/aksnzhy/events{/privacy}","received_events_url":"https://api.github.com/users/aksnzhy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-18T21:49:58Z","updated_at":"2018-06-19T16:52:04Z","closed_at":null,"author_association":"NONE","body":"I have 4 GPUs on my PC and I want to use them to serve one model in a load-balanced way. Does Clipper support that?"},"comment":{"url":"https://api.github.com/repos/ucbrise/clipper/issues/comments/398469030","html_url":"https://github.com/ucbrise/clipper/issues/520#issuecomment-398469030","issue_url":"https://api.github.com/repos/ucbrise/clipper/issues/520","id":398469030,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODQ2OTAzMA==","user":{"login":"dcrankshaw","id":431588,"node_id":"MDQ6VXNlcjQzMTU4OA==","avatar_url":"https://avatars1.githubusercontent.com/u/431588?v=4","gravatar_id":"","url":"https://api.github.com/users/dcrankshaw","html_url":"https://github.com/dcrankshaw","followers_url":"https://api.github.com/users/dcrankshaw/followers","following_url":"https://api.github.com/users/dcrankshaw/following{/other_user}","gists_url":"https://api.github.com/users/dcrankshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/dcrankshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcrankshaw/subscriptions","organizations_url":"https://api.github.com/users/dcrankshaw/orgs","repos_url":"https://api.github.com/users/dcrankshaw/repos","events_url":"https://api.github.com/users/dcrankshaw/events{/privacy}","received_events_url":"https://api.github.com/users/dcrankshaw/received_events","type":"User","site_admin":false},"created_at":"2018-06-19T16:52:04Z","updated_at":"2018-06-19T16:52:04Z","author_association":"CONTRIBUTOR","body":"Yes it does. You can create [multiple replicas of a model](http://docs.clipper.ai/en/v0.3.0/clipper_connection.html#clipper_admin.ClipperConnection.set_num_replicas) and Clipper will automatically load-balance requests between them. However, Clipper does not yet support deploying models on GPUs automatically. You can instead do this manually by starting the Docker containers yourself using `nvidia-docker` after registering your model. You can look at the [function](https://github.com/ucbrise/clipper/blob/develop/clipper_admin/clipper_admin/docker/docker_container_manager.py#L207-L238) that Clipper calls to start containers to see which labels and environment variables are normally set."}}
{"actor":{"display_login":"dcrankshaw"}}