sagemaker-core 1.0.59__tar.gz → 1.0.60__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.

Files changed (42) hide show
  1. {sagemaker_core-1.0.59/src/sagemaker_core.egg-info → sagemaker_core-1.0.60}/PKG-INFO +1 -1
  2. sagemaker_core-1.0.60/VERSION +1 -0
  3. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/main/code_injection/shape_dag.py +18 -0
  4. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/main/resources.py +1 -1
  5. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/main/shapes.py +31 -1
  6. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60/src/sagemaker_core.egg-info}/PKG-INFO +1 -1
  7. sagemaker_core-1.0.59/VERSION +0 -1
  8. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/LICENSE +0 -0
  9. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/README.rst +0 -0
  10. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/pyproject.toml +0 -0
  11. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/setup.cfg +0 -0
  12. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/__init__.py +0 -0
  13. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/_version.py +0 -0
  14. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/helper/__init__.py +0 -0
  15. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/helper/session_helper.py +0 -0
  16. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/main/__init__.py +0 -0
  17. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/main/code_injection/__init__.py +0 -0
  18. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/main/code_injection/base.py +0 -0
  19. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/main/code_injection/codec.py +0 -0
  20. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/main/code_injection/constants.py +0 -0
  21. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/main/config_schema.py +0 -0
  22. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/main/default_configs_helper.py +0 -0
  23. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/main/exceptions.py +0 -0
  24. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/main/logs.py +0 -0
  25. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/main/user_agent.py +0 -0
  26. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/main/utils.py +0 -0
  27. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/resources/__init__.py +0 -0
  28. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/shapes/__init__.py +0 -0
  29. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/tools/__init__.py +0 -0
  30. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/tools/codegen.py +0 -0
  31. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/tools/constants.py +0 -0
  32. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/tools/data_extractor.py +0 -0
  33. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/tools/method.py +0 -0
  34. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/tools/resources_codegen.py +0 -0
  35. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/tools/resources_extractor.py +0 -0
  36. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/tools/shapes_codegen.py +0 -0
  37. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/tools/shapes_extractor.py +0 -0
  38. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core/tools/templates.py +0 -0
  39. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core.egg-info/SOURCES.txt +0 -0
  40. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core.egg-info/dependency_links.txt +0 -0
  41. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core.egg-info/requires.txt +0 -0
  42. {sagemaker_core-1.0.59 → sagemaker_core-1.0.60}/src/sagemaker_core.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sagemaker-core
3
- Version: 1.0.59
3
+ Version: 1.0.60
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
@@ -0,0 +1 @@
1
+ 1.0.60
@@ -8365,6 +8365,14 @@ SHAPE_DAG = {
8365
8365
  ],
8366
8366
  "type": "structure",
8367
8367
  },
8368
+ "InferenceComponentDataCacheConfig": {
8369
+ "members": [{"name": "EnableCaching", "shape": "EnableCaching", "type": "boolean"}],
8370
+ "type": "structure",
8371
+ },
8372
+ "InferenceComponentDataCacheConfigSummary": {
8373
+ "members": [{"name": "EnableCaching", "shape": "EnableCaching", "type": "boolean"}],
8374
+ "type": "structure",
8375
+ },
8368
8376
  "InferenceComponentDeploymentConfig": {
8369
8377
  "members": [
8370
8378
  {
@@ -8437,6 +8445,11 @@ SHAPE_DAG = {
8437
8445
  "shape": "InferenceComponentName",
8438
8446
  "type": "string",
8439
8447
  },
8448
+ {
8449
+ "name": "DataCacheConfig",
8450
+ "shape": "InferenceComponentDataCacheConfig",
8451
+ "type": "structure",
8452
+ },
8440
8453
  ],
8441
8454
  "type": "structure",
8442
8455
  },
@@ -8463,6 +8476,11 @@ SHAPE_DAG = {
8463
8476
  "shape": "InferenceComponentName",
8464
8477
  "type": "string",
8465
8478
  },
8479
+ {
8480
+ "name": "DataCacheConfig",
8481
+ "shape": "InferenceComponentDataCacheConfigSummary",
8482
+ "type": "structure",
8483
+ },
8466
8484
  ],
8467
8485
  "type": "structure",
8468
8486
  },
@@ -22677,7 +22677,7 @@ class NotebookInstance(Base):
22677
22677
  default_code_repository: A Git repository to associate with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in Amazon Web Services CodeCommit or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see Associating Git Repositories with SageMaker AI Notebook Instances.
22678
22678
  additional_code_repositories: An array of up to three Git repositories to associate with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in Amazon Web Services CodeCommit or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see Associating Git Repositories with SageMaker AI Notebook Instances.
22679
22679
  root_access: Whether root access is enabled or disabled for users of the notebook instance. The default value is Enabled. Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users.
22680
- platform_identifier: The platform identifier of the notebook instance runtime environment.
22680
+ platform_identifier: The platform identifier of the notebook instance runtime environment. The default value is notebook-al2-v2.
22681
22681
  instance_metadata_service_configuration: Information on the IMDS configuration of the notebook instance
22682
22682
  session: Boto3 session.
22683
22683
  region: Region name.
@@ -6377,6 +6377,19 @@ class InferenceComponentComputeResourceRequirements(Base):
6377
6377
  max_memory_required_in_mb: Optional[int] = Unassigned()
6378
6378
 
6379
6379
 
6380
+ class InferenceComponentDataCacheConfig(Base):
6381
+ """
6382
+ InferenceComponentDataCacheConfig
6383
+ Settings that affect how the inference component caches data.
6384
+
6385
+ Attributes
6386
+ ----------------------
6387
+ enable_caching: Sets whether the endpoint that hosts the inference component caches the model artifacts and container image. With caching enabled, the endpoint caches this data in each instance that it provisions for the inference component. That way, the inference component deploys faster during the auto scaling process. If caching isn't enabled, the inference component takes longer to deploy because of the time it spends downloading the data.
6388
+ """
6389
+
6390
+ enable_caching: bool
6391
+
6392
+
6380
6393
  class InferenceComponentSpecification(Base):
6381
6394
  """
6382
6395
  InferenceComponentSpecification
@@ -6389,6 +6402,7 @@ class InferenceComponentSpecification(Base):
6389
6402
  startup_parameters: Settings that take effect while the model container starts up.
6390
6403
  compute_resource_requirements: The compute resources allocated to run the model, plus any adapter models, that you assign to the inference component. Omit this parameter if your request is meant to create an adapter inference component. An adapter inference component is loaded by a base inference component, and it uses the compute resources of the base inference component.
6391
6404
  base_inference_component_name: The name of an existing inference component that is to contain the inference component that you're creating with your request. Specify this parameter only if your request is meant to create an adapter inference component. An adapter inference component contains the path to an adapter model. The purpose of the adapter model is to tailor the inference output of a base foundation model, which is hosted by the base inference component. The adapter inference component uses the compute resources that you assigned to the base inference component. When you create an adapter inference component, use the Container parameter to specify the location of the adapter artifacts. In the parameter value, use the ArtifactUrl parameter of the InferenceComponentContainerSpecification data type. Before you can create an adapter inference component, you must have an existing inference component that contains the foundation model that you want to adapt.
6405
+ data_cache_config: Settings that affect how the inference component caches data.
6392
6406
  """
6393
6407
 
6394
6408
  model_name: Optional[Union[str, object]] = Unassigned()
@@ -6398,6 +6412,7 @@ class InferenceComponentSpecification(Base):
6398
6412
  Unassigned()
6399
6413
  )
6400
6414
  base_inference_component_name: Optional[str] = Unassigned()
6415
+ data_cache_config: Optional[InferenceComponentDataCacheConfig] = Unassigned()
6401
6416
 
6402
6417
 
6403
6418
  class InferenceComponentRuntimeConfig(Base):
@@ -7803,7 +7818,7 @@ class ProcessingS3Input(Base):
7803
7818
  local_path: The local path in your container where you want Amazon SageMaker to write input data to. LocalPath is an absolute path to the input data and must begin with /opt/ml/processing/. LocalPath is a required parameter when AppManaged is False (default).
7804
7819
  s3_data_type: Whether you use an S3Prefix or a ManifestFile for the data type. If you choose S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker uses all objects with the specified key name prefix for the processing job. If you choose ManifestFile, S3Uri identifies an object that is a manifest file containing a list of object keys that you want Amazon SageMaker to use for the processing job.
7805
7820
  s3_input_mode: Whether to use File or Pipe input mode. In File mode, Amazon SageMaker copies the data from the input source onto the local ML storage volume before starting your processing container. This is the most commonly used input mode. In Pipe mode, Amazon SageMaker streams input data from the source directly to your processing container into named pipes without using the ML storage volume.
7806
- s3_data_distribution_type: Whether to distribute the data from Amazon S3 to all processing instances with FullyReplicated, or whether the data from Amazon S3 is shared by Amazon S3 key, downloading one shard of data to each processing instance.
7821
+ s3_data_distribution_type: Whether to distribute the data from Amazon S3 to all processing instances with FullyReplicated, or whether the data from Amazon S3 is sharded by Amazon S3 key, downloading one shard of data to each processing instance.
7807
7822
  s3_compression_type: Whether to GZIP-decompress the data in Amazon S3 as it is streamed into the processing container. Gzip can only be used when Pipe mode is specified as the S3InputMode. In Pipe mode, Amazon SageMaker streams input data from the source directly to your container without using the EBS volume.
7808
7823
  """
7809
7824
 
@@ -9284,6 +9299,19 @@ class InferenceComponentContainerSpecificationSummary(Base):
9284
9299
  environment: Optional[Dict[str, str]] = Unassigned()
9285
9300
 
9286
9301
 
9302
+ class InferenceComponentDataCacheConfigSummary(Base):
9303
+ """
9304
+ InferenceComponentDataCacheConfigSummary
9305
+ Settings that affect how the inference component caches data.
9306
+
9307
+ Attributes
9308
+ ----------------------
9309
+ enable_caching: Indicates whether the inference component caches model artifacts as part of the auto scaling process.
9310
+ """
9311
+
9312
+ enable_caching: bool
9313
+
9314
+
9287
9315
  class InferenceComponentSpecificationSummary(Base):
9288
9316
  """
9289
9317
  InferenceComponentSpecificationSummary
@@ -9296,6 +9324,7 @@ class InferenceComponentSpecificationSummary(Base):
9296
9324
  startup_parameters: Settings that take effect while the model container starts up.
9297
9325
  compute_resource_requirements: The compute resources allocated to run the model, plus any adapter models, that you assign to the inference component.
9298
9326
  base_inference_component_name: The name of the base inference component that contains this inference component.
9327
+ data_cache_config: Settings that affect how the inference component caches data.
9299
9328
  """
9300
9329
 
9301
9330
  model_name: Optional[Union[str, object]] = Unassigned()
@@ -9305,6 +9334,7 @@ class InferenceComponentSpecificationSummary(Base):
9305
9334
  Unassigned()
9306
9335
  )
9307
9336
  base_inference_component_name: Optional[str] = Unassigned()
9337
+ data_cache_config: Optional[InferenceComponentDataCacheConfigSummary] = Unassigned()
9308
9338
 
9309
9339
 
9310
9340
  class InferenceComponentRuntimeConfigSummary(Base):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sagemaker-core
3
- Version: 1.0.59
3
+ Version: 1.0.60
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
@@ -1 +0,0 @@
1
- 1.0.59
File without changes