|
41 | 41 | from sagemaker.model_metrics import ModelMetrics |
42 | 42 | from sagemaker.metadata_properties import MetadataProperties |
43 | 43 | from sagemaker.drift_check_baselines import DriftCheckBaselines |
44 | | -from sagemaker.jumpstart.enums import JumpStartScriptScope, JumpStartModelType, HubContentCapability |
| 44 | +from sagemaker.jumpstart.enums import JumpStartScriptScope, JumpStartModelType |
45 | 45 | from sagemaker.jumpstart.types import ( |
46 | 46 | HubContentType, |
47 | 47 | JumpStartModelDeployKwargs, |
|
51 | 51 | ) |
52 | 52 | from sagemaker.jumpstart.utils import ( |
53 | 53 | add_hub_content_arn_tags, |
54 | | - add_bedrock_store_tags, |
55 | 54 | add_jumpstart_model_info_tags, |
56 | | - add_bedrock_store_tags, |
57 | 55 | get_default_jumpstart_session_with_user_agent_suffix, |
58 | 56 | get_neo_content_bucket, |
59 | 57 | get_top_ranked_config_name, |
@@ -490,10 +488,6 @@ def _add_tags_to_kwargs(kwargs: JumpStartModelDeployKwargs) -> Dict[str, Any]: |
490 | 488 | ) |
491 | 489 | kwargs.tags = add_hub_content_arn_tags(kwargs.tags, hub_content_arn=hub_content_arn) |
492 | 490 |
|
493 | | - if hasattr(kwargs.specs, "capabilities") and kwargs.specs.capabilities is not None: |
494 | | - if HubContentCapability.BEDROCK_CONSOLE in kwargs.specs.capabilities: |
495 | | - kwargs.tags = add_bedrock_store_tags(kwargs.tags, compatibility="compatible") |
496 | | - |
497 | 491 | return kwargs |
498 | 492 |
|
499 | 493 |
|
|
0 commit comments