Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ProductionVariant

import type { ProductionVariant } from "https://aws-api.deno.dev/v0.4/services/sagemaker.ts?docs=full";

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.

interface ProductionVariant {
AcceleratorType?: ProductionVariantAcceleratorType | null;
ContainerStartupHealthCheckTimeoutInSeconds?: number | null;
CoreDumpConfig?: ProductionVariantCoreDumpConfig | null;
InitialInstanceCount?: number | null;
InitialVariantWeight?: number | null;
InstanceType?: ProductionVariantInstanceType | null;
ModelDataDownloadTimeoutInSeconds?: number | null;
ModelName: string;
ServerlessConfig?: ProductionVariantServerlessConfig | null;
VariantName: string;
VolumeSizeInGB?: number | null;
}

§Properties

§
AcceleratorType?: ProductionVariantAcceleratorType | null
[src]

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.

§
ContainerStartupHealthCheckTimeoutInSeconds?: number | null
[src]

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.

§
CoreDumpConfig?: ProductionVariantCoreDumpConfig | null
[src]

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

§
InitialInstanceCount?: number | null
[src]

Number of instances to launch initially.

§
InitialVariantWeight?: number | null
[src]

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.

§

The ML compute instance type.

§
ModelDataDownloadTimeoutInSeconds?: number | null
[src]

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.

§
ModelName: string
[src]

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

§
ServerlessConfig?: ProductionVariantServerlessConfig | null
[src]

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

§
VariantName: string
[src]

The name of the production variant.

§
VolumeSizeInGB?: number | null
[src]

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.