Class: Aws::SageMaker::Types::InferenceComponentComputeResourceRequirements

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sagemaker/types.rb

Overview

Defines the compute resources to allocate to run a model that you assign to an inference component. These resources include CPU cores, accelerators, and memory.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_memory_required_in_mbInteger

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

Returns:

  • (Integer)


22864
22865
22866
22867
22868
22869
22870
22871
# File 'lib/aws-sdk-sagemaker/types.rb', line 22864

class InferenceComponentComputeResourceRequirements < Struct.new(
  :number_of_cpu_cores_required,
  :number_of_accelerator_devices_required,
  :min_memory_required_in_mb,
  :max_memory_required_in_mb)
  SENSITIVE = []
  include Aws::Structure
end

#min_memory_required_in_mbInteger

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

Returns:

  • (Integer)


22864
22865
22866
22867
22868
22869
22870
22871
# File 'lib/aws-sdk-sagemaker/types.rb', line 22864

class InferenceComponentComputeResourceRequirements < Struct.new(
  :number_of_cpu_cores_required,
  :number_of_accelerator_devices_required,
  :min_memory_required_in_mb,
  :max_memory_required_in_mb)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_accelerator_devices_requiredFloat

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

Returns:

  • (Float)


22864
22865
22866
22867
22868
22869
22870
22871
# File 'lib/aws-sdk-sagemaker/types.rb', line 22864

class InferenceComponentComputeResourceRequirements < Struct.new(
  :number_of_cpu_cores_required,
  :number_of_accelerator_devices_required,
  :min_memory_required_in_mb,
  :max_memory_required_in_mb)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_cpu_cores_requiredFloat

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

Returns:

  • (Float)


22864
22865
22866
22867
22868
22869
22870
22871
# File 'lib/aws-sdk-sagemaker/types.rb', line 22864

class InferenceComponentComputeResourceRequirements < Struct.new(
  :number_of_cpu_cores_required,
  :number_of_accelerator_devices_required,
  :min_memory_required_in_mb,
  :max_memory_required_in_mb)
  SENSITIVE = []
  include Aws::Structure
end