1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
The model_fn function provided in entry script can be called by SageMaker once per instance when first deploying or updating a model endpoint. However, if you are observing multiple calls causing memory issues, please contact AWS SageMaker Premium Support with endpoint ARN, sample scripts and logs to further dive deep into the root cause.
I also came across few similar issues regarding model_fn function being called multiple times. https://github.com/aws/amazon-sagemaker-examples/issues/341 https://github.com/aws/amazon-sagemaker-examples/issues/1073
Relevant content
- asked a year ago
- asked 6 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 6 months ago