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

Allow non-model specific predict for Tensorflow protocol #1684

Merged
merged 1 commit into from
Apr 14, 2020
Merged

Allow non-model specific predict for Tensorflow protocol #1684

merged 1 commit into from
Apr 14, 2020

Conversation

ukclivecox
Copy link
Contributor

@ukclivecox ukclivecox commented Apr 12, 2020

Fixes #1611

  • Allows /v1/models/:predict
  • Fixes error payload handling
  • Adds tests and updates docs

@seldondev
Copy link
Collaborator

Sun Apr 12 10:00:15 UTC 2020
The logs for [lint] [2] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1684/2.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1684 --build=2

@seldondev
Copy link
Collaborator

Sun Apr 12 10:00:19 UTC 2020
The logs for [pr-build] [1] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1684/1.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1684 --build=1

@ryandawsonuk
Copy link
Contributor

Just checking I've understood the change at https://github.com/SeldonIO/seldon-core/pull/1684/files#diff-a047655e38112373418dfdc7e8b71227R292 correctly. It means the model_name parameter will be optional? So if it's not set then you can still make a request to the graph-level endpoint by hitting /v1/models/:predict

@ukclivecox
Copy link
Contributor Author

Just checking I've understood the change at https://github.com/SeldonIO/seldon-core/pull/1684/files#diff-a047655e38112373418dfdc7e8b71227R292 correctly. It means the model_name parameter will be optional? So if it's not set then you can still make a request to the graph-level endpoint by hitting /v1/models/:predict

Yes the model_name is needed just for Seldon protocol as it needs to run the tensorflow proxy server and in that it needs to know the model_name. For tensorflow protocol the name of the graph component will need to match the model loaded as that will be used.

Copy link
Contributor

@ryandawsonuk ryandawsonuk left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@seldondev
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ryandawsonuk

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

@ukclivecox ukclivecox merged commit be4c2c7 into SeldonIO:master Apr 14, 2020
@seldondev
Copy link
Collaborator

Tue Apr 14 08:33:32 UTC 2020
The logs for [lint] [4] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1684/4.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1684 --build=4

@seldondev
Copy link
Collaborator

Tue Apr 14 08:33:39 UTC 2020
The logs for [pr-build] [3] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1684/3.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1684 --build=3

@seldondev
Copy link
Collaborator

failed to trigger Pull Request pipeline

  • failed to create agent
  • failed to calculate in repo config
  • failed to load trigger config for repository SeldonIO/seldon-core for ref 7de281f
  • failed to find any lighthouse configuration files in repo SeldonIO/seldon-core at sha 7de281f
  • failed to process repo SeldonIO/seldon-core refref 7de281f
  • failed to list files in directory /var/tmp/gitrepo660600678/.lighthouse
  • open /var/tmp/gitrepo660600678/.lighthouse
  • no such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

url with tensorflow protocol
3 participants