-
Notifications
You must be signed in to change notification settings - Fork 874
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
Issue 942 #979
Conversation
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 |
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.
LGTM. Can we also add a unit test for this
Description
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 #(issue)
Type of change
Please delete options that are not relevant.
Feature/Issue validation/testing
Please describe the tests [UT/IT] that you ran to verify your changes and relevent result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.
Test A
Test B
UT/IT execution results
test case1
define max_request_size=10000 in config.properties
run client: python torchserve_grpc_client.py infer vgg11_v2 ~/serve/examples/image_classifier/kitten.jpg
result: io.grpc.StatusRuntimeException: RESOURCE_EXHAUSTED: gRPC message exceeds maximum size 10000: 110993
test case2
define max_request_size=1000000 in config.properties
run client: python torchserve_grpc_client.py infer vgg11_v2 ~/serve/examples/image_classifier/kitten.jpg
result:
{
"tiger_cat": 0.5501413941383362,
"tabby": 0.3231857717037201,
"Egyptian_cat": 0.11440018564462662,
"lynx": 0.006006317213177681,
"tiger": 0.004394156392663717
}
Logs
Checklist: