InferenceComponentComputeResourceRequirementsArgs

data class InferenceComponentComputeResourceRequirementsArgs(val maxMemoryRequiredInMb: Output<Int>? = null, val minMemoryRequiredInMb: Output<Int>? = null, val numberOfAcceleratorDevicesRequired: Output<Double>? = null, val numberOfCpuCoresRequired: Output<Double>? = null) : ConvertibleToJava<InferenceComponentComputeResourceRequirementsArgs>

Constructors

constructor(maxMemoryRequiredInMb: Output<Int>? = null, minMemoryRequiredInMb: Output<Int>? = null, numberOfAcceleratorDevicesRequired: Output<Double>? = null, numberOfCpuCoresRequired: Output<Double>? = null)

Properties

Link copied to clipboard
val maxMemoryRequiredInMb: Output<Int>? = null

The maximum MB of memory to allocate to run a model that you assign to an inference component.

Link copied to clipboard
val minMemoryRequiredInMb: Output<Int>? = null

The minimum MB of memory to allocate to run a model that you assign to an inference component.

Link copied to clipboard

The number of accelerators to allocate to run a model that you assign to an inference component. Accelerators include GPUs and AWS Inferentia.

Link copied to clipboard
val numberOfCpuCoresRequired: Output<Double>? = null

The number of CPU cores to allocate to run a model that you assign to an inference component.

Functions

Link copied to clipboard
open override fun toJava(): InferenceComponentComputeResourceRequirementsArgs