Skip to content

fix(tags): use sagemaker-sdk: prefix instead of sagemaker-studio: for…#5966

Open
Narrohag wants to merge 1 commit into
aws:masterfrom
Narrohag:master
Open

fix(tags): use sagemaker-sdk: prefix instead of sagemaker-studio: for…#5966
Narrohag wants to merge 1 commit into
aws:masterfrom
Narrohag:master

Conversation

@Narrohag

Copy link
Copy Markdown
Contributor

… JumpStart tags

The SDK should tag resources with sagemaker-sdk:jumpstart-model-id (and related keys) to distinguish SDK-initiated operations from Studio UI ones. This fixes incorrect source attribution in usage data.

  • Rename _get_studio_tags() to _get_jumpstart_tags() in train/utils.py
  • Change tag key prefix from sagemaker-studio: to sagemaker-sdk: everywhere
  • Update all trainer call sites and unit tests

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

… JumpStart tags

The SDK should tag resources with sagemaker-sdk:jumpstart-model-id (and
related keys) to distinguish SDK-initiated operations from Studio UI ones.
This fixes incorrect source attribution in usage data.

- Rename _get_studio_tags() to _get_jumpstart_tags() in train/utils.py
- Change tag key prefix from sagemaker-studio: to sagemaker-sdk: everywhere
- Update all trainer call sites and unit tests
@Narrohag Narrohag deployed to auto-approve June 24, 2026 15:58 — with GitHub Actions Active
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.

2 participants