AcceleratorType

class aws_cdk.aws_stepfunctions_tasks.AcceleratorType(instance_type_identifier)

Bases: object

The size of the Elastic Inference (EI) instance to use for the production variant.

EI instances provide on-demand GPU computing for inference

See

https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html

Parameters

instance_type_identifier (str) –

Methods

to_string()

Return the accelerator type as a dotted string.

Return type

str

Static Methods

classmethod of(accelerator_class, instance_size)

AcceleratorType.

This class takes a combination of a class and size.

Parameters
Return type

AcceleratorType