-
Notifications
You must be signed in to change notification settings - Fork 863
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
Open Inference Protocol Implementation. #2609
Conversation
db0be27
to
6c967fd
Compare
7cc7579
to
5654872
Compare
0c09ef4
to
19f6ab2
Compare
206e190
to
acf8910
Compare
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.
Thank you for the contribution.
Could you add tests for the following endpoints?
- server and model health check.
- tensor input inference.
frontend/server/src/main/java/org/pytorch/serve/util/ConfigManager.java
Outdated
Show resolved
Hide resolved
frontend/server/src/main/java/org/pytorch/serve/grpcimpl/OpenInferenceProtocolImpl.java
Outdated
Show resolved
Hide resolved
frontend/server/src/main/java/org/pytorch/serve/grpcimpl/OpenInferenceProtocolImpl.java
Outdated
Show resolved
Hide resolved
frontend/server/src/main/java/org/pytorch/serve/grpcimpl/OpenInferenceProtocolImpl.java
Show resolved
Hide resolved
...erver/src/main/java/org/pytorch/serve/http/api/rest/OpenInferenceProtocolRequestHandler.java
Outdated
Show resolved
Hide resolved
...erver/src/main/java/org/pytorch/serve/http/api/rest/OpenInferenceProtocolRequestHandler.java
Outdated
Show resolved
Hide resolved
frontend/server/src/main/java/org/pytorch/serve/grpcimpl/OpenInferenceProtocolImpl.java
Outdated
Show resolved
Hide resolved
frontend/server/src/main/java/org/pytorch/serve/job/GRPCJob.java
Outdated
Show resolved
Hide resolved
e893d12
to
572ec36
Compare
frontend/server/src/main/java/org/pytorch/serve/grpcimpl/OpenInferenceProtocolImpl.java
Outdated
Show resolved
Hide resolved
frontend/server/src/main/java/org/pytorch/serve/job/GRPCJob.java
Outdated
Show resolved
Hide resolved
frontend/server/src/main/java/org/pytorch/serve/job/GRPCJob.java
Outdated
Show resolved
Hide resolved
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.
It seems that the support for kserve v2 http inference is missed. Could you please also add the test for this?
frontend/server/src/main/java/org/pytorch/serve/ServerInitializer.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>
Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>
Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>
1. Allocated ISVC resource to avoid pod running timeout. 2. Configured environment variable INFERENCE_PROTOCOL as 'oip'. 3. Increased `max_wait_time` for pod running. 4. Deleted ISVC once the test has been passed. Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>
1. Updated environment variable to `TS_OPEN_INFERENCE_PROTOCOL`. 2. Added logic to read the variable `ts_open_inference_protocol=true` from the property file to determine if OIP is enabled or not. 3. Implemented extra check for OIP `ModelInferResponse` in GRPC responses. 4. Utilized local path for the proto file in test_mnist.sh. Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>
1. Modified `server live`, `server health`, `model ready` check method. 2. Added tests `server live`, `server health`, `model ready` for grpc 3. Added tests `server live`, `server health`, for http Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>
Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>
Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>
Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>
@lxning |
Posted an issue i faced while using OIP #2951 |
Description
Please read our CONTRIBUTING.md prior to creating your first pull request.
Please include a summary of the feature or issue being fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #2373
Type of change
Please delete options that are not relevant.
Feature/Issue validation/testing
Please describe the Unit or Integration tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.
Test A
Logs for Test A
Test B
Logs for Test B
Checklist: