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

feat: Support simple model serving #75

Merged
merged 1 commit into from
Aug 28, 2020
Merged

Conversation

simon-cj
Copy link
Contributor

What this PR does / why we need it:

Add your description

Which issue(s) this PR is related to (optional, link to 3rd issue(s)):

Fixes #

Reference to #

Special notes for your reviewer:

/cc @your-reviewer

Release note:

NONE

@caicloud-bot caicloud-bot added release-note-none Denotes a PR that doesn't merit a release note. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Aug 24, 2020
@simon-cj simon-cj changed the title feat: Support simple model serving 【WIP】:feat: Support simple model serving Aug 25, 2020
@caicloud-bot caicloud-bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 25, 2020
@simon-cj simon-cj changed the title 【WIP】:feat: Support simple model serving 【WIP】feat: Support simple model serving Aug 25, 2020
@simon-cj simon-cj force-pushed the master branch 2 times, most recently from 56eebb7 to da62b69 Compare August 26, 2020 09:01
@caicloud-bot caicloud-bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Aug 26, 2020
@simon-cj simon-cj force-pushed the master branch 2 times, most recently from c62f55a to 6ca8ec2 Compare August 27, 2020 07:29
@caicloud-bot caicloud-bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Aug 27, 2020
@simon-cj simon-cj changed the title 【WIP】feat: Support simple model serving feat: Support simple model serving Aug 27, 2020
@caicloud-bot caicloud-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 27, 2020
@simon-cj simon-cj force-pushed the master branch 5 times, most recently from 4ec54a4 to 44f7515 Compare August 28, 2020 01:13
@simon-cj
Copy link
Contributor Author

/cc @gaocegege

@caicloud-bot caicloud-bot requested a review from gaocegege August 28, 2020 02:02
- name: KLEVER_MODEL_REGISTRY_PORT
value: {{ .Values.service.Port }}
- name: ORMB_DOMAIN
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use ORMB_DOMAIN I think.

manifests/model-registry/templates/kleveross-gateway.yaml Outdated Show resolved Hide resolved
MountPath: modelMountPath,
},
},
ImagePullPolicy: corev1.PullAlways,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we avoid pulling always?

pkg/registry/serving/composer.go Show resolved Hide resolved
Args: []string{p.Graph.ModelURI, modelMountPath},
Env: []corev1.EnvVar{
{
Name: "AWS_ACCESS_KEY_ID",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add some comments about the KEY to let readers know why we use AWS_ACCESS_KEY_ID instead of ORMB_XXX.

@@ -25,7 +25,7 @@ export SHELLOPTS := errexit
ROOT := github.com/kleveross/klever-model-registry

# Target binaries. You can build multiple binaries for a single project.
TARGETS := klever-model-registry klever-modeljob-operator
TARGETS := model-registry modeljob-operator
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember that we decide to have one separate binary for inference?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the inference binary is trtserver and openscoring jar package, not include source code.

@simon-cj simon-cj force-pushed the master branch 2 times, most recently from 34d1415 to f070591 Compare August 28, 2020 06:27
@simon-cj
Copy link
Contributor Author

comments are addressed, PTAL. thanks

@simon-cj
Copy link
Contributor Author

reviewing? can merge?
otherwise, the PR will be more huge.
@gaocegege

@gaocegege
Copy link
Member

/lgtm

@caicloud-bot caicloud-bot added the lgtm Indicates that a PR is ready to be merged. label Aug 28, 2020
@caicloud-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gaocegege

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@caicloud-bot caicloud-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 28, 2020
@caicloud-bot caicloud-bot merged commit 4971488 into kleveross:master Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants