AWS sagemaker documentation change
Summary
Removed SageMaker Python SDK v3 headers and legacy SDK v2 code examples for checkpoint configuration with model parallelism.
Security assessment
Purely structural updates removing obsolete SDK examples. No security-related content is added, removed, or referenced.
Diff
diff --git a/sagemaker/latest/dg/distributed-troubleshooting-model-parallel.md b/sagemaker/latest/dg/distributed-troubleshooting-model-parallel.md index cd67607af..845aaf4a4 100644 --- a//sagemaker/latest/dg/distributed-troubleshooting-model-parallel.md +++ b//sagemaker/latest/dg/distributed-troubleshooting-model-parallel.md @@ -39,3 +38,0 @@ To fix this issue, disable Debugger by passing `debugger_hook_config=False` when -SageMaker Python SDK v3 - - @@ -59,20 +55,0 @@ SageMaker Python SDK v3 -SageMaker Python SDK v2 (Legacy) - - - - bucket=sagemaker.Session().default_bucket() - base_job_name="sagemaker-checkpoint-test" - checkpoint_in_bucket="checkpoints" - - # The S3 URI to store the checkpoints - checkpoint_s3_bucket="s3://{}/{}/{}".format(bucket, base_job_name, checkpoint_in_bucket) - - estimator = TensorFlow( - ... - - distribution={"smdistributed": {"modelparallel": { "enabled": True }}}, - checkpoint_s3_uri=checkpoint_s3_bucket, - checkpoint_local_path="/opt/ml/checkpoints", - debugger_hook_config=False - ) -