aws-sdk-sagemaker 1.406.0 → 1.407.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0e34856cbdcb87283d1d242622a7407ce18763cc513b2f03fcba4675ae0e578
4
- data.tar.gz: 907774d87667d808bb9cffa813a7382a45321ff0a10c3c5a3c05c1799a83c5b4
3
+ metadata.gz: 577c772d7fb6bbccc01a1001ac5a449b15342c22334a6c38afd6e61f74b563b5
4
+ data.tar.gz: a184b5ed3f54d960c7e8d89b09267c8f15ee8d2ad3e0f6e43b2f557a8b31d7ad
5
5
  SHA512:
6
- metadata.gz: 4a37c322f52be2723c2e7bb87338e9594890921269c40d50082ad32b2bfce86ddf466b17555ebf99832483d031c9677703076e6991dedd07f6354b6f95f9e0eb
7
- data.tar.gz: c763f57d75fc78a76d5b7f0278d3b2dab9a70b66e710602cae5692aa8127aec1eb37fd39cac76aff21b5679803d67e064b33432d349cca3e1a0749ebe72b4c38
6
+ metadata.gz: 2495fa23bf6edd84fa24b25808d6baba0a82732b9ed538443772d4f40e7a0ce6a61820a23f2e54663fbb15d900e6d72b152688b38b6b9a9039239ae3e6703e26
7
+ data.tar.gz: f7ea44076206308bb05080c70343392ff0714c69660dc418ea8d977b60172d9cdd8d50178ee57cba7764bf5ca29211b1b0ec22035d93aae3aaced676faae29d9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.407.0 (2026-10-30)
5
+ ------------------
6
+
7
+ * Feature - Create endpoints with AcceleratorPartitionLayouts on ProductionVariant and deploy inference components with AcceleratorPartitionType in ComputeResourceRequirements to divide accelerators into hardware-isolated NVIDIA MIG partitions, running multiple models per GPU. P4d, P5, G7, G7e.
8
+
4
9
  1.406.0 (2026-10-29)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.406.0
1
+ 1.407.0
@@ -4911,6 +4911,11 @@ module Aws::SageMaker
4911
4911
  # capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only
4912
4912
  # ml_reservation_arn: "MlReservationArn",
4913
4913
  # },
4914
+ # accelerator_partition_layouts: [
4915
+ # {
4916
+ # accelerator_partition_types: ["AcceleratorPartitionType"],
4917
+ # },
4918
+ # ],
4914
4919
  # },
4915
4920
  # ],
4916
4921
  # data_capture_config: {
@@ -5033,6 +5038,11 @@ module Aws::SageMaker
5033
5038
  # capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only
5034
5039
  # ml_reservation_arn: "MlReservationArn",
5035
5040
  # },
5041
+ # accelerator_partition_layouts: [
5042
+ # {
5043
+ # accelerator_partition_types: ["AcceleratorPartitionType"],
5044
+ # },
5045
+ # ],
5036
5046
  # },
5037
5047
  # ],
5038
5048
  # execution_role_arn: "RoleArn",
@@ -6500,6 +6510,7 @@ module Aws::SageMaker
6500
6510
  # number_of_accelerator_devices_required: 1.0,
6501
6511
  # min_memory_required_in_mb: 1, # required
6502
6512
  # max_memory_required_in_mb: 1,
6513
+ # accelerator_partition_type: "AcceleratorPartitionType",
6503
6514
  # },
6504
6515
  # base_inference_component_name: "InferenceComponentName",
6505
6516
  # data_cache_config: {
@@ -6541,6 +6552,7 @@ module Aws::SageMaker
6541
6552
  # number_of_accelerator_devices_required: 1.0,
6542
6553
  # min_memory_required_in_mb: 1, # required
6543
6554
  # max_memory_required_in_mb: 1,
6555
+ # accelerator_partition_type: "AcceleratorPartitionType",
6544
6556
  # },
6545
6557
  # base_inference_component_name: "InferenceComponentName",
6546
6558
  # data_cache_config: {
@@ -16652,6 +16664,9 @@ module Aws::SageMaker
16652
16664
  # resp.production_variants[0].capacity_reservation_config.ec2_capacity_reservations[0].total_instance_count #=> Integer
16653
16665
  # resp.production_variants[0].capacity_reservation_config.ec2_capacity_reservations[0].available_instance_count #=> Integer
16654
16666
  # resp.production_variants[0].capacity_reservation_config.ec2_capacity_reservations[0].used_by_current_endpoint #=> Integer
16667
+ # resp.production_variants[0].accelerator_partition_layouts #=> Array
16668
+ # resp.production_variants[0].accelerator_partition_layouts[0].accelerator_partition_types #=> Array
16669
+ # resp.production_variants[0].accelerator_partition_layouts[0].accelerator_partition_types[0] #=> String
16655
16670
  # resp.data_capture_config.enable_capture #=> Boolean
16656
16671
  # resp.data_capture_config.capture_status #=> String, one of "Started", "Stopped"
16657
16672
  # resp.data_capture_config.current_sampling_percentage #=> Integer
@@ -16720,6 +16735,9 @@ module Aws::SageMaker
16720
16735
  # resp.pending_deployment_summary.production_variants[0].routing_config.routing_strategy #=> String, one of "LEAST_OUTSTANDING_REQUESTS", "RANDOM", "PREFIX_AWARE"
16721
16736
  # resp.pending_deployment_summary.production_variants[0].routing_config.prefix_aware_routing_config.prefix_length #=> Integer
16722
16737
  # resp.pending_deployment_summary.production_variants[0].routing_config.prefix_aware_routing_config.concurrency_threshold #=> Integer
16738
+ # resp.pending_deployment_summary.production_variants[0].accelerator_partition_layouts #=> Array
16739
+ # resp.pending_deployment_summary.production_variants[0].accelerator_partition_layouts[0].accelerator_partition_types #=> Array
16740
+ # resp.pending_deployment_summary.production_variants[0].accelerator_partition_layouts[0].accelerator_partition_types[0] #=> String
16723
16741
  # resp.pending_deployment_summary.start_time #=> Time
16724
16742
  # resp.pending_deployment_summary.shadow_production_variants #=> Array
16725
16743
  # resp.pending_deployment_summary.shadow_production_variants[0].variant_name #=> String
@@ -16755,6 +16773,9 @@ module Aws::SageMaker
16755
16773
  # resp.pending_deployment_summary.shadow_production_variants[0].routing_config.routing_strategy #=> String, one of "LEAST_OUTSTANDING_REQUESTS", "RANDOM", "PREFIX_AWARE"
16756
16774
  # resp.pending_deployment_summary.shadow_production_variants[0].routing_config.prefix_aware_routing_config.prefix_length #=> Integer
16757
16775
  # resp.pending_deployment_summary.shadow_production_variants[0].routing_config.prefix_aware_routing_config.concurrency_threshold #=> Integer
16776
+ # resp.pending_deployment_summary.shadow_production_variants[0].accelerator_partition_layouts #=> Array
16777
+ # resp.pending_deployment_summary.shadow_production_variants[0].accelerator_partition_layouts[0].accelerator_partition_types #=> Array
16778
+ # resp.pending_deployment_summary.shadow_production_variants[0].accelerator_partition_layouts[0].accelerator_partition_types[0] #=> String
16758
16779
  # resp.explainer_config.clarify_explainer_config.enable_explanations #=> String
16759
16780
  # resp.explainer_config.clarify_explainer_config.inference_config.features_attribute #=> String
16760
16781
  # resp.explainer_config.clarify_explainer_config.inference_config.content_template #=> String
@@ -16820,6 +16841,9 @@ module Aws::SageMaker
16820
16841
  # resp.shadow_production_variants[0].capacity_reservation_config.ec2_capacity_reservations[0].total_instance_count #=> Integer
16821
16842
  # resp.shadow_production_variants[0].capacity_reservation_config.ec2_capacity_reservations[0].available_instance_count #=> Integer
16822
16843
  # resp.shadow_production_variants[0].capacity_reservation_config.ec2_capacity_reservations[0].used_by_current_endpoint #=> Integer
16844
+ # resp.shadow_production_variants[0].accelerator_partition_layouts #=> Array
16845
+ # resp.shadow_production_variants[0].accelerator_partition_layouts[0].accelerator_partition_types #=> Array
16846
+ # resp.shadow_production_variants[0].accelerator_partition_layouts[0].accelerator_partition_types[0] #=> String
16823
16847
  # resp.metrics_config.enable_enhanced_metrics #=> Boolean
16824
16848
  # resp.metrics_config.enable_detailed_observability #=> Boolean
16825
16849
  # resp.metrics_config.metric_publish_frequency_in_seconds #=> Integer
@@ -16904,6 +16928,9 @@ module Aws::SageMaker
16904
16928
  # resp.production_variants[0].inference_ami_version #=> String, one of "al2-ami-sagemaker-inference-gpu-2", "al2-ami-sagemaker-inference-gpu-2-1", "al2-ami-sagemaker-inference-gpu-3-1", "al2-ami-sagemaker-inference-neuron-2", "al2023-ami-sagemaker-inference-gpu-4-1"
16905
16929
  # resp.production_variants[0].capacity_reservation_config.capacity_reservation_preference #=> String, one of "capacity-reservations-only"
16906
16930
  # resp.production_variants[0].capacity_reservation_config.ml_reservation_arn #=> String
16931
+ # resp.production_variants[0].accelerator_partition_layouts #=> Array
16932
+ # resp.production_variants[0].accelerator_partition_layouts[0].accelerator_partition_types #=> Array
16933
+ # resp.production_variants[0].accelerator_partition_layouts[0].accelerator_partition_types[0] #=> String
16907
16934
  # resp.data_capture_config.enable_capture #=> Boolean
16908
16935
  # resp.data_capture_config.initial_sampling_percentage #=> Integer
16909
16936
  # resp.data_capture_config.destination_s3_uri #=> String
@@ -16980,6 +17007,9 @@ module Aws::SageMaker
16980
17007
  # resp.shadow_production_variants[0].inference_ami_version #=> String, one of "al2-ami-sagemaker-inference-gpu-2", "al2-ami-sagemaker-inference-gpu-2-1", "al2-ami-sagemaker-inference-gpu-3-1", "al2-ami-sagemaker-inference-neuron-2", "al2023-ami-sagemaker-inference-gpu-4-1"
16981
17008
  # resp.shadow_production_variants[0].capacity_reservation_config.capacity_reservation_preference #=> String, one of "capacity-reservations-only"
16982
17009
  # resp.shadow_production_variants[0].capacity_reservation_config.ml_reservation_arn #=> String
17010
+ # resp.shadow_production_variants[0].accelerator_partition_layouts #=> Array
17011
+ # resp.shadow_production_variants[0].accelerator_partition_layouts[0].accelerator_partition_types #=> Array
17012
+ # resp.shadow_production_variants[0].accelerator_partition_layouts[0].accelerator_partition_types[0] #=> String
16983
17013
  # resp.execution_role_arn #=> String
16984
17014
  # resp.vpc_config.security_group_ids #=> Array
16985
17015
  # resp.vpc_config.security_group_ids[0] #=> String
@@ -17918,6 +17948,7 @@ module Aws::SageMaker
17918
17948
  # resp.specification.compute_resource_requirements.number_of_accelerator_devices_required #=> Float
17919
17949
  # resp.specification.compute_resource_requirements.min_memory_required_in_mb #=> Integer
17920
17950
  # resp.specification.compute_resource_requirements.max_memory_required_in_mb #=> Integer
17951
+ # resp.specification.compute_resource_requirements.accelerator_partition_type #=> String
17921
17952
  # resp.specification.base_inference_component_name #=> String
17922
17953
  # resp.specification.data_cache_config.enable_caching #=> Boolean
17923
17954
  # resp.specification.scheduling_config.placement_strategy #=> String, one of "SPREAD", "BINPACK"
@@ -17941,6 +17972,7 @@ module Aws::SageMaker
17941
17972
  # resp.specifications[0].compute_resource_requirements.number_of_accelerator_devices_required #=> Float
17942
17973
  # resp.specifications[0].compute_resource_requirements.min_memory_required_in_mb #=> Integer
17943
17974
  # resp.specifications[0].compute_resource_requirements.max_memory_required_in_mb #=> Integer
17975
+ # resp.specifications[0].compute_resource_requirements.accelerator_partition_type #=> String
17944
17976
  # resp.specifications[0].base_inference_component_name #=> String
17945
17977
  # resp.specifications[0].data_cache_config.enable_caching #=> Boolean
17946
17978
  # resp.specifications[0].scheduling_config.placement_strategy #=> String, one of "SPREAD", "BINPACK"
@@ -32812,6 +32844,7 @@ module Aws::SageMaker
32812
32844
  # number_of_accelerator_devices_required: 1.0,
32813
32845
  # min_memory_required_in_mb: 1, # required
32814
32846
  # max_memory_required_in_mb: 1,
32847
+ # accelerator_partition_type: "AcceleratorPartitionType",
32815
32848
  # },
32816
32849
  # base_inference_component_name: "InferenceComponentName",
32817
32850
  # data_cache_config: {
@@ -32853,6 +32886,7 @@ module Aws::SageMaker
32853
32886
  # number_of_accelerator_devices_required: 1.0,
32854
32887
  # min_memory_required_in_mb: 1, # required
32855
32888
  # max_memory_required_in_mb: 1,
32889
+ # accelerator_partition_type: "AcceleratorPartitionType",
32856
32890
  # },
32857
32891
  # base_inference_component_name: "InferenceComponentName",
32858
32892
  # data_cache_config: {
@@ -35120,7 +35154,7 @@ module Aws::SageMaker
35120
35154
  tracer: tracer
35121
35155
  )
35122
35156
  context[:gem_name] = 'aws-sdk-sagemaker'
35123
- context[:gem_version] = '1.406.0'
35157
+ context[:gem_version] = '1.407.0'
35124
35158
  Seahorse::Client::Request.new(handlers, context)
35125
35159
  end
35126
35160
 
@@ -92,6 +92,10 @@ module Aws::SageMaker
92
92
  AbsoluteBorrowLimitResourceList = Shapes::ListShape.new(name: 'AbsoluteBorrowLimitResourceList')
93
93
  AcceleratorPartitionConfig = Shapes::StructureShape.new(name: 'AcceleratorPartitionConfig')
94
94
  AcceleratorPartitionConfigCountInteger = Shapes::IntegerShape.new(name: 'AcceleratorPartitionConfigCountInteger')
95
+ AcceleratorPartitionLayout = Shapes::StructureShape.new(name: 'AcceleratorPartitionLayout')
96
+ AcceleratorPartitionLayouts = Shapes::ListShape.new(name: 'AcceleratorPartitionLayouts')
97
+ AcceleratorPartitionType = Shapes::StringShape.new(name: 'AcceleratorPartitionType')
98
+ AcceleratorPartitionTypeList = Shapes::ListShape.new(name: 'AcceleratorPartitionTypeList')
95
99
  AcceleratorsAmount = Shapes::IntegerShape.new(name: 'AcceleratorsAmount')
96
100
  Accept = Shapes::StringShape.new(name: 'Accept')
97
101
  AcceptEula = Shapes::BooleanShape.new(name: 'AcceptEula')
@@ -2345,6 +2349,7 @@ module Aws::SageMaker
2345
2349
  ProductId = Shapes::StringShape.new(name: 'ProductId')
2346
2350
  ProductListings = Shapes::ListShape.new(name: 'ProductListings')
2347
2351
  ProductionVariant = Shapes::StructureShape.new(name: 'ProductionVariant')
2352
+ ProductionVariantAcceleratorPartitionLayoutsList = Shapes::ListShape.new(name: 'ProductionVariantAcceleratorPartitionLayoutsList')
2348
2353
  ProductionVariantAcceleratorType = Shapes::StringShape.new(name: 'ProductionVariantAcceleratorType')
2349
2354
  ProductionVariantCapacityReservationConfig = Shapes::StructureShape.new(name: 'ProductionVariantCapacityReservationConfig')
2350
2355
  ProductionVariantCapacityReservationSummary = Shapes::StructureShape.new(name: 'ProductionVariantCapacityReservationSummary')
@@ -3324,6 +3329,13 @@ module Aws::SageMaker
3324
3329
  AcceleratorPartitionConfig.add_member(:count, Shapes::ShapeRef.new(shape: AcceleratorPartitionConfigCountInteger, required: true, location_name: "Count", metadata: {"box" => true}))
3325
3330
  AcceleratorPartitionConfig.struct_class = Types::AcceleratorPartitionConfig
3326
3331
 
3332
+ AcceleratorPartitionLayout.add_member(:accelerator_partition_types, Shapes::ShapeRef.new(shape: AcceleratorPartitionTypeList, location_name: "AcceleratorPartitionTypes"))
3333
+ AcceleratorPartitionLayout.struct_class = Types::AcceleratorPartitionLayout
3334
+
3335
+ AcceleratorPartitionLayouts.member = Shapes::ShapeRef.new(shape: AcceleratorPartitionLayout)
3336
+
3337
+ AcceleratorPartitionTypeList.member = Shapes::ShapeRef.new(shape: AcceleratorPartitionType)
3338
+
3327
3339
  ActionSource.add_member(:source_uri, Shapes::ShapeRef.new(shape: SourceUri, required: true, location_name: "SourceUri"))
3328
3340
  ActionSource.add_member(:source_type, Shapes::ShapeRef.new(shape: String256, location_name: "SourceType"))
3329
3341
  ActionSource.add_member(:source_id, Shapes::ShapeRef.new(shape: String256, location_name: "SourceId"))
@@ -8557,6 +8569,7 @@ module Aws::SageMaker
8557
8569
  InferenceComponentComputeResourceRequirements.add_member(:number_of_accelerator_devices_required, Shapes::ShapeRef.new(shape: NumberOfAcceleratorDevices, location_name: "NumberOfAcceleratorDevicesRequired"))
8558
8570
  InferenceComponentComputeResourceRequirements.add_member(:min_memory_required_in_mb, Shapes::ShapeRef.new(shape: MemoryInMb, required: true, location_name: "MinMemoryRequiredInMb"))
8559
8571
  InferenceComponentComputeResourceRequirements.add_member(:max_memory_required_in_mb, Shapes::ShapeRef.new(shape: MemoryInMb, location_name: "MaxMemoryRequiredInMb"))
8572
+ InferenceComponentComputeResourceRequirements.add_member(:accelerator_partition_type, Shapes::ShapeRef.new(shape: AcceleratorPartitionType, location_name: "AcceleratorPartitionType"))
8560
8573
  InferenceComponentComputeResourceRequirements.struct_class = Types::InferenceComponentComputeResourceRequirements
8561
8574
 
8562
8575
  InferenceComponentContainerSpecification.add_member(:image, Shapes::ShapeRef.new(shape: ContainerImage, location_name: "Image"))
@@ -11230,6 +11243,7 @@ module Aws::SageMaker
11230
11243
  PendingProductionVariantSummary.add_member(:desired_serverless_config, Shapes::ShapeRef.new(shape: ProductionVariantServerlessConfig, location_name: "DesiredServerlessConfig"))
11231
11244
  PendingProductionVariantSummary.add_member(:managed_instance_scaling, Shapes::ShapeRef.new(shape: ProductionVariantManagedInstanceScaling, location_name: "ManagedInstanceScaling"))
11232
11245
  PendingProductionVariantSummary.add_member(:routing_config, Shapes::ShapeRef.new(shape: ProductionVariantRoutingConfig, location_name: "RoutingConfig"))
11246
+ PendingProductionVariantSummary.add_member(:accelerator_partition_layouts, Shapes::ShapeRef.new(shape: AcceleratorPartitionLayouts, location_name: "AcceleratorPartitionLayouts"))
11233
11247
  PendingProductionVariantSummary.struct_class = Types::PendingProductionVariantSummary
11234
11248
 
11235
11249
  PendingProductionVariantSummaryList.member = Shapes::ShapeRef.new(shape: PendingProductionVariantSummary)
@@ -11515,8 +11529,11 @@ module Aws::SageMaker
11515
11529
  ProductionVariant.add_member(:routing_config, Shapes::ShapeRef.new(shape: ProductionVariantRoutingConfig, location_name: "RoutingConfig"))
11516
11530
  ProductionVariant.add_member(:inference_ami_version, Shapes::ShapeRef.new(shape: ProductionVariantInferenceAmiVersion, location_name: "InferenceAmiVersion"))
11517
11531
  ProductionVariant.add_member(:capacity_reservation_config, Shapes::ShapeRef.new(shape: ProductionVariantCapacityReservationConfig, location_name: "CapacityReservationConfig"))
11532
+ ProductionVariant.add_member(:accelerator_partition_layouts, Shapes::ShapeRef.new(shape: ProductionVariantAcceleratorPartitionLayoutsList, location_name: "AcceleratorPartitionLayouts"))
11518
11533
  ProductionVariant.struct_class = Types::ProductionVariant
11519
11534
 
11535
+ ProductionVariantAcceleratorPartitionLayoutsList.member = Shapes::ShapeRef.new(shape: AcceleratorPartitionLayout)
11536
+
11520
11537
  ProductionVariantCapacityReservationConfig.add_member(:capacity_reservation_preference, Shapes::ShapeRef.new(shape: CapacityReservationPreference, location_name: "CapacityReservationPreference"))
11521
11538
  ProductionVariantCapacityReservationConfig.add_member(:ml_reservation_arn, Shapes::ShapeRef.new(shape: MlReservationArn, location_name: "MlReservationArn"))
11522
11539
  ProductionVariantCapacityReservationConfig.struct_class = Types::ProductionVariantCapacityReservationConfig
@@ -11579,6 +11596,7 @@ module Aws::SageMaker
11579
11596
  ProductionVariantSummary.add_member(:managed_instance_scaling, Shapes::ShapeRef.new(shape: ProductionVariantManagedInstanceScaling, location_name: "ManagedInstanceScaling"))
11580
11597
  ProductionVariantSummary.add_member(:routing_config, Shapes::ShapeRef.new(shape: ProductionVariantRoutingConfig, location_name: "RoutingConfig"))
11581
11598
  ProductionVariantSummary.add_member(:capacity_reservation_config, Shapes::ShapeRef.new(shape: ProductionVariantCapacityReservationSummary, location_name: "CapacityReservationConfig"))
11599
+ ProductionVariantSummary.add_member(:accelerator_partition_layouts, Shapes::ShapeRef.new(shape: AcceleratorPartitionLayouts, location_name: "AcceleratorPartitionLayouts"))
11582
11600
  ProductionVariantSummary.struct_class = Types::ProductionVariantSummary
11583
11601
 
11584
11602
  ProductionVariantSummaryList.member = Shapes::ShapeRef.new(shape: ProductionVariantSummary)
@@ -883,6 +883,32 @@ module Aws::SageMaker
883
883
  include Aws::Structure
884
884
  end
885
885
 
886
+ # A layout of accelerator partitions for a production variant. On NVIDIA
887
+ # GPUs, the partitions are Multi-Instance GPU (MIG) instances. SageMaker
888
+ # applies the layout to every accelerator on the variant's instance
889
+ # type. You can't change the layout of a running endpoint. To use a
890
+ # different layout, create a new endpoint.
891
+ #
892
+ # @!attribute [rw] accelerator_partition_types
893
+ # The list of partition profiles to carve on each accelerator that
894
+ # this layout applies to. On NVIDIA GPUs these are Multi-Instance GPU
895
+ # (MIG) profiles, for example `["mig-3g.40gb", "mig-4g.40gb"]`. The
896
+ # order of the profiles doesn't change how the accelerator is
897
+ # partitioned. However, when you update an endpoint, a layout with the
898
+ # same profiles in a different order counts as a different layout, and
899
+ # the update is rejected. Repeat a profile to request more than one
900
+ # partition of that size: for example, `["mig-3g.40gb",
901
+ # "mig-3g.40gb"]` requests two `mig-3g.40gb` partitions.
902
+ # @return [Array<String>]
903
+ #
904
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AcceleratorPartitionLayout AWS API Documentation
905
+ #
906
+ class AcceleratorPartitionLayout < Struct.new(
907
+ :accelerator_partition_types)
908
+ SENSITIVE = []
909
+ include Aws::Structure
910
+ end
911
+
886
912
  # A structure describing the source of an action.
887
913
  #
888
914
  # @!attribute [rw] source_uri
@@ -31884,13 +31910,25 @@ module Aws::SageMaker
31884
31910
  # to an inference component.
31885
31911
  # @return [Integer]
31886
31912
  #
31913
+ # @!attribute [rw] accelerator_partition_type
31914
+ # The accelerator partition profile this inference component occupies;
31915
+ # on NVIDIA GPUs this is a Multi-Instance GPU (MIG) profile such as
31916
+ # `mig-3g.40gb`. It must be one of the partition profiles declared in
31917
+ # the target endpoint's accelerator partition layout, and when set,
31918
+ # `NumberOfAcceleratorDevicesRequired` must be `1`. This field is
31919
+ # required when the endpoint's production variant has an accelerator
31920
+ # partition layout. For endpoints without a layout, omit this field to
31921
+ # place the inference component on a whole accelerator.
31922
+ # @return [String]
31923
+ #
31887
31924
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceComponentComputeResourceRequirements AWS API Documentation
31888
31925
  #
31889
31926
  class InferenceComponentComputeResourceRequirements < Struct.new(
31890
31927
  :number_of_cpu_cores_required,
31891
31928
  :number_of_accelerator_devices_required,
31892
31929
  :min_memory_required_in_mb,
31893
- :max_memory_required_in_mb)
31930
+ :max_memory_required_in_mb,
31931
+ :accelerator_partition_type)
31894
31932
  SENSITIVE = []
31895
31933
  include Aws::Structure
31896
31934
  end
@@ -46302,6 +46340,14 @@ module Aws::SageMaker
46302
46340
  # the instances that the endpoint hosts.
46303
46341
  # @return [Types::ProductionVariantRoutingConfig]
46304
46342
  #
46343
+ # @!attribute [rw] accelerator_partition_layouts
46344
+ # The accelerator partition layout that SageMaker is applying to this
46345
+ # production variant. On NVIDIA GPUs, the profiles are Multi-Instance
46346
+ # GPU (MIG) profiles. SageMaker returns the accelerator partition
46347
+ # layout as you provided it in the pending deployment configuration,
46348
+ # without normalization.
46349
+ # @return [Array<Types::AcceleratorPartitionLayout>]
46350
+ #
46305
46351
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PendingProductionVariantSummary AWS API Documentation
46306
46352
  #
46307
46353
  class PendingProductionVariantSummary < Struct.new(
@@ -46318,7 +46364,8 @@ module Aws::SageMaker
46318
46364
  :current_serverless_config,
46319
46365
  :desired_serverless_config,
46320
46366
  :managed_instance_scaling,
46321
- :routing_config)
46367
+ :routing_config,
46368
+ :accelerator_partition_layouts)
46322
46369
  SENSITIVE = []
46323
46370
  include Aws::Structure
46324
46371
  end
@@ -47097,17 +47144,37 @@ module Aws::SageMaker
47097
47144
  # characters from the text content of the messages array.
47098
47145
  #
47099
47146
  # The endpoint routes requests that share the same prefix to the same
47100
- # instance. Set this value to cover shared content (such as system
47101
- # prompts) plus enough unique content to distribute workloads across
47102
- # instances.
47147
+ # instance and, when that instance hosts more than one copy of the
47148
+ # invoked inference component, to the same copy. Set this value to
47149
+ # cover shared content (such as system prompts) plus enough unique
47150
+ # content to distribute workloads across instances and copies.
47103
47151
  # @return [Integer]
47104
47152
  #
47105
47153
  # @!attribute [rw] concurrency_threshold
47106
- # The maximum number of in-flight requests on the target instance
47107
- # before the endpoint routes to another instance. Required when
47108
- # `RoutingStrategy` is `PREFIX_AWARE`. When in-flight requests on the
47109
- # prefix-selected instance reach this threshold, the endpoint routes
47110
- # the request to an instance with more available capacity.
47154
+ # The number of in-flight requests on the selected instance or
47155
+ # inference component copy at which the endpoint routes a request to
47156
+ # another copy or instance. Required when `RoutingStrategy` is
47157
+ # `PREFIX_AWARE`.
47158
+ #
47159
+ # On an endpoint without inference components, the endpoint compares
47160
+ # this threshold with the number of in-flight requests on the selected
47161
+ # instance. When that number reaches the threshold, the endpoint
47162
+ # routes the request to another instance.
47163
+ #
47164
+ # On an endpoint with inference components, the endpoint compares this
47165
+ # threshold with the number of in-flight requests on the selected copy
47166
+ # of the invoked inference component. Requests to other inference
47167
+ # components on the same instance don't count. When the instance
47168
+ # hosts more than one copy of the inference component, the endpoint
47169
+ # routes requests that share a prefix to the same copy and, while that
47170
+ # copy has reached the threshold, to another copy on the instance that
47171
+ # is under the threshold. When every copy on the instance has reached
47172
+ # the threshold, the endpoint routes the request to another instance.
47173
+ #
47174
+ # The threshold applies to every instance and every copy of every
47175
+ # inference component in the production variant, so choose a value
47176
+ # that suits the instance or copy that can serve the fewest concurrent
47177
+ # requests.
47111
47178
  # @return [Integer]
47112
47179
  #
47113
47180
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PrefixAwareRoutingConfig AWS API Documentation
@@ -47934,6 +48001,17 @@ module Aws::SageMaker
47934
48001
  # SageMaker AI reserves for an endpoint.
47935
48002
  # @return [Types::ProductionVariantCapacityReservationConfig]
47936
48003
  #
48004
+ # @!attribute [rw] accelerator_partition_layouts
48005
+ # The accelerator partition layout for the accelerators backing this
48006
+ # production variant. A layout lists the partition profiles to carve
48007
+ # on the accelerators it applies to; on NVIDIA GPUs these are
48008
+ # Multi-Instance GPU (MIG) profiles such as `mig-3g.40gb`. Specify a
48009
+ # single layout: SageMaker applies it uniformly to every accelerator
48010
+ # on the variant's instance type, and you place one inference
48011
+ # component on each partition. Omit this field to use whole,
48012
+ # unpartitioned accelerators.
48013
+ # @return [Array<Types::AcceleratorPartitionLayout>]
48014
+ #
47937
48015
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariant AWS API Documentation
47938
48016
  #
47939
48017
  class ProductionVariant < Struct.new(
@@ -47954,7 +48032,8 @@ module Aws::SageMaker
47954
48032
  :managed_instance_scaling,
47955
48033
  :routing_config,
47956
48034
  :inference_ami_version,
47957
- :capacity_reservation_config)
48035
+ :capacity_reservation_config,
48036
+ :accelerator_partition_layouts)
47958
48037
  SENSITIVE = []
47959
48038
  include Aws::Structure
47960
48039
  end
@@ -48189,10 +48268,13 @@ module Aws::SageMaker
48189
48268
  # instance.
48190
48269
  #
48191
48270
  # * `PREFIX_AWARE`: The endpoint routes requests that share the same
48192
- # prompt prefix to the same instance. When the number of in-flight
48193
- # requests on the selected instance reaches the configured
48194
- # threshold, the endpoint routes the request to an instance with
48195
- # more available capacity.
48271
+ # prompt prefix to the same instance and, when that instance hosts
48272
+ # more than one copy of the invoked inference component, to the same
48273
+ # copy. When the number of in-flight requests on the selected
48274
+ # instance or copy reaches the `ConcurrencyThreshold` value, the
48275
+ # endpoint routes the request to another copy on that instance or to
48276
+ # another instance. The endpoint applies prefix-aware routing only
48277
+ # when two or more instances can serve the request.
48196
48278
  # @return [String]
48197
48279
  #
48198
48280
  # @!attribute [rw] prefix_aware_routing_config
@@ -48377,6 +48459,14 @@ module Aws::SageMaker
48377
48459
  # SageMaker AI reserves for an endpoint.
48378
48460
  # @return [Types::ProductionVariantCapacityReservationSummary]
48379
48461
  #
48462
+ # @!attribute [rw] accelerator_partition_layouts
48463
+ # The accelerator partition layout that SageMaker applies to this
48464
+ # production variant. On NVIDIA GPUs, the profiles are Multi-Instance
48465
+ # GPU (MIG) profiles. SageMaker returns the accelerator partition
48466
+ # layout as you provided it when you created the variant, without
48467
+ # normalization.
48468
+ # @return [Array<Types::AcceleratorPartitionLayout>]
48469
+ #
48380
48470
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariantSummary AWS API Documentation
48381
48471
  #
48382
48472
  class ProductionVariantSummary < Struct.new(
@@ -48392,7 +48482,8 @@ module Aws::SageMaker
48392
48482
  :desired_serverless_config,
48393
48483
  :managed_instance_scaling,
48394
48484
  :routing_config,
48395
- :capacity_reservation_config)
48485
+ :capacity_reservation_config,
48486
+ :accelerator_partition_layouts)
48396
48487
  SENSITIVE = []
48397
48488
  include Aws::Structure
48398
48489
  end
@@ -52155,24 +52246,8 @@ module Aws::SageMaker
52155
52246
  # @!attribute [rw] sequence_length
52156
52247
  # The maximum sequence length, in tokens, that the customization job
52157
52248
  # supports. SageMaker uses this value to select a training
52158
- # configuration for the base model that you specify. The parameter
52159
- # supports the following values:
52160
- #
52161
- # * `1K`
52162
- #
52163
- # * `2K`
52164
- #
52165
- # * `4K`
52166
- #
52167
- # * `8K`
52168
- #
52169
- # * `16K`
52170
- #
52171
- # * `32K`
52172
- #
52173
- # * `64K`
52174
- #
52175
- # * `128K`
52249
+ # configuration for the base model that you specify. The value must be
52250
+ # an integer value from `1K` to `1024K` (for example, `32K`).
52176
52251
  #
52177
52252
  # If you don't specify a value, SageMaker selects a training
52178
52253
  # configuration based on the other values that you specify. The
@@ -55,7 +55,7 @@ module Aws::SageMaker
55
55
  autoload :EndpointProvider, 'aws-sdk-sagemaker/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-sagemaker/endpoints'
57
57
 
58
- GEM_VERSION = '1.406.0'
58
+ GEM_VERSION = '1.407.0'
59
59
 
60
60
  end
61
61
 
data/sig/params.rbs CHANGED
@@ -828,7 +828,12 @@ module Aws
828
828
  capacity_reservation_config: {
829
829
  capacity_reservation_preference: ("capacity-reservations-only")?,
830
830
  ml_reservation_arn: ::String?
831
- }?
831
+ }?,
832
+ accelerator_partition_layouts: Array[
833
+ {
834
+ accelerator_partition_types: Array[::String]?
835
+ }
836
+ ]?
832
837
  }
833
838
 
834
839
  type feature_definition = {
@@ -968,7 +973,8 @@ module Aws
968
973
  number_of_cpu_cores_required: ::Float?,
969
974
  number_of_accelerator_devices_required: ::Float?,
970
975
  min_memory_required_in_mb: ::Integer,
971
- max_memory_required_in_mb: ::Integer?
976
+ max_memory_required_in_mb: ::Integer?,
977
+ accelerator_partition_type: ::String?
972
978
  }?,
973
979
  base_inference_component_name: ::String?,
974
980
  data_cache_config: {
data/sig/types.rbs CHANGED
@@ -271,6 +271,11 @@ module Aws::SageMaker
271
271
  SENSITIVE: []
272
272
  end
273
273
 
274
+ class AcceleratorPartitionLayout
275
+ attr_accessor accelerator_partition_types: ::Array[::String]
276
+ SENSITIVE: []
277
+ end
278
+
274
279
  class ActionSource
275
280
  attr_accessor source_uri: ::String
276
281
  attr_accessor source_type: ::String
@@ -6683,6 +6688,7 @@ module Aws::SageMaker
6683
6688
  attr_accessor number_of_accelerator_devices_required: ::Float
6684
6689
  attr_accessor min_memory_required_in_mb: ::Integer
6685
6690
  attr_accessor max_memory_required_in_mb: ::Integer
6691
+ attr_accessor accelerator_partition_type: ::String
6686
6692
  SENSITIVE: []
6687
6693
  end
6688
6694
 
@@ -9978,6 +9984,7 @@ module Aws::SageMaker
9978
9984
  attr_accessor desired_serverless_config: Types::ProductionVariantServerlessConfig
9979
9985
  attr_accessor managed_instance_scaling: Types::ProductionVariantManagedInstanceScaling
9980
9986
  attr_accessor routing_config: Types::ProductionVariantRoutingConfig
9987
+ attr_accessor accelerator_partition_layouts: ::Array[Types::AcceleratorPartitionLayout]
9981
9988
  SENSITIVE: []
9982
9989
  end
9983
9990
 
@@ -10294,6 +10301,7 @@ module Aws::SageMaker
10294
10301
  attr_accessor routing_config: Types::ProductionVariantRoutingConfig
10295
10302
  attr_accessor inference_ami_version: ("al2-ami-sagemaker-inference-gpu-2" | "al2-ami-sagemaker-inference-gpu-2-1" | "al2-ami-sagemaker-inference-gpu-3-1" | "al2-ami-sagemaker-inference-neuron-2" | "al2023-ami-sagemaker-inference-gpu-4-1")
10296
10303
  attr_accessor capacity_reservation_config: Types::ProductionVariantCapacityReservationConfig
10304
+ attr_accessor accelerator_partition_layouts: ::Array[Types::AcceleratorPartitionLayout]
10297
10305
  SENSITIVE: []
10298
10306
  end
10299
10307
 
@@ -10374,6 +10382,7 @@ module Aws::SageMaker
10374
10382
  attr_accessor managed_instance_scaling: Types::ProductionVariantManagedInstanceScaling
10375
10383
  attr_accessor routing_config: Types::ProductionVariantRoutingConfig
10376
10384
  attr_accessor capacity_reservation_config: Types::ProductionVariantCapacityReservationSummary
10385
+ attr_accessor accelerator_partition_layouts: ::Array[Types::AcceleratorPartitionLayout]
10377
10386
  SENSITIVE: []
10378
10387
  end
10379
10388
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sagemaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.406.0
4
+ version: 1.407.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services