Class: Aws::SageMaker::Types::ComputeQuotaResourceConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::ComputeQuotaResourceConfig
- Defined in:
- gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb
Overview
Configuration of the resources used for the compute allocation definition.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#accelerator_partition ⇒ Types::AcceleratorPartitionConfig
The accelerator partition configuration for fractional GPU allocation.
-
#accelerators ⇒ Integer
The number of accelerators to allocate.
-
#count ⇒ Integer
The number of instances to add to the instance group of a SageMaker HyperPod cluster.
-
#instance_type ⇒ String
The instance type of the instance group for the cluster.
-
#memory_in_gi_b ⇒ Float
The amount of memory in GiB to allocate.
-
#v_cpu ⇒ Float
The number of vCPU to allocate.
Instance Attribute Details
#accelerator_partition ⇒ Types::AcceleratorPartitionConfig
The accelerator partition configuration for fractional GPU allocation.
7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 7157 class ComputeQuotaResourceConfig < Struct.new( :instance_type, :count, :accelerators, :v_cpu, :memory_in_gi_b, :accelerator_partition) SENSITIVE = [] include Aws::Structure end |
#accelerators ⇒ Integer
The number of accelerators to allocate. If you don't specify a value for vCPU and MemoryInGiB, SageMaker AI automatically allocates ratio-based values for those parameters based on the number of accelerators you provide. For example, if you allocate 16 out of 32 total accelerators, SageMaker AI uses the ratio of 0.5 and allocates values to vCPU and MemoryInGiB.
7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 7157 class ComputeQuotaResourceConfig < Struct.new( :instance_type, :count, :accelerators, :v_cpu, :memory_in_gi_b, :accelerator_partition) SENSITIVE = [] include Aws::Structure end |
#count ⇒ Integer
The number of instances to add to the instance group of a SageMaker HyperPod cluster.
7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 7157 class ComputeQuotaResourceConfig < Struct.new( :instance_type, :count, :accelerators, :v_cpu, :memory_in_gi_b, :accelerator_partition) SENSITIVE = [] include Aws::Structure end |
#instance_type ⇒ String
The instance type of the instance group for the cluster.
7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 7157 class ComputeQuotaResourceConfig < Struct.new( :instance_type, :count, :accelerators, :v_cpu, :memory_in_gi_b, :accelerator_partition) SENSITIVE = [] include Aws::Structure end |
#memory_in_gi_b ⇒ Float
The amount of memory in GiB to allocate. If you specify a value only for this parameter, SageMaker AI automatically allocates a ratio-based value for vCPU based on this memory that you provide. For example, if you allocate 200 out of 400 total memory in GiB, SageMaker AI uses the ratio of 0.5 and allocates values to vCPU. Accelerators are set to 0.
7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 7157 class ComputeQuotaResourceConfig < Struct.new( :instance_type, :count, :accelerators, :v_cpu, :memory_in_gi_b, :accelerator_partition) SENSITIVE = [] include Aws::Structure end |
#v_cpu ⇒ Float
The number of vCPU to allocate. If you specify a value only for vCPU, SageMaker AI automatically allocates ratio-based values for MemoryInGiB based on this vCPU parameter. For example, if you allocate 20 out of 40 total vCPU, SageMaker AI uses the ratio of 0.5 and allocates values to MemoryInGiB. Accelerators are set to 0.
7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 7157 class ComputeQuotaResourceConfig < Struct.new( :instance_type, :count, :accelerators, :v_cpu, :memory_in_gi_b, :accelerator_partition) SENSITIVE = [] include Aws::Structure end |