在 Amazon 上使用 AWS Deep Learning Containers ECS - Amazon Elastic Container Service

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

在 Amazon 上使用 AWS Deep Learning Containers ECS

AWS Deep Learning Containers 提供一組 Docker 映像,用於訓練和服務模型,以 TensorFlow及 Amazon 上的 Apache MXNet (孵化)。ECSDeep Learning Containers 提供最佳化的環境 TensorFlow,包含 NVIDIA CUDA (針對GPU執行個體) 和 Intel MKL (針對CPU執行個體) 程式庫。Amazon 提供 Deep Learning Containers 的容器映像檔,可在 Amazon ECR ECS 任務定義中參考。您可以使用 Deep Learning Containers 和 Amazon Elastic Inference 來降低推論成本。

若要在 Amazon 上開始使用無 Elastic Inference 的 Deep Learning ContainersECS,請參閱開AWS 深度學習 AMIs 發人員指南ECS中的 Amazon 上的 Deep Learning Contain ers。

Amazon 上具有 Elastic Inference 功能的 Deep Learning Containers ECS

注意

自 2023 年 4 月 15 日起,不 AWS 會將新客戶加入 Amazon Elastic Inference (EI),並協助目前客戶將工作負載遷移到提供更優惠價格和效能的選項。2023 年 4 月 15 日之後,新客戶將無法在 Amazon、Amazon 或 Amazon 使用 Amazon EI 加速器啟動執行個體。 SageMaker ECS EC2但是,在過去 30 天內至少使用過一次 Amazon EI 的客戶將被視為目前客戶,並且可以繼續使用該服務。

AWS Deep Learning Containers 提供一組 Docker 映像,以便在中服務模型,以 TensorFlow 及利用 Amazon Elastic Inference 加速器的 Apache MXNet (孵化) 功能。Amazon ECS 提供任務定義參數,將 Elastic Inference 加速器連接至您的容器。當您在任務定義中指定 Elastic Inference 加速器類型時,Amazon 會ECS管理加速器的生命週期和組態。使用此功能時需要 Amazon ECS 服務連結角色。如需 Elastic Inference 加速器的詳細資訊,請參閱 Amazon Elastic Inference 基本概念

重要

1.30.0的 Amazon ECS 容器執行個體至少需要容器代理程式版本。如需檢查代理程式版本及更新至最新版本的資訊,請參閱「更新 Amazon ECS 容器代理」。

若要開始ECS在 Amazon 上使用具有 Elastic Inference 的 Deep Learning ContainersECS,請參閱 Amazon E lastic Inference 開發人員指南中的 Amazon 上具有 Amazon E lastic Inference 的 Deep Learning Con tainers。