Skip to content

Bedrock Batch Inference stuck on SCHEDULED

0

I have launched several batch inference jobs on AWS Bedrock but none of them actually ends up completing. They remain for hours on the scheduled state without any change. I have checked both the inputs and the parameters but I dont see any issue.

How can i resolve it ?

asked 2 years ago754 views

1 Answer
-1

This is a known issue that some users have encountered with AWS Bedrock batch inference jobs. When jobs get stuck in the "SCHEDULED" state for extended periods, it can be frustrating, but there are several steps you can take to troubleshoot and potentially resolve the issue:

  1. Verify your input data: Ensure that your input JSONL file is correctly formatted with unique identifiers (recordId) for each record and that the modelInput is structured as required by the model you're using.

  2. Check S3 bucket permissions: Confirm that Bedrock has the necessary permissions to read from your input bucket and write to your output bucket. This includes both bucket-level and object-level permissions.

  3. Review IAM roles and policies: Make sure the IAM role you're using for the batch inference job has all the required permissions for Bedrock, S3, and any other related services.

  4. Reduce batch size for testing: Try creating a job with a smaller batch size, perhaps just a few records, to see if it progresses. This can help isolate whether the issue is related to data volume or format.

  5. Verify service quotas: Although you might not be running multiple jobs concurrently, check if you've hit any service quotas for Bedrock or related services.

  6. Check model availability: Ensure that the specific model you're trying to use is available for batch inference in your chosen AWS region.

  7. Monitor CloudWatch logs: If available, review any CloudWatch logs associated with your Bedrock jobs for more detailed error information.

  8. Test with direct API calls: Try running the same prompts through the Bedrock console or API directly (not as a batch job) to see if they process successfully. This can help determine if the issue is specific to batch processing or if it's a more general problem with the model or your inputs.

If none of these steps resolve the issue, it may be worth contacting AWS Support for more personalized assistance. They can provide deeper insights into your specific account configuration and job setup.

Remember, batch inference is designed to handle large-scale processing efficiently, so once you resolve these initial hurdles, it should provide a powerful tool for your workflow.
Sources
AWS Bedrock batch inference stuck on SCHEDULED | AWS re:Post
Batch inference general operation error | AWS re:Post

answered 2 years ago

  • None of these suggestions actually worked for my case

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.