sagemaker-core 1.0.56__tar.gz → 1.0.57__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of sagemaker-core might be problematic. Click here for more details.
- {sagemaker_core-1.0.56/src/sagemaker_core.egg-info → sagemaker_core-1.0.57}/PKG-INFO +1 -1
- sagemaker_core-1.0.57/VERSION +1 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/code_injection/shape_dag.py +22 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/config_schema.py +2 -1
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/resources.py +14 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/shapes.py +34 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57/src/sagemaker_core.egg-info}/PKG-INFO +1 -1
- sagemaker_core-1.0.56/VERSION +0 -1
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/LICENSE +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/README.rst +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/pyproject.toml +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/setup.cfg +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/__init__.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/_version.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/helper/__init__.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/helper/session_helper.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/__init__.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/code_injection/__init__.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/code_injection/base.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/code_injection/codec.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/code_injection/constants.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/default_configs_helper.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/exceptions.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/logs.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/user_agent.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/utils.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/resources/__init__.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/shapes/__init__.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/tools/__init__.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/tools/codegen.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/tools/constants.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/tools/data_extractor.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/tools/method.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/tools/resources_codegen.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/tools/resources_extractor.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/tools/shapes_codegen.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/tools/shapes_extractor.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/tools/templates.py +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core.egg-info/SOURCES.txt +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core.egg-info/dependency_links.txt +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core.egg-info/requires.txt +0 -0
- {sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.0.57
|
{sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/code_injection/shape_dag.py
RENAMED
|
@@ -1445,6 +1445,22 @@ SHAPE_DAG = {
|
|
|
1445
1445
|
],
|
|
1446
1446
|
"type": "structure",
|
|
1447
1447
|
},
|
|
1448
|
+
"ClusterAutoScalingConfig": {
|
|
1449
|
+
"members": [
|
|
1450
|
+
{"name": "Mode", "shape": "ClusterAutoScalingMode", "type": "string"},
|
|
1451
|
+
{"name": "AutoScalerType", "shape": "ClusterAutoScalerType", "type": "string"},
|
|
1452
|
+
],
|
|
1453
|
+
"type": "structure",
|
|
1454
|
+
},
|
|
1455
|
+
"ClusterAutoScalingConfigOutput": {
|
|
1456
|
+
"members": [
|
|
1457
|
+
{"name": "Mode", "shape": "ClusterAutoScalingMode", "type": "string"},
|
|
1458
|
+
{"name": "AutoScalerType", "shape": "ClusterAutoScalerType", "type": "string"},
|
|
1459
|
+
{"name": "Status", "shape": "ClusterAutoScalingStatus", "type": "string"},
|
|
1460
|
+
{"name": "FailureMessage", "shape": "String", "type": "string"},
|
|
1461
|
+
],
|
|
1462
|
+
"type": "structure",
|
|
1463
|
+
},
|
|
1448
1464
|
"ClusterEbsVolumeConfig": {
|
|
1449
1465
|
"members": [
|
|
1450
1466
|
{"name": "VolumeSizeInGB", "shape": "ClusterEbsVolumeSizeInGB", "type": "integer"},
|
|
@@ -2251,6 +2267,8 @@ SHAPE_DAG = {
|
|
|
2251
2267
|
"shape": "ClusterNodeProvisioningMode",
|
|
2252
2268
|
"type": "string",
|
|
2253
2269
|
},
|
|
2270
|
+
{"name": "ClusterRole", "shape": "RoleArn", "type": "string"},
|
|
2271
|
+
{"name": "AutoScaling", "shape": "ClusterAutoScalingConfig", "type": "structure"},
|
|
2254
2272
|
],
|
|
2255
2273
|
"type": "structure",
|
|
2256
2274
|
},
|
|
@@ -4647,6 +4665,8 @@ SHAPE_DAG = {
|
|
|
4647
4665
|
"shape": "ClusterNodeProvisioningMode",
|
|
4648
4666
|
"type": "string",
|
|
4649
4667
|
},
|
|
4668
|
+
{"name": "ClusterRole", "shape": "RoleArn", "type": "string"},
|
|
4669
|
+
{"name": "AutoScaling", "shape": "ClusterAutoScalingConfigOutput", "type": "structure"},
|
|
4650
4670
|
],
|
|
4651
4671
|
"type": "structure",
|
|
4652
4672
|
},
|
|
@@ -15827,6 +15847,8 @@ SHAPE_DAG = {
|
|
|
15827
15847
|
"shape": "ClusterInstanceGroupsToDelete",
|
|
15828
15848
|
"type": "list",
|
|
15829
15849
|
},
|
|
15850
|
+
{"name": "ClusterRole", "shape": "RoleArn", "type": "string"},
|
|
15851
|
+
{"name": "AutoScaling", "shape": "ClusterAutoScalingConfig", "type": "structure"},
|
|
15830
15852
|
],
|
|
15831
15853
|
"type": "structure",
|
|
15832
15854
|
},
|
|
@@ -3226,6 +3226,8 @@ class Cluster(Base):
|
|
|
3226
3226
|
orchestrator: The type of orchestrator used for the SageMaker HyperPod cluster.
|
|
3227
3227
|
node_recovery: The node recovery mode configured for the SageMaker HyperPod cluster.
|
|
3228
3228
|
node_provisioning_mode: The mode used for provisioning nodes in the cluster.
|
|
3229
|
+
cluster_role: The Amazon Resource Name (ARN) of the IAM role that HyperPod uses for cluster autoscaling operations.
|
|
3230
|
+
auto_scaling: The current autoscaling configuration and status for the autoscaler.
|
|
3229
3231
|
|
|
3230
3232
|
"""
|
|
3231
3233
|
|
|
@@ -3242,6 +3244,8 @@ class Cluster(Base):
|
|
|
3242
3244
|
orchestrator: Optional[shapes.ClusterOrchestrator] = Unassigned()
|
|
3243
3245
|
node_recovery: Optional[str] = Unassigned()
|
|
3244
3246
|
node_provisioning_mode: Optional[str] = Unassigned()
|
|
3247
|
+
cluster_role: Optional[str] = Unassigned()
|
|
3248
|
+
auto_scaling: Optional[shapes.ClusterAutoScalingConfigOutput] = Unassigned()
|
|
3245
3249
|
|
|
3246
3250
|
def get_name(self) -> str:
|
|
3247
3251
|
attributes = vars(self)
|
|
@@ -3292,6 +3296,8 @@ class Cluster(Base):
|
|
|
3292
3296
|
orchestrator: Optional[shapes.ClusterOrchestrator] = Unassigned(),
|
|
3293
3297
|
node_recovery: Optional[str] = Unassigned(),
|
|
3294
3298
|
node_provisioning_mode: Optional[str] = Unassigned(),
|
|
3299
|
+
cluster_role: Optional[str] = Unassigned(),
|
|
3300
|
+
auto_scaling: Optional[shapes.ClusterAutoScalingConfig] = Unassigned(),
|
|
3295
3301
|
session: Optional[Session] = None,
|
|
3296
3302
|
region: Optional[str] = None,
|
|
3297
3303
|
) -> Optional["Cluster"]:
|
|
@@ -3307,6 +3313,8 @@ class Cluster(Base):
|
|
|
3307
3313
|
orchestrator: The type of orchestrator to use for the SageMaker HyperPod cluster. Currently, the only supported value is "eks", which is to use an Amazon Elastic Kubernetes Service cluster as the orchestrator.
|
|
3308
3314
|
node_recovery: The node recovery mode for the SageMaker HyperPod cluster. When set to Automatic, SageMaker HyperPod will automatically reboot or replace faulty nodes when issues are detected. When set to None, cluster administrators will need to manually manage any faulty cluster instances.
|
|
3309
3315
|
node_provisioning_mode: The mode for provisioning nodes in the cluster. You can specify the following modes: Continuous: Scaling behavior that enables 1) concurrent operation execution within instance groups, 2) continuous retry mechanisms for failed operations, 3) enhanced customer visibility into cluster events through detailed event streams, 4) partial provisioning capabilities. Your clusters and instance groups remain InService while scaling. This mode is only supported for EKS orchestrated clusters.
|
|
3316
|
+
cluster_role: The Amazon Resource Name (ARN) of the IAM role that HyperPod assumes to perform cluster autoscaling operations. This role must have permissions for sagemaker:BatchAddClusterNodes and sagemaker:BatchDeleteClusterNodes. This is only required when autoscaling is enabled and when HyperPod is performing autoscaling operations.
|
|
3317
|
+
auto_scaling: The autoscaling configuration for the cluster. Enables automatic scaling of cluster nodes based on workload demand using a Karpenter-based system.
|
|
3310
3318
|
session: Boto3 session.
|
|
3311
3319
|
region: Region name.
|
|
3312
3320
|
|
|
@@ -3344,6 +3352,8 @@ class Cluster(Base):
|
|
|
3344
3352
|
"Orchestrator": orchestrator,
|
|
3345
3353
|
"NodeRecovery": node_recovery,
|
|
3346
3354
|
"NodeProvisioningMode": node_provisioning_mode,
|
|
3355
|
+
"ClusterRole": cluster_role,
|
|
3356
|
+
"AutoScaling": auto_scaling,
|
|
3347
3357
|
}
|
|
3348
3358
|
|
|
3349
3359
|
operation_input_args = Base.populate_chained_attributes(
|
|
@@ -3459,6 +3469,8 @@ class Cluster(Base):
|
|
|
3459
3469
|
] = Unassigned(),
|
|
3460
3470
|
node_recovery: Optional[str] = Unassigned(),
|
|
3461
3471
|
instance_groups_to_delete: Optional[List[str]] = Unassigned(),
|
|
3472
|
+
cluster_role: Optional[str] = Unassigned(),
|
|
3473
|
+
auto_scaling: Optional[shapes.ClusterAutoScalingConfig] = Unassigned(),
|
|
3462
3474
|
) -> Optional["Cluster"]:
|
|
3463
3475
|
"""
|
|
3464
3476
|
Update a Cluster resource
|
|
@@ -3493,6 +3505,8 @@ class Cluster(Base):
|
|
|
3493
3505
|
"RestrictedInstanceGroups": restricted_instance_groups,
|
|
3494
3506
|
"NodeRecovery": node_recovery,
|
|
3495
3507
|
"InstanceGroupsToDelete": instance_groups_to_delete,
|
|
3508
|
+
"ClusterRole": cluster_role,
|
|
3509
|
+
"AutoScaling": auto_scaling,
|
|
3496
3510
|
}
|
|
3497
3511
|
logger.debug(f"Input request: {operation_input_args}")
|
|
3498
3512
|
# serialize the input request
|
|
@@ -3406,6 +3406,40 @@ class ClarifyExplainerConfig(Base):
|
|
|
3406
3406
|
inference_config: Optional[ClarifyInferenceConfig] = Unassigned()
|
|
3407
3407
|
|
|
3408
3408
|
|
|
3409
|
+
class ClusterAutoScalingConfig(Base):
|
|
3410
|
+
"""
|
|
3411
|
+
ClusterAutoScalingConfig
|
|
3412
|
+
Specifies the autoscaling configuration for a HyperPod cluster.
|
|
3413
|
+
|
|
3414
|
+
Attributes
|
|
3415
|
+
----------------------
|
|
3416
|
+
mode: Describes whether autoscaling is enabled or disabled for the cluster. Valid values are Enable and Disable.
|
|
3417
|
+
auto_scaler_type: The type of autoscaler to use. Currently supported value is Karpenter.
|
|
3418
|
+
"""
|
|
3419
|
+
|
|
3420
|
+
mode: str
|
|
3421
|
+
auto_scaler_type: Optional[str] = Unassigned()
|
|
3422
|
+
|
|
3423
|
+
|
|
3424
|
+
class ClusterAutoScalingConfigOutput(Base):
|
|
3425
|
+
"""
|
|
3426
|
+
ClusterAutoScalingConfigOutput
|
|
3427
|
+
The autoscaling configuration and status information for a HyperPod cluster.
|
|
3428
|
+
|
|
3429
|
+
Attributes
|
|
3430
|
+
----------------------
|
|
3431
|
+
mode: Describes whether autoscaling is enabled or disabled for the cluster.
|
|
3432
|
+
auto_scaler_type: The type of autoscaler configured for the cluster.
|
|
3433
|
+
status: The current status of the autoscaling configuration. Valid values are InService, Failed, Creating, and Deleting.
|
|
3434
|
+
failure_message: If the autoscaling status is Failed, this field contains a message describing the failure.
|
|
3435
|
+
"""
|
|
3436
|
+
|
|
3437
|
+
mode: str
|
|
3438
|
+
status: str
|
|
3439
|
+
auto_scaler_type: Optional[str] = Unassigned()
|
|
3440
|
+
failure_message: Optional[str] = Unassigned()
|
|
3441
|
+
|
|
3442
|
+
|
|
3409
3443
|
class ClusterEbsVolumeConfig(Base):
|
|
3410
3444
|
"""
|
|
3411
3445
|
ClusterEbsVolumeConfig
|
sagemaker_core-1.0.56/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.0.56
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/code_injection/__init__.py
RENAMED
|
File without changes
|
{sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/code_injection/base.py
RENAMED
|
File without changes
|
{sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/code_injection/codec.py
RENAMED
|
File without changes
|
{sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/code_injection/constants.py
RENAMED
|
File without changes
|
{sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/main/default_configs_helper.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/tools/resources_codegen.py
RENAMED
|
File without changes
|
{sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/tools/resources_extractor.py
RENAMED
|
File without changes
|
|
File without changes
|
{sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core/tools/shapes_extractor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sagemaker_core-1.0.56 → sagemaker_core-1.0.57}/src/sagemaker_core.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|