AWS 文档中描述的 AWS 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅中国的 AWS 服务入门。
本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
推理容器映像
根据您的使用案例,将下面提供的推理图像 URI 模板中的突出显示部分替换为相应的值。
aws_account_id
.dkr.ecr.aws_region
.amazonaws.com/xgboost-neo:latest
Replace aws_account_id
位于此页面末尾的 表中,基于 aws_region
您使用了 。
- CPU or GPU instance types
-
aws_account_id
.dkr.ecr.aws_region
.amazonaws.com/sagemaker-inference-tensorflow:fx_version
-instance_type
-py3
Replace aws_account_id
位于此页面末尾的 表中,基于 aws_region
您使用了 。
Replace fx_version
(含 1.15.3
)。
Replace instance_type
包含 cpu
或 的 gpu
。
- Inferentia instance types
-
aws_account_id
.dkr.ecr.aws_region
.amazonaws.com/sagemaker-neo-tensorflow:fx_version
-instance_type
-py3
Replace aws_account_id
位于此页面末尾的 表中,基于 aws_region
您使用了 。请注意inf
,仅对于 实例类型,支持 us-east-1
us-west-2
和 。
Replace fx_version
与 1.15.0
Replace instance_type
(含 inf
)。
- CPU or GPU instance types
-
aws_account_id
.dkr.ecr.aws_region
.amazonaws.com/sagemaker-inference-mxnet:fx_version
-instance_type
-py3
Replace aws_account_id
位于此页面末尾的 表中,基于 aws_region
您使用了 。
Replace fx_version
与 1.7.0
。
Replace instance_type
包含 cpu
或 的 gpu
。
- Inferentia instance types
-
aws_account_id
.dkr.ecr.aws_region
.amazonaws.com/sagemaker-neo-mxnet:fx_version
-instance_type
-py3
Replace aws_region
包含 us-east-1
或 的 us-west-2
。
Replace aws_account_id
位于此页面末尾的 表中,基于 aws_region
您使用了 。
Replace fx_version
与 1.5.1
结合使用。
Replace instance_type
与 inf
结合使用。
- CPU or GPU instance types
-
aws_account_id
.dkr.ecr.aws_region
.amazonaws.com/sagemaker-inference-pytorch:fx_version
-instance_type
-py3
Replace aws_account_id
位于此页面末尾的 表中,基于 aws_region
您使用了 。
Replace fx_version
(带 1.4
、 1.5
或 1.6
)。
Replace instance_type
包含 cpu
或 的 gpu
。
- Inferentia instance types
-
aws_account_id
.dkr.ecr.aws_region
.amazonaws.com/sagemaker-neo-pytorch:fx_version
-instance_type
-py3
Replace aws_region
包含 us-east-1
或 的 us-west-2
。
Replace aws_account_id
位于此页面末尾的 表中,基于 aws_region
您使用了 。
Replace fx_version
(含 1.5.1
)。
Replace instance_type
(含 inf
)。
aws_account_id
.dkr.ecr.aws_region
.amazonaws.com/sagemaker-neo-darknet:instance-type
Replace aws_account_id
位于此页面末尾的 表中,基于 aws_region
您使用了 。
Replace instance-type
包含 cpu
或 的 gpu
。
下表映射 aws_account_id
替换为 aws_region
。 使用此表可查找应用程序所需的正确推理映像 URI。
aws_account_id |
aws_region |
785573368785 |
us-east-1 |
007439368137 |
us-east-2 |
710691900526 |
us-west-1 |
301217895009 |
us-west-2 |
802834080501 |
eu-west-1 |
205493899709 |
eu-west-2 |
254080097072 |
eu-west-3 |
601324751636 |
eu-north-1 |
966458181534 |
eu-south-1 |
746233611703 |
eu-central-1 |
110948597952 |
ap-east-1 |
763008648453 |
ap-south-1 |
941853720454 |
ap-northeast-1 |
151534178276 |
ap-northeast-2 |
324986816169 |
ap-southeast-1 |
355873309152 |
ap-southeast-2 |
474822919863 |
cn-northwest-1 |
472730292857 |
cn-north-1 |
756306329178 |
sa-east-1 |
464438896020 |
ca-cental-1 |
836785723513 |
me-south-1 |
774647643957 |
af-south-1 |