Class: Aws::SageMaker::Types::InferenceComponentComputeResourceRequirements
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::InferenceComponentComputeResourceRequirements
- Defined in:
- gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb
Overview
Defines the compute resources to allocate to run a model, plus any adapter models, that you assign to an inference component. These resources include CPU cores, accelerators, and memory.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#max_memory_required_in_mb ⇒ Integer
The maximum MB of memory to allocate to run a model that you assign to an inference component.
-
#min_memory_required_in_mb ⇒ Integer
The minimum MB of memory to allocate to run a model that you assign to an inference component.
-
#number_of_accelerator_devices_required ⇒ Float
The number of accelerators to allocate to run a model that you assign to an inference component.
-
#number_of_cpu_cores_required ⇒ Float
The number of CPU cores to allocate to run a model that you assign to an inference component.
Instance Attribute Details
#max_memory_required_in_mb ⇒ Integer
The maximum MB of memory to allocate to run a model that you assign to an inference component.
25322 25323 25324 25325 25326 25327 25328 25329 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 25322 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_mb ⇒ Integer
The minimum MB of memory to allocate to run a model that you assign to an inference component.
25322 25323 25324 25325 25326 25327 25328 25329 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 25322 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_required ⇒ Float
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.
25322 25323 25324 25325 25326 25327 25328 25329 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 25322 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_required ⇒ Float
The number of CPU cores to allocate to run a model that you assign to an inference component.
25322 25323 25324 25325 25326 25327 25328 25329 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 25322 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 |