Skip to content

Conversation

vinayak-shanawad
Copy link

@vinayak-shanawad vinayak-shanawad commented Mar 7, 2023

Hi Team,

Greetings!!

Description of changes:

We tried testing this notebook with default settings to understand how dynamic batch inference works but unfortunately it's not working. However, observed that we have to reduce the batch delay to fix batch response mismatch errors.

Config used:

env_variables_dict = { "SAGEMAKER_TS_BATCH_SIZE": "3", "SAGEMAKER_TS_MAX_BATCH_DELAY": "1000", "SAGEMAKER_TS_MIN_WORKERS": "1", "SAGEMAKER_TS_MAX_WORKERS": "1", }

Testing: Done.

Existing issue: #3525
Support case Id: 10503342361

Error description: MODEL_LOG - model: model, number of batch response mismatched, expect: 3, got: 1.

Please let me know if there are any queries.

Thanks & Regards,
Vinayak S

Hi Team,

Greetings!!

Description of changes:

We tried testing this notebook with default settings to understand how dynamic batch inference works but unfortunately it's not working. However, observed that we have to reduce the batch delay to avoid batch response mismatch errors.

Config used:

Config used:

env_variables_dict = {
    "SAGEMAKER_TS_BATCH_SIZE": "3",
    "SAGEMAKER_TS_MAX_BATCH_DELAY": "1000",
    "SAGEMAKER_TS_MIN_WORKERS": "1",
    "SAGEMAKER_TS_MAX_WORKERS": "1",
}

Existing issue: aws#3525
Support case Id: 10503342361

Error description: MODEL_LOG - model: model, number of batch response mismatched, expect: 3, got: 1.

Please let me know if there are any queries.

Thanks & Regards,
Vinayak S
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: SageMakerNotebooksProd-USWEST2-sagemaker-examples-link-check
  • Commit ID: d3aae31
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: SageMakerNotebooksProd-USWEST2-sagemaker-examples-code-formatting
  • Commit ID: d3aae31
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: SageMakerNotebooksProd-USWEST2-sagemaker-examples-grammar
  • Commit ID: d3aae31
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: SageMakerNotebooksProd-USWEST2-amazon-sagemaker-examples-pr
  • Commit ID: d3aae31
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@vinayak-shanawad vinayak-shanawad changed the title Updated the BATCH_DELAY to avoid batch response mismatch errors Updated the BATCH_DELAY to fix batch response mismatch errors Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants