MachineSpec class final

Specification of a single machine.

Inheritance
  • Object
  • ProtoMessage
  • MachineSpec

Constructors

MachineSpec({String machineType = '', AcceleratorType acceleratorType = AcceleratorType.$default, int acceleratorCount = 0, String gpuPartitionSize = '', String tpuTopology = '', int multihostGpuNodeCount = 0, ReservationAffinity? reservationAffinity})
MachineSpec.fromJson(Object? j)
factory

Properties

acceleratorCount int
The number of accelerators to attach to the machine.
final
acceleratorType AcceleratorType
Immutable. The type of accelerator(s) that may be attached to the machine as per accelerator_count.
final
gpuPartitionSize String
Optional. Immutable. The Nvidia GPU partition size.
final
hashCode int
The hash code for this object.
no setterinherited
machineType String
Immutable. The type of the machine.
final
multihostGpuNodeCount int
Optional. Immutable. The number of nodes per replica for multihost GPU deployments.
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
reservationAffinity ReservationAffinity?
Optional. Immutable. Configuration controlling how this resource pool consumes reservation.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tpuTopology String
Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: "2x2x1").
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String