Skip to content

Performance issue regarding Sagemaker Estimator.deploy() #1006

Description

@UniSabina

System Information

  • Python Version: 3.6
  • CPU or GPU: CPU
  • Python SDK Version: Anaconda

Describe the problem

I'm quite new to the SageMaker algorithms and estimators so please bear with me.
I'm running a script very similar to this example script for DeepAR
https://github.com/awslabs/amazon-sagemaker-examples/blob/master/introduction_to_amazon_algorithms/deepar_electricity/DeepAR-Electricity.ipynb
And want to start more than hundred of such training + prediction jobs.
The cell

predictor = estimator.deploy(
    initial_instance_count=1,
    instance_type='ml.m4.xlarge',
    predictor_cls=DeepARPredictor)

takes up 70% (~8.5min) of the time of the overall training and predicting job (~12min). Is there a possibility to reduce that time? What is the reason for this deploy job taking so long?

Thanks!

Activity

  1. ChoiByungWook commented on Aug 30, 2019

    @ChoiByungWook
    Contributor

    Hello @UniSabina,

    Apologies on the slow experience.

    I'll reach out to the team that handles the hosting platform and let them comment.

  2. vedal commented on Dec 16, 2019

    @vedal

    I'm also interested in this

  3. lexxx233 commented on Sep 9, 2020

    @lexxx233

    Any update on this?

  4. rishabh1212 commented on Nov 12, 2020

    @rishabh1212

    Hii @ChoiByungWook,
    Any update on this?

  5. nrapanos commented on Jan 5, 2021

    @nrapanos

    Is there any update on this? I'm experiencing a similar issue.

  6. dsow86 commented on Feb 23, 2021

    @dsow86

    Any update about this issue? I am still having the same problem, the model deployment take too long.

  7. zlufy90 commented on Apr 22, 2021

    @zlufy90

    It is too slow for training and deploying model via SageMaker Studio. I just tested with Iris dataset.
    Especially when debugging. It makes us give up easily.

  8. locked and limited conversation to collaborators on May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions