Skip to content

Commit 7e795c4

Browse files
Google APIscopybara-github
authored andcommitted
feat: allowing users to specify the version id of the Model Garden model
feat: allowing users to choose whether to use the hf model cache PiperOrigin-RevId: 733750388
1 parent ada88fe commit 7e795c4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

google/cloud/aiplatform/v1beta1/model.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,12 @@ message LargeModelReference {
452452
message ModelGardenSource {
453453
// Required. The model garden source model resource name.
454454
string public_model_name = 1 [(google.api.field_behavior) = REQUIRED];
455+
456+
// Optional. The model garden source model version ID.
457+
string version_id = 3 [(google.api.field_behavior) = OPTIONAL];
458+
459+
// Optional. Whether to avoid pulling the model from the HF cache.
460+
bool skip_hf_model_cache = 4 [(google.api.field_behavior) = OPTIONAL];
455461
}
456462

457463
// Contains information about the source of the models generated from Generative

0 commit comments

Comments
 (0)