精选理由
Amazon SageMaker SDK v3 引入了脚本模式,方便用户使用自己的模型,无需重建 Docker 镜像,提高迭代效率。
SageMaker Python SDK v3 重构脚本模式,统一 ModelTrainer 和 ModelBuilder 类。文章通过两个示例展示如何使用 SourceCode 在运行时同步本地代码到容器中,无需重建 Docker 镜像。
原文 · AWS Machine Learning Blog
Bring your own model with Amazon SageMaker AI: Script mode in SDK v3
The SageMaker Python SDK v3 redesigns script mode with unified ModelTrainer and ModelBuilder classes. This post walks through two end-to-end examples, a scikit-learn Random Forest and a multi-GPU Stable Diffusion 3.5 LoRA fine-tune, showing how SourceCode syncs your local code into any container at runtime so you can iterate without rebuilding Docker images.