Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ProductionVariant = ProductionVariant' {}
- newProductionVariant :: Text -> Text -> Natural -> ProductionVariantInstanceType -> ProductionVariant
- productionVariant_acceleratorType :: Lens' ProductionVariant (Maybe ProductionVariantAcceleratorType)
- productionVariant_coreDumpConfig :: Lens' ProductionVariant (Maybe ProductionVariantCoreDumpConfig)
- productionVariant_initialVariantWeight :: Lens' ProductionVariant (Maybe Double)
- productionVariant_variantName :: Lens' ProductionVariant Text
- productionVariant_modelName :: Lens' ProductionVariant Text
- productionVariant_initialInstanceCount :: Lens' ProductionVariant Natural
- productionVariant_instanceType :: Lens' ProductionVariant ProductionVariantInstanceType
Documentation
data ProductionVariant Source #
Identifies a model that you want to host and the resources chosen to deploy for hosting it. If you are deploying multiple models, tell Amazon SageMaker how to distribute traffic among the models by specifying variant weights.
See: newProductionVariant
smart constructor.
ProductionVariant' | |
|
Instances
Create a value of ProductionVariant
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:acceleratorType:ProductionVariant'
, productionVariant_acceleratorType
- 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.
$sel:coreDumpConfig:ProductionVariant'
, productionVariant_coreDumpConfig
- Specifies configuration for a core dump from the model container when
the process crashes.
$sel:initialVariantWeight:ProductionVariant'
, productionVariant_initialVariantWeight
- 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.
$sel:variantName:ProductionVariant'
, productionVariant_variantName
- The name of the production variant.
$sel:modelName:ProductionVariant'
, productionVariant_modelName
- The name of the model that you want to host. This is the name that you
specified when creating the model.
$sel:initialInstanceCount:ProductionVariant'
, productionVariant_initialInstanceCount
- Number of instances to launch initially.
$sel:instanceType:ProductionVariant'
, productionVariant_instanceType
- The ML compute instance type.
productionVariant_acceleratorType :: Lens' ProductionVariant (Maybe ProductionVariantAcceleratorType) Source #
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.
productionVariant_coreDumpConfig :: Lens' ProductionVariant (Maybe ProductionVariantCoreDumpConfig) Source #
Specifies configuration for a core dump from the model container when the process crashes.
productionVariant_initialVariantWeight :: Lens' ProductionVariant (Maybe Double) Source #
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.
productionVariant_variantName :: Lens' ProductionVariant Text Source #
The name of the production variant.
productionVariant_modelName :: Lens' ProductionVariant Text Source #
The name of the model that you want to host. This is the name that you specified when creating the model.
productionVariant_initialInstanceCount :: Lens' ProductionVariant Natural Source #
Number of instances to launch initially.
productionVariant_instanceType :: Lens' ProductionVariant ProductionVariantInstanceType Source #
The ML compute instance type.