Spot instances with Sagemaker batch transform?

Is it possible to use spot instances for batch transform? Don’t see in either of these places
ht tp s://

Trying to pass “use_spot_instances=True” to either the HuggingFaceModel, HuggingFaceModel.transformer or HuggingFaceModel.transformer.transform() gives an error. I am using this notebook as an example.


not possible today. If you want to use Spot for inference, you can write inference code as a custom python script and run inference in the Training API / HuggingFace Estimator :slight_smile: