Skip to content

Log created SageMaker resources and S3 locations - #296

Merged
shchur merged 4 commits into
masterfrom
add-resource-logging
Oct 12, 2026
Merged

shchur merged 4 commits into
masterfrom
add-resource-logging

Conversation

@shchur

@shchur shchur commented Oct 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

After the move from the SageMaker SDK to boto3, the logs no longer named the resources AG-Cloud creates. Users had to look in the console to find their endpoint or transform job.

  • Resource creation. Creating SageMaker training job / endpoint / batch transform job \{name}`. The endpoint line also shows instance_type=...orserverless`.
  • Completion (with wait=True). Training job ... completed, Endpoint ... is in service, Batch transform job ... completed.
  • Outputs after training. Model artifacts saved to ... is logged only when the predictor is kept, so it is skipped for FoundationModel.predict, where the tarball is empty. Predictions saved to {predictions_path} is logged for fit_predict / FM predict. Before this, it only appeared in the container logs.
  • Uploads. Uploaded {train_data, tuning_data, images, test data, predictor} to s3://... replaces the "Uploading..." / "uploaded successfully" pairs. Internal uploads (ag_args, serving code, training code) are not logged.
  • Removed the "Creating inference model..." messages. The model name always matches the endpoint or job name.
  • Docs. The tabular and timeseries tutorials now quote the new training job message.

Testing

Lint only; CI runs the tests.

@shchur
shchur enabled auto-merge (squash) October 12, 2026 14:47
@github-actions

Copy link
Copy Markdown

Job PR-296-58a4300 is done.
Docs are uploaded to https://d12sc05jpx1wj5.cloudfront.net/PR-296/58a4300/index.html

@shchur
shchur disabled auto-merge October 12, 2026 15:30
@shchur
shchur merged commit 59fc1f0 into master Oct 12, 2026
3 checks passed
@shchur
shchur deleted the add-resource-logging branch October 12, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant