- AWS & SageMaker
- On-premise
- Hugging Face (academic)
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).
