sagemaker-core 1.0.51__py3-none-any.whl → 1.0.53__py3-none-any.whl

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.

@@ -1447,7 +1447,9 @@ SHAPE_DAG = {
1447
1447
  },
1448
1448
  "ClusterEbsVolumeConfig": {
1449
1449
  "members": [
1450
- {"name": "VolumeSizeInGB", "shape": "ClusterEbsVolumeSizeInGB", "type": "integer"}
1450
+ {"name": "VolumeSizeInGB", "shape": "ClusterEbsVolumeSizeInGB", "type": "integer"},
1451
+ {"name": "VolumeKmsKeyId", "shape": "KmsKeyId", "type": "string"},
1452
+ {"name": "RootVolume", "shape": "Boolean", "type": "boolean"},
1451
1453
  ],
1452
1454
  "type": "structure",
1453
1455
  },
@@ -1910,6 +1912,9 @@ SHAPE_DAG = {
1910
1912
  "members": [
1911
1913
  {"name": "InstanceType", "shape": "ClusterInstanceType", "type": "string"},
1912
1914
  {"name": "Count", "shape": "InstanceCount", "type": "integer"},
1915
+ {"name": "Accelerators", "shape": "AcceleratorsAmount", "type": "integer"},
1916
+ {"name": "VCpu", "shape": "VCpuAmount", "type": "float"},
1917
+ {"name": "MemoryInGiB", "shape": "MemoryInGiBAmount", "type": "float"},
1913
1918
  ],
1914
1919
  "type": "structure",
1915
1920
  },
@@ -3414,9 +3414,13 @@ class ClusterEbsVolumeConfig(Base):
3414
3414
  Attributes
3415
3415
  ----------------------
3416
3416
  volume_size_in_gb: The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.
3417
+ volume_kms_key_id: The ID of a KMS key to encrypt the Amazon EBS volume.
3418
+ root_volume: Specifies whether the configuration is for the cluster's root or secondary Amazon EBS volume. You can specify two ClusterEbsVolumeConfig fields to configure both the root and secondary volumes. Set the value to True if you'd like to provide your own customer managed Amazon Web Services KMS key to encrypt the root volume. When True: The configuration is applied to the root volume. You can't specify the VolumeSizeInGB field. The size of the root volume is determined for you. You must specify a KMS key ID for VolumeKmsKeyId to encrypt the root volume with your own KMS key instead of an Amazon Web Services owned KMS key. Otherwise, by default, the value is False, and the following applies: The configuration is applied to the secondary volume, while the root volume is encrypted with an Amazon Web Services owned key. You must specify the VolumeSizeInGB field. You can optionally specify the VolumeKmsKeyId to encrypt the secondary volume with your own KMS key instead of an Amazon Web Services owned KMS key.
3417
3419
  """
3418
3420
 
3419
3421
  volume_size_in_gb: Optional[int] = Unassigned()
3422
+ volume_kms_key_id: Optional[str] = Unassigned()
3423
+ root_volume: Optional[bool] = Unassigned()
3420
3424
 
3421
3425
 
3422
3426
  class ClusterMetadata(Base):
@@ -4250,10 +4254,16 @@ class ComputeQuotaResourceConfig(Base):
4250
4254
  ----------------------
4251
4255
  instance_type: The instance type of the instance group for the cluster.
4252
4256
  count: The number of instances to add to the instance group of a SageMaker HyperPod cluster.
4257
+ accelerators: The number of accelerators to allocate. If you don't specify a value for vCPU and MemoryInGiB, SageMaker AI automatically allocates ratio-based values for those parameters based on the number of accelerators you provide. For example, if you allocate 16 out of 32 total accelerators, SageMaker AI uses the ratio of 0.5 and allocates values to vCPU and MemoryInGiB.
4258
+ v_cpu: The number of vCPU to allocate. If you specify a value only for vCPU, SageMaker AI automatically allocates ratio-based values for MemoryInGiB based on this vCPU parameter. For example, if you allocate 20 out of 40 total vCPU, SageMaker AI uses the ratio of 0.5 and allocates values to MemoryInGiB. Accelerators are set to 0.
4259
+ memory_in_gi_b: The amount of memory in GiB to allocate. If you specify a value only for this parameter, SageMaker AI automatically allocates a ratio-based value for vCPU based on this memory that you provide. For example, if you allocate 200 out of 400 total memory in GiB, SageMaker AI uses the ratio of 0.5 and allocates values to vCPU. Accelerators are set to 0.
4253
4260
  """
4254
4261
 
4255
4262
  instance_type: str
4256
4263
  count: Optional[int] = Unassigned()
4264
+ accelerators: Optional[int] = Unassigned()
4265
+ v_cpu: Optional[float] = Unassigned()
4266
+ memory_in_gi_b: Optional[float] = Unassigned()
4257
4267
 
4258
4268
 
4259
4269
  class ResourceSharingConfig(Base):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sagemaker-core
3
- Version: 1.0.51
3
+ Version: 1.0.53
4
4
  Summary: An python package for sagemaker core functionalities
5
5
  Author-email: AWS <sagemaker-interests@amazon.com>
6
6
  Project-URL: Repository, https://github.com/aws/sagemaker-core.git
@@ -8,14 +8,14 @@ sagemaker_core/main/default_configs_helper.py,sha256=bg_tgczX_bYzNiSlalJ6TWPTgrQ
8
8
  sagemaker_core/main/exceptions.py,sha256=CsiM3V_Gb16grBotnu59LB6tznryPcSvAQDAOOYGc10,5563
9
9
  sagemaker_core/main/logs.py,sha256=yfEH7uP91nbE1lefymOlBr81ziBzsDSIOF2Qyd54FJE,6241
10
10
  sagemaker_core/main/resources.py,sha256=fjJ7xwqlx0J5_8EH9h-_HDBW20Kyg4UVfF0Ys2tMJ88,1441521
11
- sagemaker_core/main/shapes.py,sha256=1P4PYRdnJHuAokdSXE2CKbe3fU1Lw04yfmYf_8BEAqA,783474
11
+ sagemaker_core/main/shapes.py,sha256=6KF19XaUtn5p6zVavtqI-tdmhVubDNwt863QUNW7J2c,785925
12
12
  sagemaker_core/main/user_agent.py,sha256=BPYDAfDd70ObP-VAjl7aDHALHyGknkpRP21ktVr_LDw,2744
13
13
  sagemaker_core/main/utils.py,sha256=y1aZzztCApczZSqT0U7_H8zLlpqp1vgoUKcp40mTM2o,19157
14
14
  sagemaker_core/main/code_injection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  sagemaker_core/main/code_injection/base.py,sha256=11_Jif0nOzfbLGlXaacKf-wcizzfS64U0OSZGoVffFU,1733
16
16
  sagemaker_core/main/code_injection/codec.py,sha256=2YzJ-iYEzmguVaJVcZeyCR0OpTSR7UOixATrOm4MiBk,8885
17
17
  sagemaker_core/main/code_injection/constants.py,sha256=2ICExGge8vAWx7lSTW0JGh-bH1korkvpOpDu5M63eI4,980
18
- sagemaker_core/main/code_injection/shape_dag.py,sha256=LC15RzVjrzKQSxaqyxH5ewyOGK7gT5NrKxiFZygb9dk,745484
18
+ sagemaker_core/main/code_injection/shape_dag.py,sha256=yU5WZX2fjyFe_pNnxOiAWh-hODQPP5pJNmPKuU_xSkU,745881
19
19
  sagemaker_core/resources/__init__.py,sha256=EAYTFMN-nPjnPjjBbhIUeaL67FLKNPd7qbcbl9VIrws,31
20
20
  sagemaker_core/shapes/__init__.py,sha256=RnbIu9eTxKt-DNsOFJabrWIgrrtS9_SdAozP9JBl_ic,28
21
21
  sagemaker_core/tools/__init__.py,sha256=xX79JImxCVzrWMnjgntLCve2G5I-R4pRar5s20kT9Rs,56
@@ -28,8 +28,8 @@ sagemaker_core/tools/resources_extractor.py,sha256=hN61ehZbPnhFW-2FIVDi7NsEz4rLv
28
28
  sagemaker_core/tools/shapes_codegen.py,sha256=4lsePZpjk7M6RpJs5yar_m4z5MzwGHFrvCkdS_-R12c,12172
29
29
  sagemaker_core/tools/shapes_extractor.py,sha256=vxVKjXD3lmjrkoKiexjUnOt8ITbFxQSeiDtx7P6Qtkw,14226
30
30
  sagemaker_core/tools/templates.py,sha256=0lOIH3Rq2CXWkQhK6VenN_TE_v5p852s2kQyb_BeQxA,23460
31
- sagemaker_core-1.0.51.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
32
- sagemaker_core-1.0.51.dist-info/METADATA,sha256=rw3tTz18Kpzx6BjLx9Q-4wjVZyZd0A_rSxn-oO1N_KY,4871
33
- sagemaker_core-1.0.51.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
34
- sagemaker_core-1.0.51.dist-info/top_level.txt,sha256=R3GAZZ1zC5JxqdE_0x2Lu_WYi2Xfke7VsiP3L5zngfA,15
35
- sagemaker_core-1.0.51.dist-info/RECORD,,
31
+ sagemaker_core-1.0.53.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
32
+ sagemaker_core-1.0.53.dist-info/METADATA,sha256=f42QVSPSySLUq_tPsi6jv7i_8ASDCU9mwzbE5MTc8yQ,4871
33
+ sagemaker_core-1.0.53.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
34
+ sagemaker_core-1.0.53.dist-info/top_level.txt,sha256=R3GAZZ1zC5JxqdE_0x2Lu_WYi2Xfke7VsiP3L5zngfA,15
35
+ sagemaker_core-1.0.53.dist-info/RECORD,,