Skip to content

Commit 245c4f5

Browse files
Google APIscopybara-github
authored andcommitted
feat: Model Registry Model Checkpoint API
PiperOrigin-RevId: 750313610
1 parent 3da50fd commit 245c4f5

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

google/cloud/aiplatform/v1/model.proto

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

479479
// Output only. Reserved for future use.
480480
bool satisfies_pzi = 52 [(google.api.field_behavior) = OUTPUT_ONLY];
481+
482+
// Optional. Output only. The checkpoints of the model.
483+
repeated Checkpoint checkpoints = 57 [
484+
(google.api.field_behavior) = OUTPUT_ONLY,
485+
(google.api.field_behavior) = OPTIONAL
486+
];
481487
}
482488

483489
// Contains information about the Large Model.
@@ -972,3 +978,15 @@ message Probe {
972978
// Maps to Kubernetes probe argument 'initialDelaySeconds'.
973979
int32 initial_delay_seconds = 9;
974980
}
981+
982+
// Describes the machine learning model version checkpoint.
983+
message Checkpoint {
984+
// The ID of the checkpoint.
985+
string checkpoint_id = 1;
986+
987+
// The epoch of the checkpoint.
988+
int64 epoch = 2;
989+
990+
// The step of the checkpoint.
991+
int64 step = 3;
992+
}

0 commit comments

Comments
 (0)