Skip to content

Conversation

kdassharma
Copy link

@kdassharma kdassharma commented May 4, 2023

Description of changes:
I assume most people trialing this notebook won't have access to a ml.g5.24xlarge instance. I was trying with ml.m4.16xlarge with an consistently ran into issues like:

Error raised by inference endpoint: Read timeout on endpoint URL: 

Testing done:
Ran the embeddings with the updated embed_documents function and it works:


Processing chunks:  31%|█████████████████████████████▊                                                                  | 105/338 [41:19<1:26:51, 22.37s/it]
Error encountered while processing chunk requests[210:212] on retry 1: Error raised by inference endpoint: Read timeout on endpoint URL: "https://runtime.sagemaker.us-east-1.amazonaws.com/endpoints/jumpstart-example-raglc-huggingface-tex-2023-05-03-02-24-29-945/invocations"
Processing chunks:  94%|██████████████████████████████████████████████████████████████████████████████████████████▎     | 318/338 [2:04:16<07:20, 22.04s/it]

This is an example of how the tracker looks.

Merge Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.

  • [X ] I have read the CONTRIBUTING doc and adhered to the example notebook best practices
  • [ X] I have updated any necessary documentation, including READMEs
  • [ X] I have tested my notebook(s) and ensured it runs end-to-end
  • [ X] I have linted my notebook(s) and code using black-nb -l 100 {path}/{notebook-name}.ipynb

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@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-code-formatting
  • Commit ID: 41c29db
  • 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-sagemaker-examples-link-check
  • Commit ID: 41c29db
  • 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: 41c29db
  • 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: 41c29db
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@kdassharma kdassharma marked this pull request as ready for review May 4, 2023 20:29
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