MultiNodeParams(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Parameters to specify for multi-node QueuedResource requests. This field must be populated in case of multi-node requests instead of node_id. It's an error to specify both node_id and multi_node_params.
Attributes |
|
---|---|
Name | Description |
node_count |
int
Required. Number of nodes with this spec. The system will attempt to provison "node_count" nodes as part of the request. This needs to be > 1. |
node_id_prefix |
str
Prefix of node_ids in case of multi-node request Should follow the ^[A-Za-z0-9_. +%-]+$` regex format. If
node_count = 3 and node_id_prefix = "np", node ids of nodes
created will be "np-0", "np-1", "np-2". If this field is not
provided we use queued_resource_id as the node_id_prefix.
|
workload_type |
google.cloud.tpu_v2alpha1.types.QueuedResource.Tpu.NodeSpec.MultiNodeParams.WorkloadType
Optional. The workload type for the multi-node request. |
Classes
WorkloadType
WorkloadType(value)
The workload type for the multi-node request.