Values_0.ComputeQuotaResourceConfigSourceConfiguration of the resources used for the compute allocation definition.
type nonrec t = {instanceType : ClusterInstanceType.t;The instance type of the instance group for the cluster.
*)count : InstanceCount.t option;The number of instances to add to the instance group of a SageMaker HyperPod cluster.
*)accelerators : AcceleratorsAmount.t option;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.
*)vCpu : VCpuAmount.t option;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.
*)memoryInGiB : MemoryInGiBAmount.t option;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.
*)acceleratorPartition : AcceleratorPartitionConfig.t option;The accelerator partition configuration for fractional GPU allocation.
*)}val make :
?count:??? ->
?accelerators:??? ->
?vCpu:??? ->
?memoryInGiB:??? ->
?acceleratorPartition:??? ->
instanceType:ClusterInstanceType.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Float of VCpuAmount.t
| `Integer of InstanceCount.t
| `Structure of
(string
* [> `Enum of string
| `Integer of AcceleratorPartitionConfigCountInteger.t ])
list ])
list ]