Skip to content

direct predict without deploy? #908

@jguo16

Description

@jguo16

System Information

  • **Framework **: DeepAR
  • Framework Version:
  • Python Version:
  • CPU or GPU: CPU
  • Python SDK Version:
  • Are you using a custom image: no

Describe the problem

After estimator.fit() for the deepar model, is there a way to do prediction without deploy it? Since it has an instance limit error when I deploy for instance.

An error occurred (ResourceLimitExceeded) when calling the CreateEndpoint operation: The account-level service limit 'ml.m4.xlarge for endpoint usage' is 0 Instances, with current utilization of 0 Instances and a request delta of 1 Instances. Please contact AWS support to request an increase for this limit.

I tried to use

predictor = estimator.deploy(
    initial_instance_count=1,
    instance_type='local',
    predictor_cls=DeepARPredictor)

but still got this error message.

I wonder can we directly predict locally? Since I don't have authority to increase the limit in the company.

Thanks

  • Exact command to reproduce:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions