Train machine learning model using reserved instance

0

Hi.

Is it possible to train a machine learning model with SageMaker using a reserved instance that is already up and running instead of provisioning a new instance every time which is somewhat time consuming? I'm familiar with local mode, but I understand this is not supported when using AWS SageMaker machine learning estimators.

Appreciate any suggestions for how to make the model training process in SageMaker go faster when using AWS SageMaker machine learning estimators.

Thanks, Stefan

demandé il y a 2 ans1329 vues
2 réponses
0
Réponse acceptée

As of today, it's not possible to train a machine learning model with SageMaker using a reserved instance that is already up and running instead of provisioning a new instance. The service team is currently working on it, unfortunately I don't have an ETA as to when the feature will be released.

Local Mode is supported for frameworks images (TensorFlow, MXNet, Chainer, PyTorch, and Scikit-Learn) and images you supply yourself.

Using the SageMaker Python SDK — sagemaker 2.72.3 documentation

If you want to train Built-in algorithm models simply faster, you should check the recommendation in the SageMaker document.

Example Blazingtext-instances, Deepar-instances

If the algorithm supports it, one can also try using Pipe mode or FastFile mode. These offer some fast training job startup time. Accelerate-model-training-using-faster-pipe-mode-on-amazon-sagemaker

INGÉNIEUR EN ASSISTANCE TECHNIQUE
répondu il y a 2 ans
  • This is very helpful. Thanks for getting back to me.

    Regards, Stefan

0

ML Instance

https://aws.amazon.com/about-aws/whats-new/2021/03/amazon-ec2-inf1-instances-aws-inferentia-available-additional-regions/

Amazon EC2 Inf1 instances are available in 4 sizes, providing up to 16 Inferentia chips, 96 vCPUs, 192GB of memory, 100 Gbps of networking bandwidth and 19 Gbps of Elastic Block Store (EBS) bandwidth. These instances are purchasable On-Demand, as Reserved Instances, as Spot instances, or as part of Savings Plans and are now available in 21 regions globally,

AWS
répondu il y a 18 heures

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions