Skip to content

Commit 7473ce1

Browse files
Google APIscopybara-github
authored andcommitted
feat: Model Registry Model Checkpoint API
PiperOrigin-RevId: 748459487
1 parent 220b029 commit 7473ce1

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

google/cloud/aiplatform/v1beta1/model.proto

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,12 @@ message Model {
437437

438438
// Output only. Reserved for future use.
439439
bool satisfies_pzi = 52 [(google.api.field_behavior) = OUTPUT_ONLY];
440+
441+
// Optional. Output only. The checkpoints of the model.
442+
repeated Checkpoint checkpoints = 57 [
443+
(google.api.field_behavior) = OUTPUT_ONLY,
444+
(google.api.field_behavior) = OPTIONAL
445+
];
440446
}
441447

442448
// Contains information about the Large Model.
@@ -938,3 +944,15 @@ message Probe {
938944
// Maps to Kubernetes probe argument 'initialDelaySeconds'.
939945
int32 initial_delay_seconds = 9;
940946
}
947+
948+
// Describes the machine learning model version checkpoint.
949+
message Checkpoint {
950+
// The ID of the checkpoint.
951+
string checkpoint_id = 1;
952+
953+
// The epoch of the checkpoint.
954+
int64 epoch = 2;
955+
956+
// The step of the checkpoint.
957+
int64 step = 3;
958+
}

0 commit comments

Comments
 (0)