Skip to content

/AWS1/CL_SGMCOMPUTEQUOTARESR00

Configuration of the resources used for the compute allocation definition.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_instancetype TYPE /AWS1/SGMCLUSTERINSTANCETYPE /AWS1/SGMCLUSTERINSTANCETYPE

The instance type of the instance group for the cluster.

Optional arguments:

iv_count TYPE /AWS1/SGMINSTANCECOUNT /AWS1/SGMINSTANCECOUNT

The number of instances to add to the instance group of a SageMaker HyperPod cluster.

iv_accelerators TYPE /AWS1/SGMACCELERATORSAMOUNT /AWS1/SGMACCELERATORSAMOUNT

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.

iv_vcpu TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING

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.

iv_memoryingib TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING

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.


Queryable Attributes

InstanceType

The instance type of the instance group for the cluster.

Accessible with the following methods

Method Description
GET_INSTANCETYPE() Getter for INSTANCETYPE, with configurable default
ASK_INSTANCETYPE() Getter for INSTANCETYPE w/ exceptions if field has no value
HAS_INSTANCETYPE() Determine if INSTANCETYPE has a value

Count

The number of instances to add to the instance group of a SageMaker HyperPod cluster.

Accessible with the following methods

Method Description
GET_COUNT() Getter for COUNT, with configurable default
ASK_COUNT() Getter for COUNT w/ exceptions if field has no value
HAS_COUNT() Determine if COUNT has a value

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.

Accessible with the following methods

Method Description
GET_ACCELERATORS() Getter for ACCELERATORS, with configurable default
ASK_ACCELERATORS() Getter for ACCELERATORS w/ exceptions if field has no value
HAS_ACCELERATORS() Determine if ACCELERATORS has a value

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.

Accessible with the following methods

Method Description
GET_VCPU() Getter for VCPU, with configurable default
ASK_VCPU() Getter for VCPU w/ exceptions if field has no value
STR_VCPU() String format for VCPU, with configurable default
HAS_VCPU() Determine if VCPU has a value

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.

Accessible with the following methods

Method Description
GET_MEMORYINGIB() Getter for MEMORYINGIB, with configurable default
ASK_MEMORYINGIB() Getter for MEMORYINGIB w/ exceptions if field has no value
STR_MEMORYINGIB() String format for MEMORYINGIB, with configurable default
HAS_MEMORYINGIB() Determine if MEMORYINGIB has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_COMPUTEQUOTARESOURCECFGLIST

TYPES TT_COMPUTEQUOTARESOURCECFGLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_SGMCOMPUTEQUOTARESR00 WITH DEFAULT KEY
.