Skip to content

Commit ec771cb

Browse files
Google APIscopybara-github
authored andcommitted
feat: add the VeoTuningSpec
PiperOrigin-RevId: 788536453
1 parent bc2022d commit ec771cb

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

google/cloud/aiplatform/v1beta1/tuning_job.proto

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ message TuningJob {
5757

5858
// Tuning Spec for open sourced and third party Partner models.
5959
PartnerModelTuningSpec partner_model_tuning_spec = 21;
60+
61+
// Tuning Spec for Veo Tuning.
62+
VeoTuningSpec veo_tuning_spec = 33;
6063
}
6164

6265
// Output only. Identifier. Resource name of a TuningJob. Format:
@@ -577,6 +580,48 @@ message TunedModelRef {
577580
}
578581
}
579582

583+
// Hyperparameters for Veo.
584+
message VeoHyperParameters {
585+
// An enum defining the tuning task used for Veo.
586+
enum TuningTask {
587+
// Default value. This value is unused.
588+
TUNING_TASK_UNSPECIFIED = 0;
589+
590+
// Tuning task for image to video.
591+
TUNING_TASK_I2V = 1;
592+
593+
// Tuning task for text to video.
594+
TUNING_TASK_T2V = 2;
595+
}
596+
597+
// Optional. Number of complete passes the model makes over the entire
598+
// training dataset during training.
599+
int64 epoch_count = 1 [(google.api.field_behavior) = OPTIONAL];
600+
601+
// Optional. Multiplier for adjusting the default learning rate.
602+
double learning_rate_multiplier = 2 [(google.api.field_behavior) = OPTIONAL];
603+
604+
// Optional. The tuning task. Either I2V or T2V.
605+
TuningTask tuning_task = 3 [(google.api.field_behavior) = OPTIONAL];
606+
}
607+
608+
// Tuning Spec for Veo Model Tuning.
609+
message VeoTuningSpec {
610+
// Required. Training dataset used for tuning. The dataset can be specified as
611+
// either a Cloud Storage path to a JSONL file or as the resource name of a
612+
// Vertex Multimodal Dataset.
613+
string training_dataset_uri = 1 [(google.api.field_behavior) = REQUIRED];
614+
615+
// Optional. Validation dataset used for tuning. The dataset can be specified
616+
// as either a Cloud Storage path to a JSONL file or as the resource name of a
617+
// Vertex Multimodal Dataset.
618+
string validation_dataset_uri = 2 [(google.api.field_behavior) = OPTIONAL];
619+
620+
// Optional. Hyperparameters for Veo.
621+
VeoHyperParameters hyper_parameters = 3
622+
[(google.api.field_behavior) = OPTIONAL];
623+
}
624+
580625
// TunedModelCheckpoint for the Tuned Model of a Tuning Job.
581626
message TunedModelCheckpoint {
582627
// The ID of the checkpoint.

0 commit comments

Comments
 (0)