-
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
Add request envelope to support Multiserving frameworks #749
Conversation
- updated custom resnet and mnist handlers - update docs
- removed stale Transformer_readme.md
Refactor BaseHandler
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
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.
@abishekchiffon Seeing failures when running the unit test python -m pytest test_envelopes.py
========================================================================= short test summary info ==========================================================================
ERROR test_envelopes.py::test_json - RuntimeError: Missing the model.pt file
ERROR test_envelopes.py::test_json_batch - RuntimeError: Missing the model.pt file
ERROR test_envelopes.py::test_json_double_batch - RuntimeError: Missing the model.pt file
ERROR test_envelopes.py::test_body - RuntimeError: Missing the model.pt file
======================================================================= 1 passed, 4 errors in 0.55s ========================================================================
frontend/server/src/main/java/org/pytorch/serve/util/codec/ModelRequestEncoder.java
Show resolved
Hide resolved
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Add request envelope to support Multiserving frameworks (pytorch#749)
Description
Adds the wrapper feature to help Multiserving frameworks.
The envelope parses request from multiple Model serving frameworks like Seldon, KFServing, without any modifications in the handler code.
This PR builds on top of the PR #521 from Htappen
Type of change
Please delete options that are not relevant.
Feature/Issue validation/testing
-Additional units added to ts/torch_handler/unit_tests.
-Executed end to end flow and verified following
Gradle build logs :build_gradle_411_envelope.log
Unit test logs: unit_tests_411_envelope.log
Regression suite logs: regression_test_411_envelope.log
Checklist: