AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Configuration of the resources used for the compute allocation definition.

Inheritance Hierarchy

System.Object
  Amazon.SageMaker.Model.ComputeQuotaResourceConfig

Namespace: Amazon.SageMaker.Model
Assembly: AWSSDK.SageMaker.dll
Version: 3.x.y.z

Syntax

C#
public class ComputeQuotaResourceConfig

The ComputeQuotaResourceConfig type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Accelerators System.Int32

Gets and sets the property 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.

Public Property Count System.Int32

Gets and sets the property Count.

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

Public Property InstanceType Amazon.SageMaker.ClusterInstanceType

Gets and sets the property InstanceType.

The instance type of the instance group for the cluster.

Public Property MemoryInGiB System.Single

Gets and sets the property 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.

Public Property VCpu System.Single

Gets and sets the property 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.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5