aws / aws/amazon-sagemaker-examples
Real-time Batch Inference with Torchserve - Number of batch response mismatched
- Dominant language
- Jupyter Notebook
- Stars
- 11k
- Forks
- 7k
- Avg merge
- 8h 29m
- Merged PRs (30d)
- 8
Description
Hi Team,
Greetings!!
I tried going through following notebook to understand how real-time batch inference works, but it's returning this error - "number of batch response mismatched". Could you please have a look?
Notebook:
https://github.com/aws/amazon-sagemaker-examples/blob/main/sagemaker-python-sdk/pytorch_batch_inference/sagemaker_batch_inference_torchserve.ipynb
Error description:
MODEL_LOG - model: model, number of batch response mismatched, expect: 3, got: 1.
Thanks
Contributor guide
Research direction
Open and run sagemaker-python-sdk/pytorch_batch_inference/sagemaker_batch_inference_torchserve.ipynb, then reproduce the reported batch inference error. Inspect how the notebook sends the batch and handles responses; done means a batch of three produces three responses without the mismatch error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, jupyter-notebook, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100