Skip to content

SageMaker Canvas Batch Inference returns FAILED for every row

0

I've processed 1 million records, but it seems I hit some limit where Canvas Batch Inference stops working and returns all FAILED. As a month rolls over I get more rows allowed, but not enough to complete this project anytime soon. I'm doing sentence classification and I've removed all but alpha numeric and very basic punctuation. How do I get access to unlimited (5 million rows)?

asked 2 years ago222 views

1 Answer
0

I apologize for the inconvenience you're experiencing with SageMaker Canvas Batch Inference. It seems you've encountered a limitation with the previous version of SageMaker Canvas. However, there's good news regarding the processing of large datasets.

Amazon SageMaker Canvas has recently been updated to support petabyte-scale datasets, which is a significant improvement from the previous 5GB limit. This new capability allows for processing much larger datasets, including those with millions of rows.

To access this expanded functionality for large-scale data processing, you need to enable the "large data processing configuration" in your Canvas domain and user profile. This update leverages EMR Serverless to automatically scale processing for datasets over 5GB across sampling, preparation, model building, and inference.

With this new feature, you should be able to process your 5 million rows for sentence classification without hitting the previous limitations. The system now supports sampling techniques like random and stratified sampling, allowing samples up to 200K rows, which is a tenfold increase from before.

To get started with this new capability:

  1. Update your SageMaker domain settings to enable the large data processing configuration.
  2. Log out from your Canvas workspace.
  3. Log back in to access the latest version with expanded capabilities.

Keep in mind that using EMR Serverless for large-scale processing may incur additional costs under EMR pricing. However, this should allow you to complete your project without the previous row limitations you were experiencing.

If you continue to face issues after enabling these new features, it would be advisable to check your data for any potential issues or consult with AWS support for further assistance.
Sources
SageMaker Canvas unlocks no-code ML and data preparation at petabyte-scale - AWS

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.