Interface ComputeQuotaResourceConfig.Builder

  • Method Details

    • instanceType

      ComputeQuotaResourceConfig.Builder instanceType(String 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

      ComputeQuotaResourceConfig.Builder accelerators(Integer 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

      ComputeQuotaResourceConfig.Builder memoryInGiB(Float 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.