Skip to content

Commit

Permalink
v2 control plane grpc + various fixes for scalability (#229)
Browse files Browse the repository at this point in the history
* add transport settings for v2client

* add error codes

* fix httpmock tests

* add model to cache if failed unload

* add error handling for unload model

* tidy up logic

* add test

* lint

* limit http / grpc connections.

* increase http connection timeout

* Tidy up tests

* lint

* fix test

* Update server snapshot creation in scheduler

* read events in go routines

* add v2 control plane protos

* initial v2 grpc impl

* add counter for load / unload models

* add test

* compute counts without models

* add triton control plance to v2 dataplane for now

* protos

* compute memory including loading models

* fix scheduler test

* fix test

* add a note

* create a copy

* cap

* add a mutex around state map management

* do not access map directly in memory store

* return err

* remove sleep

* refactor and fix test

* add v2 grpc test

* add more test cases

* add aggregate infer metrics and test

* fix test and lint

Co-authored-by: Clive Cox <cc@seldon.io>
  • Loading branch information
sakoush and ukclivecox committed May 25, 2022
1 parent 25246b7 commit e3f98cc
Show file tree
Hide file tree
Showing 26 changed files with 1,748 additions and 181 deletions.
3 changes: 2 additions & 1 deletion apis/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ build:
./mlops/scheduler/scheduler.proto \
./mlops/scheduler/storage.proto \
./mlops/chainer/chainer.proto \
./mlops/v2_dataplane/v2_dataplane.proto
./mlops/v2_dataplane/v2_dataplane.proto \
./mlops/v2_model_repository/v2_model_repository.proto


PROTOC_PYTHON_OUT := --python_out=./python
Expand Down
2 changes: 1 addition & 1 deletion apis/mlops/agent/agent.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apis/mlops/agent_debug/agent_debug.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apis/mlops/chainer/chainer.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apis/mlops/proxy/proxy.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apis/mlops/scheduler/scheduler.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e3f98cc

Please sign in to comment.