Skip to main content
Prerequisites depend on how you deploy:
1

AWS account & IAM role

An IAM role with AmazonSageMakerFullAccess, plus permission to subscribe to AWS Marketplace products.
2

Marketplace subscription

An active subscription to the relevant model package (H-Optimus / M-Optimus) to obtain the Model Package ARN.
3

Compute & quota

A SageMaker execution environment and sufficient quota for ml.g5.xlarge instances in your region. Outside SageMaker, set the execution role ARN explicitly (get_execution_role() is unavailable).

Python SDK & dependencies

The Bioptimus SDK handles WSI reading, tiling, tissue masking, and concurrent dispatch for both the on-premise and SageMaker backends. The SageMaker reference notebooks pin:
pip install sagemaker==2.254.1 boto3==1.42.2