Interface ComputeQuotaResourceConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComputeQuotaResourceConfig.Builder,
,ComputeQuotaResourceConfig> SdkBuilder<ComputeQuotaResourceConfig.Builder,
,ComputeQuotaResourceConfig> SdkPojo
- Enclosing class:
ComputeQuotaResourceConfig
-
Method Summary
Modifier and TypeMethodDescriptionaccelerators
(Integer accelerators) The number of accelerators to allocate.The number of instances to add to the instance group of a SageMaker HyperPod cluster.instanceType
(String instanceType) The instance type of the instance group for the cluster.instanceType
(ClusterInstanceType instanceType) The instance type of the instance group for the cluster.memoryInGiB
(Float memoryInGiB) The amount of memory in GiB to allocate.The number of vCPU to allocate.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
instanceType
The instance type of the instance group for the cluster.
- Parameters:
instanceType
- The instance type of the instance group for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The instance type of the instance group for the cluster.
- Parameters:
instanceType
- The instance type of the instance group for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
count
The number of instances to add to the instance group of a SageMaker HyperPod cluster.
- Parameters:
count
- The number of instances to add to the instance group of a SageMaker HyperPod cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accelerators
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.
- Parameters:
accelerators
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vCpu
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.
- Parameters:
vCpu
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryInGiB
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.
- Parameters:
memoryInGiB
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-