From the source
Amazon announces script mode in SageMaker Python SDK v3, which allows users to bring their own model without building Docker images, using new unified classes ModelTrainer and ModelBuilder, and a SourceCode object for runtime code injection.