Amazon’s SageMaker Python SDK v3 has redesigned script mode so developers can change training code without rebuilding a container image. A new SourceCode object synchronizes a local project directory into the container when a job starts, keeping algorithm code separate from the runtime environment.

The release consolidates framework-specific classes into two main interfaces. ModelTrainer configures training, while ModelBuilder packages and deploys inference code. AWS says the same pattern can cover scikit-learn, PyTorch, Stable Diffusion and custom binaries, reducing the number of APIs a team must maintain.

The accompanying examples train a random-forest model on one CPU and fine-tune Stable Diffusion 3.5 with LoRA across four A10G GPUs. Developers may bring an image from Amazon ECR, use an AWS container or choose a third-party image. Warm pools can keep an instance available between iterations, and deployment can target a managed endpoint or local testing modes.

The convenience does not remove setup requirements. Users still need an AWS account, an execution role, storage for data and artifacts, and a suitable container image. Gated models may also require secret management and explicit permissions.