-
Notifications
You must be signed in to change notification settings - Fork 835
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 both http and grpc #2574
Allow both http and grpc #2574
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Sun Oct 25 11:52:17 UTC 2020 impatient try |
Sun Oct 25 11:52:27 UTC 2020 impatient try |
/test integration |
Sun Oct 25 12:13:09 UTC 2020 impatient try |
/test integration |
Sun Oct 25 15:05:02 UTC 2020 impatient try |
/test integration |
Sun Oct 25 17:25:49 UTC 2020 impatient try |
/test integration |
Sun Oct 25 18:22:39 UTC 2020 impatient try |
Sun Oct 25 18:22:53 UTC 2020 impatient try |
Sun Oct 25 18:24:44 UTC 2020 impatient try |
/test integration |
Mon Oct 26 10:45:32 UTC 2020 impatient try |
Mon Oct 26 10:45:36 UTC 2020 impatient try |
Mon Oct 26 10:47:38 UTC 2020 impatient try |
/test integration |
Mon Oct 26 13:39:27 UTC 2020 impatient try |
Mon Oct 26 13:40:15 UTC 2020 impatient try |
Checking backward compatibility now: took a model that was working fine for 1.4.0 in both gRPC and REST flavour. Built with wrapper 1.4.0 and deployed with this branch's operator / executor:
Built with this branch's wrapper:
|
We could allow second positional argument to be set, ignore it, and log deprecation warning. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Massive but extremely useful addition!
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"# Backwards Compatability Examples with Different Protocols\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extending notebook to cover gRPC will be useful
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -19,138 +19,9 @@ | |||
"pip install seldon-core\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Section about training locally and wrapping to test with Docker was quite useful, IMO. Very introductory to wrapping models.
Reply via ReviewNB
@@ -0,0 +1,985 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what is prepackaged iris testing here, it will be just deployed using old server image so it's just
"old operator + "old sklearn server"
Reply via ReviewNB
@@ -20,6 +20,20 @@ | |||
"```" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -228,7 +204,6 @@ def main(): | |||
sys.path.append(os.getcwd()) | |||
parser = argparse.ArgumentParser() | |||
parser.add_argument("interface_name", type=str, help="Name of the user interface.") | |||
parser.add_argument("api_type", type=str, choices=["REST", "GRPC", "FBS"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should mention removal of api_type
argument in upgrading section.
@@ -298,10 +273,17 @@ def main(): | |||
) | |||
|
|||
parser.add_argument( | |||
"--port", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above, we should mention change in wrapper API in upgrading section.
It seems that in case of gRPC model it is instructed properly to serve gRPC traffic on port
(it's 9001 as I am looking at two-node model) |
Thu Nov 12 08:20:53 UTC 2020 impatient try |
Thu Nov 12 08:20:59 UTC 2020 impatient try |
Thu Nov 12 14:42:38 UTC 2020 impatient try |
Thu Nov 12 14:42:48 UTC 2020 impatient try |
Thu Nov 12 14:43:45 UTC 2020 impatient try |
Thu Nov 12 14:44:01 UTC 2020 impatient try |
/test integration |
Thu Nov 12 14:58:52 UTC 2020 impatient try |
/test notebooks |
Fri Nov 13 07:52:06 UTC 2020 impatient try |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: axsaucedo 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 |
Mon Nov 16 14:16:57 UTC 2020 impatient try |
Mon Nov 16 14:17:04 UTC 2020 impatient try |
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #2378
Fixes #2299
Special notes for your reviewer:
Does this PR introduce a user-facing change?: