Cloud AI Platform v1 API - Class MachineSpec (2.23.0)

public sealed class MachineSpec : IMessage<MachineSpec>, IEquatable<MachineSpec>, IDeepCloneable<MachineSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class MachineSpec.

Specification of a single machine.

Inheritance

object > MachineSpec

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

MachineSpec()

public MachineSpec()

MachineSpec(MachineSpec)

public MachineSpec(MachineSpec other)
Parameter
NameDescription
otherMachineSpec

Properties

AcceleratorCount

public int AcceleratorCount { get; set; }

The number of accelerators to attach to the machine.

Property Value
TypeDescription
int

AcceleratorType

public AcceleratorType AcceleratorType { get; set; }

Immutable. The type of accelerator(s) that may be attached to the machine as per [accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count].

Property Value
TypeDescription
AcceleratorType

MachineType

public string MachineType { get; set; }

Immutable. The type of the machine.

See the list of machine types supported for prediction

See the list of machine types supported for custom training.

For [DeployedModel][google.cloud.aiplatform.v1.DeployedModel] this field is optional, and the default value is n1-standard-2. For [BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob] or as part of [WorkerPoolSpec][google.cloud.aiplatform.v1.WorkerPoolSpec] this field is required.

Property Value
TypeDescription
string

TpuTopology

public string TpuTopology { get; set; }

Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: "2x2x1").

Property Value
TypeDescription
string