因此,在通过自动驾驶仪生成的笔记本执行时,我执行了最后一个代码单元:
pipeline_model.deploy(initial_instance_count=1,
instance_type='a1.small',
endpoint_name=pipeline_model.name,
wait=True)
我得到这个错误
ResourceLimitExceeded: An error occurred (ResourceLimitExceeded) when calling the CreateEndpoint operation: The account-level service limit 'ml.m5.2xlarge 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.
其中最重要的部分是最后一行,其中提到了资源限制。我没有试图打开实例的类型,它给了我一个关于打开的错误
端点是否需要位于ml.m5.2xlarge实例上?还是代码出了问题
提前谢谢各位
您应该使用this link中详细介绍的受支持的按需ML托管实例之一。我认为无效的
instance_type='a1.small'
被一个有效的(ml.m5.2xlarge)替换,这不在您的AWS服务配额中。奇怪的是,seinginstance_type='a1.small'
是由SageMaker自动驾驶仪生成的相关问题 更多 >
编程相关推荐