Class: Aws::SageMaker::Types::ProductionVariant

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

Identifies a model that you want to host and the resources chosen to deploy for hosting it. If you are deploying multiple models, tell SageMaker how to distribute traffic among the models by specifying variant weights.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accelerator_typeString

The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.

Returns:

  • (String)


31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 31452

class ProductionVariant < Struct.new(
  :variant_name,
  :model_name,
  :initial_instance_count,
  :instance_type,
  :initial_variant_weight,
  :accelerator_type,
  :core_dump_config,
  :serverless_config,
  :volume_size_in_gb,
  :model_data_download_timeout_in_seconds,
  :container_startup_health_check_timeout_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#container_startup_health_check_timeout_in_secondsInteger

The timeout value, in seconds, for your inference container to pass health check by SageMaker Hosting. For more information about health check, see How Your Container Should Respond to Health Check (Ping) Requests.

Returns:

  • (Integer)


31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 31452

class ProductionVariant < Struct.new(
  :variant_name,
  :model_name,
  :initial_instance_count,
  :instance_type,
  :initial_variant_weight,
  :accelerator_type,
  :core_dump_config,
  :serverless_config,
  :volume_size_in_gb,
  :model_data_download_timeout_in_seconds,
  :container_startup_health_check_timeout_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#core_dump_configTypes::ProductionVariantCoreDumpConfig

Specifies configuration for a core dump from the model container when the process crashes.



31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 31452

class ProductionVariant < Struct.new(
  :variant_name,
  :model_name,
  :initial_instance_count,
  :instance_type,
  :initial_variant_weight,
  :accelerator_type,
  :core_dump_config,
  :serverless_config,
  :volume_size_in_gb,
  :model_data_download_timeout_in_seconds,
  :container_startup_health_check_timeout_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#initial_instance_countInteger

Number of instances to launch initially.

Returns:

  • (Integer)


31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 31452

class ProductionVariant < Struct.new(
  :variant_name,
  :model_name,
  :initial_instance_count,
  :instance_type,
  :initial_variant_weight,
  :accelerator_type,
  :core_dump_config,
  :serverless_config,
  :volume_size_in_gb,
  :model_data_download_timeout_in_seconds,
  :container_startup_health_check_timeout_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#initial_variant_weightFloat

Determines initial traffic distribution among all of the models that you specify in the endpoint configuration. The traffic to a production variant is determined by the ratio of the VariantWeight to the sum of all VariantWeight values across all ProductionVariants. If unspecified, it defaults to 1.0.

Returns:

  • (Float)


31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 31452

class ProductionVariant < Struct.new(
  :variant_name,
  :model_name,
  :initial_instance_count,
  :instance_type,
  :initial_variant_weight,
  :accelerator_type,
  :core_dump_config,
  :serverless_config,
  :volume_size_in_gb,
  :model_data_download_timeout_in_seconds,
  :container_startup_health_check_timeout_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#instance_typeString

The ML compute instance type.

Returns:

  • (String)


31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 31452

class ProductionVariant < Struct.new(
  :variant_name,
  :model_name,
  :initial_instance_count,
  :instance_type,
  :initial_variant_weight,
  :accelerator_type,
  :core_dump_config,
  :serverless_config,
  :volume_size_in_gb,
  :model_data_download_timeout_in_seconds,
  :container_startup_health_check_timeout_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#model_data_download_timeout_in_secondsInteger

The timeout value, in seconds, to download and extract the model that you want to host from Amazon S3 to the individual inference instance associated with this production variant.

Returns:

  • (Integer)


31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 31452

class ProductionVariant < Struct.new(
  :variant_name,
  :model_name,
  :initial_instance_count,
  :instance_type,
  :initial_variant_weight,
  :accelerator_type,
  :core_dump_config,
  :serverless_config,
  :volume_size_in_gb,
  :model_data_download_timeout_in_seconds,
  :container_startup_health_check_timeout_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#model_nameString

The name of the model that you want to host. This is the name that you specified when creating the model.

Returns:

  • (String)


31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 31452

class ProductionVariant < Struct.new(
  :variant_name,
  :model_name,
  :initial_instance_count,
  :instance_type,
  :initial_variant_weight,
  :accelerator_type,
  :core_dump_config,
  :serverless_config,
  :volume_size_in_gb,
  :model_data_download_timeout_in_seconds,
  :container_startup_health_check_timeout_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#serverless_configTypes::ProductionVariantServerlessConfig

The serverless configuration for an endpoint. Specifies a serverless endpoint configuration instead of an instance-based endpoint configuration.



31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 31452

class ProductionVariant < Struct.new(
  :variant_name,
  :model_name,
  :initial_instance_count,
  :instance_type,
  :initial_variant_weight,
  :accelerator_type,
  :core_dump_config,
  :serverless_config,
  :volume_size_in_gb,
  :model_data_download_timeout_in_seconds,
  :container_startup_health_check_timeout_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#variant_nameString

The name of the production variant.

Returns:

  • (String)


31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 31452

class ProductionVariant < Struct.new(
  :variant_name,
  :model_name,
  :initial_instance_count,
  :instance_type,
  :initial_variant_weight,
  :accelerator_type,
  :core_dump_config,
  :serverless_config,
  :volume_size_in_gb,
  :model_data_download_timeout_in_seconds,
  :container_startup_health_check_timeout_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#volume_size_in_gbInteger

The size, in GB, of the ML storage volume attached to individual inference instance associated with the production variant. Currently only Amazon EBS gp2 storage volumes are supported.

Returns:

  • (Integer)


31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 31452

class ProductionVariant < Struct.new(
  :variant_name,
  :model_name,
  :initial_instance_count,
  :instance_type,
  :initial_variant_weight,
  :accelerator_type,
  :core_dump_config,
  :serverless_config,
  :volume_size_in_gb,
  :model_data_download_timeout_in_seconds,
  :container_startup_health_check_timeout_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end