-
Notifications
You must be signed in to change notification settings - Fork 870
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Open Inference Protocol Implementation. (#2609)
* Open Inference Protocol Implementation. Signed-off-by: Andrews Arokiam <[email protected]> * added worker status check. Signed-off-by: Andrews Arokiam <[email protected]> * torchserve version updated with server metadata. Signed-off-by: Andrews Arokiam <[email protected]> * Added OIP e2e test in CI/CD. 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 <[email protected]> * Addressed review feedback: 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 <[email protected]> * Changes from review feedback: 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 <[email protected]> * Added a new worker command to handle the KServe OIP inference request. Signed-off-by: Andrews Arokiam <[email protected]> * Added `OIPPREDICT` worker command in Job to allow oip requests. Signed-off-by: Andrews Arokiam <[email protected]> * Format changes. Signed-off-by: Andrews Arokiam <[email protected]> --------- Signed-off-by: Andrews Arokiam <[email protected]> Co-authored-by: lxning <[email protected]>
- Loading branch information
Showing
17 changed files
with
1,049 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.