# Amazon SageMaker

**Amazon SageMaker** 是[亚马逊云科技](https://www.edgepedia.org/zh/amazon-web-services)（AWS）推出的一项全托管机器学习服务，使数据科学家和开发者能够在任意规模上构建、训练和部署机器学习模型。该服务于2017年11月29日在AWS re:Invent大会上发布，成为AWS历史上增长最快的服务之一；2024年12月，AWS将其重组为一个统一的数据、分析与人工智能平台，并将原有的模型构建服务更名为Amazon SageMaker AI。<sup>[1](https://aws.amazon.com/about-aws/whats-new/2017/11/introducing-amazon-sagemaker/)</sup><sup> • </sup><sup>[2](https://aws.amazon.com/blogs/machine-learning/aws-celebrates-5-years-of-innovation-with-amazon-sagemaker/)</sup><sup> • </sup><sup>[3](https://aws.amazon.com/blogs/aws/introducing-the-next-generation-of-amazon-sagemaker-the-center-for-all-your-data-analytics-and-ai/)</sup>

| 关键事实 | 详情 |
|---|---|
| 发布时间 | 2017年11月29日，于AWS re:Invent大会；最初在美国东部（弗吉尼亚北部和俄亥俄）、欧盟（爱尔兰）及美国西部（俄勒冈）区域提供<sup>[1](https://aws.amazon.com/about-aws/whats-new/2017/11/introducing-amazon-sagemaker/)</sup> |
| 最初范围 | 全托管的构建、训练与部署服务，含托管Jupyter笔记本、10种内置算法，以及预配置的TensorFlow和Apache MXNet<sup>[1](https://aws.amazon.com/about-aws/whats-new/2017/11/introducing-amazon-sagemaker/)</sup> |
| 更名 | 2024年12月3日：原有SageMaker在下一代数据、分析与人工智能统一平台中更名为Amazon SageMaker AI<sup>[3](https://aws.amazon.com/blogs/aws/introducing-the-next-generation-of-amazon-sagemaker-the-center-for-all-your-data-analytics-and-ai/)</sup> |
| 统一工作室 | Amazon SageMaker Unified Studio于2025年3月13日正式可用，整合了Athena、EMR、Glue、Redshift、MWAA和SageMaker Studio的工具<sup>[4](https://aws.amazon.com/blogs/aws/collaborate-and-build-faster-with-amazon-sagemaker-unified-studio-now-generally-available/)</sup> |
| 推理选项 | 四种部署模式：实时推理、批量转换、异步推理和无服务器推理<sup>[5](https://docs.aws.amazon.com/sagemaker/latest/dg/model-deploy-feature-matrix.html)</sup> |
| 定价 | 按计算资源、存储及其他服务用量付费；据AWS称，Savings Plans可降低最多64%的成本<sup>[6](https://docs.aws.amazon.com/pdfs/decision-guides/latest/bedrock-or-sagemaker/bedrock-or-sagemaker.pdf?did=wp_card)</sup><sup> • </sup><sup>[7](https://www.techtarget.com/ai/tip/Compare-Google-Vertex-AI-vs-Amazon-SageMaker-vs-Azure-ML)</sup> |
| 定位 | AWS用于AI与ML开发、训练和部署的主要服务，与用于预训练基础模型的Amazon Bedrock并列<sup>[7](https://www.techtarget.com/ai/tip/Compare-Google-Vertex-AI-vs-Amazon-SageMaker-vs-Azure-ML)</sup> |

## 发布与最初设计

SageMaker发布时被定位为一项全托管服务，围绕三个模块组织，既可组合使用也可独立使用：构建、训练和部署。构建阶段提供托管Jupyter笔记本，用于探索和可视化存储在[Amazon S3](https://www.edgepedia.org/zh/amazon-s3)中的训练数据，[AWS Glue](https://www.edgepedia.org/zh/aws-glue)则可将数据从[Amazon RDS](https://www.edgepedia.org/zh/amazon-rds)、Amazon DynamoDB和Amazon Redshift迁移至S3进行分析。该服务包含十种内置机器学习算法，AWS称这些算法经过优化，性能可达在其他地方运行相同算法时的十倍；同时预配置了TensorFlow和Apache MXNet，并支持用户自带自定义框架。<sup>[1](https://aws.amazon.com/about-aws/whats-new/2017/11/introducing-amazon-sagemaker/)</sup>

训练可在控制台中一键启动，由AWS管理底层基础设施并扩展至PB级数据，还提供自动模型调优以提升准确率。部署则将模型置于一个跨多个可用区、自动扩缩的Amazon EC2实例集群上，并内置[A/B测试](https://www.edgepedia.org/zh/a-b-testing)以比较模型版本。<sup>[1](https://aws.amazon.com/about-aws/whats-new/2017/11/introducing-amazon-sagemaker/)</sup>

发布五年后，AWS将SageMaker描述为其旗舰级全托管ML服务，也是AWS历史上增长最快的服务之一。<sup>[2](https://aws.amazon.com/blogs/machine-learning/aws-celebrates-5-years-of-innovation-with-amazon-sagemaker/)</sup>

## SageMaker AI中的训练

SageMaker AI训练作业的核心是将ML工作负载容器化，并结合对AWS计算资源的管理：该服务代表用户预置Amazon EC2实例，用户提供存储在Amazon S3中的训练数据，并可在内置算法、使用流行框架的自有训练脚本或自定义Docker容器之间选择。<sup>[8](https://docs.aws.amazon.com/sagemaker/latest/dg/train-model.html)</sup> [数据存储](https://www.edgepedia.org/zh/data-storage)可从Amazon S3、Amazon EFS或Amazon FSx映射到训练容器中，支持File、Pipe和FastFile三种传输模式。<sup>[8](https://docs.aws.amazon.com/sagemaker/latest/dg/train-model.html)</sup>

围绕这一核心，发展出若干有文档记载的能力。SageMaker [Autopilot](https://www.edgepedia.org/zh/autopilot)由AWS研究人员在2020年的一篇论文中描述，是一个全托管AutoML系统，可自动完成特征处理、算法选择和超参数调优，同时保持生成的流水线可编辑——其作者称这种设计是黑箱AutoML的白箱替代方案。<sup>[9](https://arxiv.org/abs/2012.08483)</sup> SageMaker Clarify在云端为模型提供偏差检测和可解释性，SageMaker Model Monitor则在部署后持续监控托管于SageMaker上的模型质量，其论文基于两年多的生产部署经验。<sup>[10](https://arxiv.org/abs/2109.03285)</sup><sup> • </sup><sup>[11](https://arxiv.org/abs/2111.13657)</sup> 对于大规模训练，SageMaker HyperPod提供托管的ML实例，AWS将其作为集群的一部分自动预置和监控，并通过任务治理在多个工作负载间共享计算资源；在AWS re:Invent 2025大会上，AWS宣布了HyperPod上的无检查点训练，可在数千个AI加速器上于数分钟内从故障中恢复训练。<sup>[12](https://docs.aws.amazon.com/pdfs/prescriptive-guidance/latest/gen-ai-inference-architecture-and-best-practices-on-aws/gen-ai-inference-architecture-and-best-practices-on-aws.pdf)</sup><sup> • </sup><sup>[13](https://www.techradar.com/pro/live/aws-re-invent-2025-all-the-news-and-updates-as-it-happens)</sup>

有一项能力已被退役：AWS已宣布SageMaker Training Compiler将不再发布新版本，该编译器通过应用图级、数据流级和后端优化来加速GPU实例上的深度学习训练。现有的AWS Deep Learning Containers仍可访问，但不再接收补丁或更新；对于推理时编译，AWS引导用户使用SageMaker Neo。<sup>[14](https://docs.aws.amazon.com/sagemaker/latest/dg/training-compiler.html)</sup>

## 推理与部署

SageMaker AI提供四种模型推理部署选项，各针对不同的工作负载模式：实时推理用于交互式低延迟请求；批量转换用于大规模数据集的离线推理；异步推理用于输入大、预处理时间长的近实时工作负载，支持最大1 GB的负载和最长60分钟的处理时间；无服务器推理用于流量高峰之间存在空闲期的工作负载，用户仅为处理请求所用的计算容量付费。<sup>[5](https://docs.aws.amazon.com/sagemaker/latest/dg/model-deploy-feature-matrix.html)</sup><sup> • </sup><sup>[15](https://docs.aws.amazon.com/sagemaker/latest/dg/hosting-faqs.html)</sup>

SageMaker AI推理的一切都是容器化的。AWS为TensorFlow、scikit-learn和[Hugging Face](https://www.edgepedia.org/zh/hugging-face)等流行框架提供托管容器，并提供自带容器路径，用户可将自己的Docker镜像推送至Amazon Elastic Container Registry。端点是HTTP REST端点，其容器在8080端口响应 `/invocations` 和 `/ping`，常见模型服务器包括TensorFlow Serving、TorchServe和Multi Model Server。<sup>[15](https://docs.aws.amazon.com/sagemaker/latest/dg/hosting-faqs.html)</sup> 应用程序通过HTTPS上的Amazon SageMaker Runtime API、AWS SDK或Amazon SageMaker Python SDK调用端点。<sup>[12](https://docs.aws.amazon.com/pdfs/prescriptive-guidance/latest/gen-ai-inference-architecture-and-best-practices-on-aws/gen-ai-inference-architecture-and-best-practices-on-aws.pdf)</sup>

成本与性能工具旨在解决在70多种可用实例类型中选择的困难：Inference Recommender可在数分钟内生成实例推荐，并在数小时内跨实例类型运行负载测试以推荐端点配置。其他成本手段包括Amazon SageMaker AI Savings Plans、使用SageMaker Neo进行模型优化、多模型和多容器端点以及自动扩缩。<sup>[15](https://docs.aws.amazon.com/sagemaker/latest/dg/hosting-faqs.html)</sup> 大模型推理支持最大500 GB的模型，健康检查和下载超时配额可配置至60分钟，在兼容的情况下可使用Triton with [FasterTransformer](https://www.edgepedia.org/zh/fastertransformer)和[DeepSpeed](https://www.edgepedia.org/zh/deepspeed)等第三方模型并行库。<sup>[5](https://docs.aws.amazon.com/sagemaker/latest/dg/model-deploy-feature-matrix.html)</sup>

## 下一代：统一平台与Unified Studio

2024年12月3日，AWS宣布了下一代Amazon SageMaker，作为一个统一的数据、分析与人工智能平台，整合了数据探索、准备与集成、大数据处理、SQL分析、ML模型开发与训练以及生成式AI应用开发等组件。原有服务更名为Amazon SageMaker AI，既集成在新平台中提供，也仍作为独立服务提供。当时宣布的关键组件包括：SageMaker Lakehouse，统一Amazon S3数据湖、Amazon Redshift数据仓库以及第三方和联邦来源中的数据；SageMaker Catalog，构建于[Amazon DataZone](https://www.edgepedia.org/zh/amazon-datazone)之上，用于数据和AI治理；以及用于构建生成式AI应用的集成式Amazon Bedrock IDE。<sup>[3](https://aws.amazon.com/blogs/aws/introducing-the-next-generation-of-amazon-sagemaker-the-center-for-all-your-data-analytics-and-ai/)</sup>

**SageMaker Unified Studio** 是该平台核心的开发环境，于2025年3月13日正式可用。它汇集了[Amazon Athena](https://www.edgepedia.org/zh/amazon-athena)、Amazon EMR、AWS Glue、Amazon Redshift、Amazon MWAA和现有SageMaker Studio中独立工作室、查询编辑器和可视化工具的功能，为数据工程师、数据科学家、数据分析师和ML开发者提供统一的开发体验。其Amazon Bedrock集成支持包括Anthropic的Claude 3.7 Sonnet和DeepSeek-R1在内的基础模型，将Bedrock Guardrails扩展至Bedrock Flows，Amazon Q Developer也在该工作室中正式可用，可为SQL查询、ETL作业和故障排查提供自然语言辅助。<sup>[4](https://aws.amazon.com/blogs/aws/collaborate-and-build-faster-with-amazon-sagemaker-unified-studio-now-generally-available/)</sup> 仅在2026年，Unified Studio就新增了20多项功能，包括从AWS Glue Data Catalog到SageMaker Catalog的持续元数据同步。<sup>[16](https://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/release-notes.html)</sup>

在AWS re:Invent 2025大会上，AWS宣布了SageMaker AI中的新模型定制工具（预览版），用于微调Amazon Nova、Llama和DeepSeek等自有或第三方模型，提供用户自行操作和代理驱动两种体验；AWS将该工具定位为将定制时间从数月缩短至数天。<sup>[17](https://www.itpro.com/cloud/live/aws-re-invent-2025-all-the-news-updates-and-announcements-live-from-las-vegas)</sup><sup> • </sup><sup>[13](https://www.techradar.com/pro/live/aws-re-invent-2025-all-the-news-and-updates-as-it-happens)</sup>

## SageMaker AI与Amazon Bedrock及其他平台的比较

AWS自己的决策指南将SageMaker AI与[Amazon Bedrock](https://www.edgepedia.org/zh/amazon-bedrock)区分开来，后者是该公司通过API消费预训练基础模型的服务。Bedrock按API调用次数即用即付，仅需基本ML专业知识，且为无服务器架构；SageMaker AI按消耗的计算资源、存储和其他服务收费，需要实际的数据科学知识，主要采用服务器架构，对计算和扩缩有细粒度控制，适合现成方案不足以满足需求的自建模型。两者可以配合使用，例如先用Bedrock做原型，再用SageMaker AI精调模型。<sup>[6](https://docs.aws.amazon.com/pdfs/decision-guides/latest/bedrock-or-sagemaker/bedrock-or-sagemaker.pdf?did=wp_card)</sup>

在主要公有云ML平台中，SageMaker与微软的Azure Machine Learning和谷歌云的Vertex AI竞争。TechTarget的一篇对比文章认为SageMaker因对底层基础设施的抽象而易于使用，指出其无服务器推理以牺牲细粒度基础设施控制换取简洁性，并报道AWS Savings Plans可将总体成本降低最多64%。<sup>[7](https://www.techtarget.com/ai/tip/Compare-Google-Vertex-AI-vs-Amazon-SageMaker-vs-Azure-ML)</sup>

## 用户与应用

有文档记载的生产用例横跨多个行业。NatWest Group（国民西敏集团）与AWS共同构建了一个可扩展、安全且可持续的MLOps平台，用于在全企业范围内开发和投产ML服务。<sup>[18](https://aws.amazon.com.cdn.amazon.com/blogs/machine-learning/part-1-how-natwest-group-built-a-scalable-secure-and-sustainable-mlops-platform/)</sup> Sonrai在其Sonrai Discovery平台中使用Amazon SageMaker进行MLOps，该平台统一多模态数据以支持精准医学研究。<sup>[19](https://aws.amazon.com/solutions/case-studies/sonrai-sagemaker-case-study/)</sup> Iberdrola（伊维尔德罗拉）使用包括Amazon SageMaker在内的AWS技术，结合Amazon Bedrock、Amazon Redshift和可再生能源数据湖，在全球400多个可再生能源设施中实现实时资产监控、预测性维护以及发电与需求预测。<sup>[20](https://cincodias.elpais.com/companias/2024-08-16/iberdrola-y-amazon-buscan-potenciar-el-uso-de-la-ia-generativa-en-el-sector-energetico.html)</sup>

## References

1. [Introducing Amazon SageMaker, AWS What's New (November 29, 2017)](https://aws.amazon.com/about-aws/whats-new/2017/11/introducing-amazon-sagemaker/)
2. [AWS Celebrates 5 Years of Innovation with Amazon SageMaker, AWS Machine Learning Blog](https://aws.amazon.com/blogs/machine-learning/aws-celebrates-5-years-of-innovation-with-amazon-sagemaker/)
3. [Introducing the next generation of Amazon SageMaker: The center for all your data, analytics, and AI, AWS News Blog (December 3, 2024)](https://aws.amazon.com/blogs/aws/introducing-the-next-generation-of-amazon-sagemaker-the-center-for-all-your-data-analytics-and-ai/)
4. [Collaborate and build faster with Amazon SageMaker Unified Studio, now generally available, AWS News Blog (March 13, 2025)](https://aws.amazon.com/blogs/aws/collaborate-and-build-faster-with-amazon-sagemaker-unified-studio-now-generally-available/)
5. [Supported features, Amazon SageMaker AI documentation](https://docs.aws.amazon.com/sagemaker/latest/dg/model-deploy-feature-matrix.html)
6. [Amazon Bedrock or Amazon SageMaker AI? AWS Decision guide](https://docs.aws.amazon.com/pdfs/decision-guides/latest/bedrock-or-sagemaker/bedrock-or-sagemaker.pdf?did=wp_card)
7. [Compare Google Vertex AI vs. Amazon SageMaker vs. Azure ML, TechTarget (March 13, 2025)](https://www.techtarget.com/ai/tip/Compare-Google-Vertex-AI-vs-Amazon-SageMaker-vs-Azure-ML)
8. [Model training, Amazon SageMaker AI documentation](https://docs.aws.amazon.com/sagemaker/latest/dg/train-model.html)
9. [Amazon SageMaker Autopilot: a white box AutoML solution at scale, arXiv:2012.08483](https://arxiv.org/abs/2012.08483)
10. [Amazon SageMaker Clarify: Machine Learning Bias Detection and Explainability in the Cloud, arXiv:2109.03285](https://arxiv.org/abs/2109.03285)
11. [Amazon SageMaker Model Monitor: A System for Real-Time Insights into Deployed Machine Learning Models, arXiv:2111.13657](https://arxiv.org/abs/2111.13657)
12. [Generative AI inference architecture and best practices on AWS, AWS Prescriptive Guidance](https://docs.aws.amazon.com/pdfs/prescriptive-guidance/latest/gen-ai-inference-architecture-and-best-practices-on-aws/gen-ai-inference-architecture-and-best-practices-on-aws.pdf)
13. [AWS re:Invent 2025 - everything we saw as it happened, TechRadar](https://www.techradar.com/pro/live/aws-re-invent-2025-all-the-news-and-updates-as-it-happens)
14. [Amazon SageMaker Training Compiler, Amazon SageMaker AI documentation](https://docs.aws.amazon.com/sagemaker/latest/dg/training-compiler.html)
15. [Model Hosting FAQs, Amazon SageMaker AI documentation](https://docs.aws.amazon.com/sagemaker/latest/dg/hosting-faqs.html)
16. [Release notes for Amazon SageMaker Unified Studio, AWS documentation](https://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/release-notes.html)
17. [AWS re:Invent 2025 live: All the news and announcements from day two in Las Vegas, ITPro](https://www.itpro.com/cloud/live/aws-re-invent-2025-all-the-news-updates-and-announcements-live-from-las-vegas)
18. [How NatWest Group built a scalable, secure, and sustainable MLOps platform, AWS Machine Learning Blog (April 26, 2022)](https://aws.amazon.com.cdn.amazon.com/blogs/machine-learning/part-1-how-natwest-group-built-a-scalable-secure-and-sustainable-mlops-platform/)
19. [Sonrai accelerates cancer research using Amazon SageMaker AI, AWS case study](https://aws.amazon.com/solutions/case-studies/sonrai-sagemaker-case-study/)
20. [Iberdrola y Amazon buscan potenciar el uso de la IA generativa en el sector energético, Cinco Días (August 16, 2024)](https://cincodias.elpais.com/companias/2024-08-16/iberdrola-y-amazon-buscan-potenciar-el-uso-de-la-ia-generativa-en-el-sector-energetico.html)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › AI companies, people, and products

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/amazon-sagemaker

English original: https://www.edgepedia.org/amazon-sagemaker
