production_variant | R Documentation |
This is also part of a “CreateEndpointConfig“ request.
production_variant( model_name, instance_type = NULL, initial_instance_count = NULL, variant_name = "AllTraffic", initial_weight = 1, accelerator_type = NULL, serverless_inference_config = NULL )
model_name |
(str): The name of the SageMaker model this production variant references. |
instance_type |
(str): The EC2 instance type for this production variant. For example, ml.c4.8xlarge'. |
initial_instance_count |
(int): The initial instance count for this production variant (default: 1). |
variant_name |
(string): The “VariantName“ of this production variant (default: 'AllTraffic'). |
initial_weight |
(int): The relative “InitialVariantWeight“ of this production variant (default: 1). |
accelerator_type |
(str): Type of Elastic Inference accelerator for this production variant. For example, 'ml.eia1.medium'. For more information: https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html |
serverless_inference_config |
(list): Specifies configuration dict related to serverless endpoint. The dict is converted from sagemaker.model_monitor.ServerlessInferenceConfig object (default: None) |
dict[str, str]: An SageMaker “ProductionVariant“ description
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.