Skip to content

Commit

Permalink
feat: enable QueuedResources in us-east5
Browse files Browse the repository at this point in the history
feat: add multislice_node flag

PiperOrigin-RevId: 550674209
  • Loading branch information
Google APIs authored and copybara-github committed Jul 24, 2023
1 parent a2223b1 commit 2ad3b4c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions google/cloud/tpu/v2/cloud_tpu.proto
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,8 @@ message Node {
// The user-supplied description of the TPU. Maximum of 512 characters.
string description = 3;

// Required. The type of hardware accelerators associated with this node.
string accelerator_type = 5 [(google.api.field_behavior) = REQUIRED];
// Optional. The type of hardware accelerators associated with this node.
string accelerator_type = 5 [(google.api.field_behavior) = OPTIONAL];

// Output only. The current state for the TPU Node.
State state = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
Expand Down Expand Up @@ -463,6 +463,13 @@ message Node {

// The AccleratorConfig for the TPU Node.
AcceleratorConfig accelerator_config = 46;

// Output only. The qualified name of the QueuedResource that requested this
// Node.
string queued_resource = 47 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Whether the Node belongs to a Multislice group.
bool multislice_node = 48 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Request for [ListNodes][google.cloud.tpu.v2.Tpu.ListNodes].
Expand Down Expand Up @@ -592,7 +599,7 @@ message AcceleratorType {
// The resource name.
string name = 1;

// the accelerator type.
// The accelerator type.
string type = 2;

// The accelerator config.
Expand Down

0 comments on commit 2ad3b4c

Please sign in to comment.